org.exoplatform.container.util
Class ContainerUtil
java.lang.Object
org.exoplatform.container.util.ContainerUtil
public class ContainerUtil
- extends Object
- Since:
- Oct 28, 2004
- Version:
- $Id: ContainerUtil.java 9894 2006-10-31 02:52:41Z tuan08 $
- Author:
- Tuan Nguyen (tuan08@users.sourceforge.net)
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ContainerUtil
public ContainerUtil()
getSortedConstructors
public static Constructor<?>[] getSortedConstructors(Class<?> clazz)
throws NoClassDefFoundError
- Throws:
NoClassDefFoundError
getConfigurationURL
public static Collection<URL> getConfigurationURL(String configuration)
throws Exception
- Throws:
Exception
addContainerLifecyclePlugin
public static void addContainerLifecyclePlugin(ExoContainer container,
ConfigurationManager conf)
addComponentLifecyclePlugin
public static void addComponentLifecyclePlugin(ExoContainer container,
ConfigurationManager conf)
addComponents
public static void addComponents(ExoContainer container,
ConfigurationManager conf)
createTenantsContext
public static TenantsContainerContext createTenantsContext(ExoContainer container,
ConfigurationManager conf)
loadProperties
public static Map<String,String> loadProperties(URL url)
- Loads the properties file corresponding to the given url
- Parameters:
url - the url of the properties file
- Returns:
- a
Map of properties
loadProperties
public static Map<String,String> loadProperties(URL url,
boolean resolveVariables)
- Loads the properties file corresponding to the given url
- Parameters:
url - the url of the properties fileresolveVariables - indicates if the variables must be resolved
- Returns:
- a
Map of properties
Copyright © 2014 eXo Platform SAS. All Rights Reserved.