Package org.codehaus.plexus
Class DefaultContainerConfiguration
- java.lang.Object
-
- org.codehaus.plexus.DefaultContainerConfiguration
-
- All Implemented Interfaces:
ContainerConfiguration
public class DefaultContainerConfiguration extends Object implements ContainerConfiguration
- Author:
- Jason van Zyl
-
-
Constructor Summary
Constructors Constructor Description DefaultContainerConfiguration()
-
Method Summary
-
-
-
Method Detail
-
setName
public ContainerConfiguration setName(String name)
- Specified by:
setName
in interfaceContainerConfiguration
-
setContext
public ContainerConfiguration setContext(Map<Object,Object> context)
- Specified by:
setContext
in interfaceContainerConfiguration
-
setClassWorld
public ContainerConfiguration setClassWorld(org.codehaus.plexus.classworlds.ClassWorld classWorld)
- Specified by:
setClassWorld
in interfaceContainerConfiguration
-
setRealm
public ContainerConfiguration setRealm(org.codehaus.plexus.classworlds.realm.ClassRealm realm)
- Specified by:
setRealm
in interfaceContainerConfiguration
-
setContainerConfiguration
public ContainerConfiguration setContainerConfiguration(String containerConfiguration)
- Specified by:
setContainerConfiguration
in interfaceContainerConfiguration
-
getContainerConfiguration
public String getContainerConfiguration()
- Specified by:
getContainerConfiguration
in interfaceContainerConfiguration
-
setContainerConfigurationURL
public ContainerConfiguration setContainerConfigurationURL(URL containerConfiguration)
- Specified by:
setContainerConfigurationURL
in interfaceContainerConfiguration
-
getContainerConfigurationURL
public URL getContainerConfigurationURL()
- Specified by:
getContainerConfigurationURL
in interfaceContainerConfiguration
-
getName
public String getName()
- Specified by:
getName
in interfaceContainerConfiguration
-
getContext
public Map<Object,Object> getContext()
- Specified by:
getContext
in interfaceContainerConfiguration
-
getClassWorld
public org.codehaus.plexus.classworlds.ClassWorld getClassWorld()
- Specified by:
getClassWorld
in interfaceContainerConfiguration
-
getRealm
public org.codehaus.plexus.classworlds.realm.ClassRealm getRealm()
- Specified by:
getRealm
in interfaceContainerConfiguration
-
setInitializationPhases
public ContainerConfiguration setInitializationPhases(ContainerInitializationPhase[] initializationPhases)
-
getInitializationPhases
public ContainerInitializationPhase[] getInitializationPhases()
- Specified by:
getInitializationPhases
in interfaceContainerConfiguration
-
addComponentDiscoveryListener
public ContainerConfiguration addComponentDiscoveryListener(ComponentDiscoveryListener componentDiscoveryListener)
- Specified by:
addComponentDiscoveryListener
in interfaceContainerConfiguration
-
addComponentDiscoverer
public ContainerConfiguration addComponentDiscoverer(ComponentDiscoverer componentDiscoverer)
- Specified by:
addComponentDiscoverer
in interfaceContainerConfiguration
-
addComponentDiscoverer
public ContainerConfiguration addComponentDiscoverer(Class<?> clazz)
- Specified by:
addComponentDiscoverer
in interfaceContainerConfiguration
-
addComponentDiscoveryListener
public ContainerConfiguration addComponentDiscoveryListener(Class<?> clazz)
- Specified by:
addComponentDiscoveryListener
in interfaceContainerConfiguration
-
getComponentDiscoverers
public List<Class> getComponentDiscoverers()
- Specified by:
getComponentDiscoverers
in interfaceContainerConfiguration
-
getComponentDiscoveryListeners
public List<Class> getComponentDiscoveryListeners()
- Specified by:
getComponentDiscoveryListeners
in interfaceContainerConfiguration
-
setComponentDiscovererManager
public ContainerConfiguration setComponentDiscovererManager(ComponentDiscovererManager componentDiscovererManager)
- Specified by:
setComponentDiscovererManager
in interfaceContainerConfiguration
-
getComponentDiscovererManager
public ComponentDiscovererManager getComponentDiscovererManager()
- Specified by:
getComponentDiscovererManager
in interfaceContainerConfiguration
-
getComponentFactoryManager
public ComponentFactoryManager getComponentFactoryManager()
- Specified by:
getComponentFactoryManager
in interfaceContainerConfiguration
-
setComponentFactoryManager
public ContainerConfiguration setComponentFactoryManager(ComponentFactoryManager componentFactoryManager)
- Specified by:
setComponentFactoryManager
in interfaceContainerConfiguration
-
setComponentRepository
public ContainerConfiguration setComponentRepository(ComponentRepository componentRepository)
- Specified by:
setComponentRepository
in interfaceContainerConfiguration
-
getComponentRepository
public ComponentRepository getComponentRepository()
- Specified by:
getComponentRepository
in interfaceContainerConfiguration
-
addLifecycleHandler
public ContainerConfiguration addLifecycleHandler(LifecycleHandler lifecycleHandler)
- Specified by:
addLifecycleHandler
in interfaceContainerConfiguration
-
setLifecycleHandlerManager
public ContainerConfiguration setLifecycleHandlerManager(LifecycleHandlerManager lifecycleHandlerManager)
- Specified by:
setLifecycleHandlerManager
in interfaceContainerConfiguration
-
getLifecycleHandlerManager
public LifecycleHandlerManager getLifecycleHandlerManager()
- Specified by:
getLifecycleHandlerManager
in interfaceContainerConfiguration
-
setConfigurationSource
public ContainerConfiguration setConfigurationSource(ConfigurationSource configurationSource)
- Specified by:
setConfigurationSource
in interfaceContainerConfiguration
-
getConfigurationSource
public ConfigurationSource getConfigurationSource()
- Specified by:
getConfigurationSource
in interfaceContainerConfiguration
-
-