|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.codehaus.plexus.logging.AbstractLogEnabled
org.codehaus.plexus.DefaultPlexusContainer
public class DefaultPlexusContainer
Default implementation of PlexusContainer and MutablePlexusContainer.
| Field Summary | |
|---|---|
protected org.codehaus.plexus.classworlds.ClassWorld |
classWorld
|
protected ComponentDiscovererManager |
componentDiscovererManager
Simple index (registry) of ComponentDiscovers and ComponentDiscoveryListener. |
protected ComponentFactoryManager |
componentFactoryManager
Trivial class to look-up ComponentFactory instances in this container. |
protected ComponentLookupManager |
componentLookupManager
Encapsulates the algorithm for finding components by role, roleHint, and classRealm. |
protected ComponentManagerManager |
componentManagerManager
The main component registry. |
protected ComponentRepository |
componentRepository
A repository of component descriptions which are used to create new components and for tooling. |
protected PlexusConfiguration |
configuration
|
protected java.io.Reader |
configurationReader
|
protected ConfigurationSource |
configurationSource
Converts a ComponentDescriptor into PlexusConfiguration. |
protected Context |
containerContext
Arbitrary data associated with the container. |
protected org.codehaus.plexus.classworlds.realm.ClassRealm |
containerRealm
|
protected java.util.Date |
creationDate
|
protected static java.lang.String |
DEFAULT_CONTAINER_NAME
|
protected static java.lang.String |
DEFAULT_REALM_NAME
|
protected LifecycleHandlerManager |
lifecycleHandlerManager
Simple index (registry) of LifecycleHandler instances. |
protected LoggerManager |
loggerManager
Generic logger interface. |
protected java.lang.String |
name
Container's name |
| Fields inherited from interface org.codehaus.plexus.PlexusContainer |
|---|
ROLE |
| Constructor Summary | |
|---|---|
DefaultPlexusContainer()
|
|
DefaultPlexusContainer(ContainerConfiguration c)
|
|
| Method Summary | |
|---|---|
void |
addComponent(java.lang.Object component,
java.lang.String role)
|
void |
addComponentDescriptor(ComponentDescriptor componentDescriptor)
Adds a component descriptor to this container. |
void |
addContextValue(java.lang.Object key,
java.lang.Object value)
Add a key/value pair to this container's Context. |
void |
addJarRepository(java.io.File repository)
Adds a directory of jar resources. |
void |
addJarResource(java.io.File jar)
Adds a jar to this container's ClassRealm - whose components are then discovered (via the various registered ComponentDiscoverer's). |
org.codehaus.plexus.classworlds.realm.ClassRealm |
createChildRealm(java.lang.String id)
|
java.util.List |
discoverComponents(org.codehaus.plexus.classworlds.realm.ClassRealm classRealm)
|
java.util.List<ComponentDescriptor> |
discoverComponents(org.codehaus.plexus.classworlds.realm.ClassRealm classRealm,
boolean override)
Discovers components in the given realm. |
void |
dispose()
Disposes of this container, which in turn disposes all of it's components. |
protected void |
disposeAllComponents()
|
org.codehaus.plexus.classworlds.ClassWorld |
getClassWorld()
|
ComponentDescriptor |
getComponentDescriptor(java.lang.String role)
Returns the ComponentDescriptor with the given component role and the default role hint. |
ComponentDescriptor |
getComponentDescriptor(java.lang.String role,
org.codehaus.plexus.classworlds.realm.ClassRealm realm)
Returns the ComponentDescriptor with the given component role and the default role hint. |
ComponentDescriptor |
getComponentDescriptor(java.lang.String role,
java.lang.String hint)
Returns the ComponentDescriptor with the given component role and hint. |
ComponentDescriptor |
getComponentDescriptor(java.lang.String role,
java.lang.String hint,
org.codehaus.plexus.classworlds.realm.ClassRealm classRealm)
Returns the ComponentDescriptor with the given component role and hint. |
java.util.List<ComponentDescriptor> |
getComponentDescriptorList(java.lang.String role)
Returns a List of ComponentDescriptors with the given role. |
java.util.List<ComponentDescriptor> |
getComponentDescriptorList(java.lang.String role,
org.codehaus.plexus.classworlds.realm.ClassRealm realm)
Returns a List of ComponentDescriptors with the given role. |
java.util.List<ComponentDescriptor> |
getComponentDescriptorList(java.lang.String role,
java.util.List<java.lang.String> roleHints,
org.codehaus.plexus.classworlds.realm.ClassRealm realm)
Returns a List of ComponentDescriptors with the given role in a requested order driven by roleHints list. |
java.util.Map<java.lang.String,ComponentDescriptor> |
getComponentDescriptorMap(java.lang.String role)
Returns a Map of ComponentDescriptors with the given role, keyed by role-hint. |
java.util.Map<java.lang.String,ComponentDescriptor> |
getComponentDescriptorMap(java.lang.String role,
org.codehaus.plexus.classworlds.realm.ClassRealm realm)
Returns a Map of ComponentDescriptors with the given role, keyed by role-hint. |
ComponentDiscovererManager |
getComponentDiscovererManager()
|
ComponentFactoryManager |
getComponentFactoryManager()
|
ComponentLookupManager |
getComponentLookupManager()
|
ComponentManagerManager |
getComponentManagerManager()
|
org.codehaus.plexus.classworlds.realm.ClassRealm |
getComponentRealm(java.lang.String realmId)
|
ComponentRepository |
getComponentRepository()
|
PlexusConfiguration |
getConfiguration()
|
ConfigurationSource |
getConfigurationSource()
|
org.codehaus.plexus.classworlds.realm.ClassRealm |
getContainerRealm()
Returns the Classworld's ClassRealm of this Container, which acts as the default parent for all contained components. |
Context |
getContext()
Returns this container's context. |
java.util.Date |
getCreationDate()
Returns the date this container was created. |
protected java.io.Reader |
getInterpolationConfigurationReader(java.io.Reader reader)
|
LifecycleHandlerManager |
getLifecycleHandlerManager()
|
Logger |
getLogger()
|
LoggerManager |
getLoggerManager()
|
org.codehaus.plexus.classworlds.realm.ClassRealm |
getLookupRealm()
Returns the lookup realm for this container, which is either the container realm or the realm set by PlexusContainer.setLookupRealm(ClassRealm). |
org.codehaus.plexus.classworlds.realm.ClassRealm |
getLookupRealm(java.lang.Object component)
Utility method to get a default lookup realm for a component. |
java.lang.String |
getName()
Returns the unique name of this container. |
boolean |
hasComponent(java.lang.String componentKey)
Returns true if this container has the keyed component. |
boolean |
hasComponent(java.lang.String componentKey,
org.codehaus.plexus.classworlds.realm.ClassRealm realm)
|
boolean |
hasComponent(java.lang.String role,
java.lang.String roleHint)
Returns true if this container has a component with the given role/role-hint. |
boolean |
hasComponent(java.lang.String role,
java.lang.String roleHint,
org.codehaus.plexus.classworlds.realm.ClassRealm realm)
|
protected void |
initialize(ContainerConfiguration containerConfiguration)
|
protected void |
initializeConfiguration(ContainerConfiguration c)
|
protected void |
initializePhases(ContainerConfiguration containerConfiguration)
|
boolean |
isDevMode()
|
java.lang.Object |
lookup(java.lang.Class role)
Looks up and returns a component object with the given unique key or role. |
java.lang.Object |
lookup(java.lang.Class role,
org.codehaus.plexus.classworlds.realm.ClassRealm realm)
Looks up and returns a component object with the given unique key or role. |
java.lang.Object |
lookup(java.lang.Class role,
java.lang.String roleHint)
Looks up and returns a component object with the given unique role/role-hint combination. |
java.lang.Object |
lookup(java.lang.Class role,
java.lang.String roleHint,
org.codehaus.plexus.classworlds.realm.ClassRealm realm)
Looks up and returns a component object with the given unique role/role-hint combination. |
java.lang.Object |
lookup(java.lang.String role)
Looks up and returns a component object with the given unique key or role. |
java.lang.Object |
lookup(java.lang.String role,
org.codehaus.plexus.classworlds.realm.ClassRealm realm)
Looks up and returns a component object with the given unique key or role. |
java.lang.Object |
lookup(java.lang.String role,
java.lang.String roleHint)
Looks up and returns a component object with the given unique role/role-hint combination. |
java.lang.Object |
lookup(java.lang.String role,
java.lang.String roleHint,
org.codehaus.plexus.classworlds.realm.ClassRealm realm)
Looks up and returns a component object with the given unique role/role-hint combination. |
java.util.List<java.lang.Object> |
lookupList(java.lang.Class role)
Looks up and returns a List of component objects with the given role. |
java.util.List<java.lang.Object> |
lookupList(java.lang.Class role,
java.util.List<java.lang.String> hints)
Looks up and returns a List of component objects with the given role. |
java.util.List<java.lang.Object> |
lookupList(java.lang.String role)
Looks up and returns a List of component objects with the given role. |
java.util.List<java.lang.Object> |
lookupList(java.lang.String role,
java.util.List<java.lang.String> hints)
Looks up and returns a List of component objects with the given role. |
java.util.Map<java.lang.String,java.lang.Object> |
lookupMap(java.lang.Class role)
Looks up and returns a Map of component objects with the given role, keyed by all available role-hints. |
java.util.Map<java.lang.String,java.lang.Object> |
lookupMap(java.lang.Class role,
java.util.List<java.lang.String> hints)
Looks up and returns a Map of component objects with the given role, keyed by all available role-hints. |
java.util.Map<java.lang.String,java.lang.Object> |
lookupMap(java.lang.String role)
Looks up and returns a Map of component objects with the given role, keyed by all available role-hints. |
java.util.Map<java.lang.String,java.lang.Object> |
lookupMap(java.lang.String role,
java.util.List<java.lang.String> hints)
Looks up and returns a Map of component objects with the given role, keyed by all available role-hints. |
void |
registerComponentDiscoveryListener(ComponentDiscoveryListener listener)
Adds the listener to this container. |
void |
release(java.lang.Object component)
Releases the component from the container. |
void |
releaseAll(java.util.List<java.lang.Object> components)
Releases all Listed components from the container. |
void |
releaseAll(java.util.Map<java.lang.String,java.lang.Object> components)
Releases all Mapped component values from the container. |
void |
removeComponentDiscoveryListener(ComponentDiscoveryListener listener)
Removes the listener from this container. |
void |
removeComponentRealm(org.codehaus.plexus.classworlds.realm.ClassRealm realm)
Dissociate the realm with the specified id from the container. |
void |
setClassWorld(org.codehaus.plexus.classworlds.ClassWorld classWorld)
|
void |
setComponentDiscovererManager(ComponentDiscovererManager componentDiscovererManager)
|
void |
setComponentFactoryManager(ComponentFactoryManager componentFactoryManager)
|
void |
setComponentLookupManager(ComponentLookupManager componentLookupManager)
|
void |
setComponentManagerManager(ComponentManagerManager componentManagerManager)
|
void |
setComponentRepository(ComponentRepository componentRepository)
|
void |
setConfiguration(PlexusConfiguration configuration)
|
void |
setConfigurationSource(ConfigurationSource configurationSource)
|
void |
setContainerRealm(org.codehaus.plexus.classworlds.realm.ClassRealm containerRealm)
|
void |
setLifecycleHandlerManager(LifecycleHandlerManager lifecycleHandlerManager)
|
void |
setLoggerManager(LoggerManager loggerManager)
|
org.codehaus.plexus.classworlds.realm.ClassRealm |
setLookupRealm(org.codehaus.plexus.classworlds.realm.ClassRealm realm)
Sets the lookup realm to use for lookup calls that don't have a ClassRealm parameter. |
void |
setName(java.lang.String name)
|
protected void |
start()
|
| Methods inherited from class org.codehaus.plexus.logging.AbstractLogEnabled |
|---|
enableLogging, setupLogger, setupLogger, setupLogger |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static final java.lang.String DEFAULT_CONTAINER_NAME
protected static final java.lang.String DEFAULT_REALM_NAME
protected java.lang.String name
protected Context containerContext
protected PlexusConfiguration configuration
protected java.io.Reader configurationReader
protected org.codehaus.plexus.classworlds.ClassWorld classWorld
protected org.codehaus.plexus.classworlds.realm.ClassRealm containerRealm
protected ComponentRepository componentRepository
protected ComponentManagerManager componentManagerManager
protected LifecycleHandlerManager lifecycleHandlerManager
protected ComponentDiscovererManager componentDiscovererManager
protected ComponentFactoryManager componentFactoryManager
protected ComponentLookupManager componentLookupManager
protected LoggerManager loggerManager
protected ConfigurationSource configurationSource
protected final java.util.Date creationDate
| Constructor Detail |
|---|
public DefaultPlexusContainer()
throws PlexusContainerException
PlexusContainerException
public DefaultPlexusContainer(ContainerConfiguration c)
throws PlexusContainerException
PlexusContainerException| Method Detail |
|---|
public void addComponent(java.lang.Object component,
java.lang.String role)
throws ComponentRepositoryException
addComponent in interface PlexusContainerComponentRepositoryExceptionpublic org.codehaus.plexus.classworlds.realm.ClassRealm setLookupRealm(org.codehaus.plexus.classworlds.realm.ClassRealm realm)
PlexusContainer
setLookupRealm in interface PlexusContainerrealm - the new realm to use.
public org.codehaus.plexus.classworlds.realm.ClassRealm getLookupRealm()
PlexusContainerPlexusContainer.setLookupRealm(ClassRealm).
getLookupRealm in interface PlexusContainerpublic org.codehaus.plexus.classworlds.realm.ClassRealm createChildRealm(java.lang.String id)
createChildRealm in interface PlexusContainer
public java.lang.Object lookup(java.lang.String role)
throws ComponentLookupException
PlexusContainer
lookup in interface PlexusContainerrole - a unique key for the desired component
ComponentLookupException
public java.lang.Object lookup(java.lang.String role,
java.lang.String roleHint)
throws ComponentLookupException
PlexusContainer
lookup in interface PlexusContainerrole - a non-unique key for the desired componentroleHint - a hint for the desired component implementation
ComponentLookupException
public java.lang.Object lookup(java.lang.Class role)
throws ComponentLookupException
PlexusContainer
lookup in interface PlexusContainerrole - a unique key for the desired component
ComponentLookupException
public java.lang.Object lookup(java.lang.Class role,
java.lang.String roleHint)
throws ComponentLookupException
PlexusContainer
lookup in interface PlexusContainerrole - a non-unique class key for the desired componentroleHint - a hint for the desired component implementation
ComponentLookupException
public java.lang.Object lookup(java.lang.String role,
org.codehaus.plexus.classworlds.realm.ClassRealm realm)
throws ComponentLookupException
PlexusContainer
lookup in interface PlexusContainerrole - a unique key for the desired component
ComponentLookupException
public java.lang.Object lookup(java.lang.String role,
java.lang.String roleHint,
org.codehaus.plexus.classworlds.realm.ClassRealm realm)
throws ComponentLookupException
PlexusContainer
lookup in interface PlexusContainerrole - a non-unique key for the desired componentroleHint - a hint for the desired component implementation
ComponentLookupException
public java.lang.Object lookup(java.lang.Class role,
org.codehaus.plexus.classworlds.realm.ClassRealm realm)
throws ComponentLookupException
PlexusContainer
lookup in interface PlexusContainerrole - a unique key for the desired component
ComponentLookupException
public java.lang.Object lookup(java.lang.Class role,
java.lang.String roleHint,
org.codehaus.plexus.classworlds.realm.ClassRealm realm)
throws ComponentLookupException
PlexusContainer
lookup in interface PlexusContainerrole - a non-unique class key for the desired componentroleHint - a hint for the desired component implementation
ComponentLookupException
public java.util.Map<java.lang.String,java.lang.Object> lookupMap(java.lang.String role)
throws ComponentLookupException
PlexusContainer
lookupMap in interface PlexusContainerrole - a non-unique key for the desired components
ComponentLookupException
public java.util.Map<java.lang.String,java.lang.Object> lookupMap(java.lang.String role,
java.util.List<java.lang.String> hints)
throws ComponentLookupException
PlexusContainer
lookupMap in interface PlexusContainerrole - a non-unique key for the desired components
ComponentLookupException
public java.util.Map<java.lang.String,java.lang.Object> lookupMap(java.lang.Class role)
throws ComponentLookupException
PlexusContainer
lookupMap in interface PlexusContainerrole - a non-unique class key for the desired components
ComponentLookupException
public java.util.Map<java.lang.String,java.lang.Object> lookupMap(java.lang.Class role,
java.util.List<java.lang.String> hints)
throws ComponentLookupException
PlexusContainer
lookupMap in interface PlexusContainerrole - a non-unique class key for the desired components
ComponentLookupException
public java.util.List<java.lang.Object> lookupList(java.lang.String role)
throws ComponentLookupException
PlexusContainer
lookupList in interface PlexusContainerrole - a non-unique key for the desired components
ComponentLookupException
public java.util.List<java.lang.Object> lookupList(java.lang.String role,
java.util.List<java.lang.String> hints)
throws ComponentLookupException
PlexusContainer
lookupList in interface PlexusContainerrole - a non-unique key for the desired components
ComponentLookupException
public java.util.List<java.lang.Object> lookupList(java.lang.Class role)
throws ComponentLookupException
PlexusContainer
lookupList in interface PlexusContainerrole - a non-unique class key for the desired components
ComponentLookupException
public java.util.List<java.lang.Object> lookupList(java.lang.Class role,
java.util.List<java.lang.String> hints)
throws ComponentLookupException
PlexusContainer
lookupList in interface PlexusContainerrole - a non-unique class key for the desired components
ComponentLookupExceptionpublic java.util.Date getCreationDate()
PlexusContainer
getCreationDate in interface PlexusContainerpublic void setName(java.lang.String name)
setName in interface PlexusContainerpublic ComponentDescriptor getComponentDescriptor(java.lang.String role)
PlexusContainer
getComponentDescriptor in interface PlexusContainerrole - a unique role for the desired component's descriptor
public ComponentDescriptor getComponentDescriptor(java.lang.String role,
org.codehaus.plexus.classworlds.realm.ClassRealm realm)
PlexusContainer
getComponentDescriptor in interface PlexusContainerrole - a unique role for the desired component's descriptorrealm - The class realm to search
public ComponentDescriptor getComponentDescriptor(java.lang.String role,
java.lang.String hint)
PlexusContainer
getComponentDescriptor in interface PlexusContainerrole - a unique role for the desired component's descriptorhint - a hint showing which implementation should be used
public ComponentDescriptor getComponentDescriptor(java.lang.String role,
java.lang.String hint,
org.codehaus.plexus.classworlds.realm.ClassRealm classRealm)
PlexusContainer
getComponentDescriptor in interface PlexusContainerrole - a unique role for the desired component's descriptorhint - a hint showing which implementation should be usedclassRealm - The class realm to search
public java.util.Map<java.lang.String,ComponentDescriptor> getComponentDescriptorMap(java.lang.String role)
PlexusContainer
getComponentDescriptorMap in interface PlexusContainerrole - a non-unique key for the desired components
public java.util.Map<java.lang.String,ComponentDescriptor> getComponentDescriptorMap(java.lang.String role,
org.codehaus.plexus.classworlds.realm.ClassRealm realm)
PlexusContainer
getComponentDescriptorMap in interface PlexusContainerrole - a non-unique key for the desired components
public java.util.List<ComponentDescriptor> getComponentDescriptorList(java.lang.String role)
PlexusContainer
getComponentDescriptorList in interface PlexusContainerrole - a non-unique key for the desired components
public java.util.List<ComponentDescriptor> getComponentDescriptorList(java.lang.String role,
org.codehaus.plexus.classworlds.realm.ClassRealm realm)
PlexusContainer
getComponentDescriptorList in interface PlexusContainerrole - a non-unique key for the desired components
public java.util.List<ComponentDescriptor> getComponentDescriptorList(java.lang.String role,
java.util.List<java.lang.String> roleHints,
org.codehaus.plexus.classworlds.realm.ClassRealm realm)
PlexusContainer
getComponentDescriptorList in interface PlexusContainerrole - a non-unique key for the desired components
public void addComponentDescriptor(ComponentDescriptor componentDescriptor)
throws ComponentRepositoryException
PlexusContainer
addComponentDescriptor in interface PlexusContainerComponentRepositoryException
public void release(java.lang.Object component)
throws ComponentLifecycleException
PlexusContainer
release in interface PlexusContainercomponent - the plexus component object to release
ComponentLifecycleException
public void releaseAll(java.util.Map<java.lang.String,java.lang.Object> components)
throws ComponentLifecycleException
PlexusContainer
releaseAll in interface PlexusContainercomponents - Map of plexus component objects to release
ComponentLifecycleExceptionPlexusContainer.release( Object component )
public void releaseAll(java.util.List<java.lang.Object> components)
throws ComponentLifecycleException
PlexusContainer
releaseAll in interface PlexusContainercomponents - List of plexus component objects to release
ComponentLifecycleExceptionPlexusContainer.release( Object component )public boolean hasComponent(java.lang.String componentKey)
PlexusContainer
hasComponent in interface PlexusContainer
public boolean hasComponent(java.lang.String componentKey,
org.codehaus.plexus.classworlds.realm.ClassRealm realm)
public boolean hasComponent(java.lang.String role,
java.lang.String roleHint)
PlexusContainer
hasComponent in interface PlexusContainer
public boolean hasComponent(java.lang.String role,
java.lang.String roleHint,
org.codehaus.plexus.classworlds.realm.ClassRealm realm)
protected void initialize(ContainerConfiguration containerConfiguration)
throws PlexusContainerException
PlexusContainerException
protected void initializePhases(ContainerConfiguration containerConfiguration)
throws PlexusContainerException
PlexusContainerException
public java.util.List discoverComponents(org.codehaus.plexus.classworlds.realm.ClassRealm classRealm)
throws PlexusConfigurationException,
ComponentRepositoryException
PlexusConfigurationException
ComponentRepositoryException
public java.util.List<ComponentDescriptor> discoverComponents(org.codehaus.plexus.classworlds.realm.ClassRealm classRealm,
boolean override)
throws PlexusConfigurationException,
ComponentRepositoryException
PlexusContainer
discoverComponents in interface PlexusContaineroverride - wheter to override/merge any conflicting components, where the new component takes precedence.
PlexusConfigurationException
ComponentRepositoryExceptionPlexusContainer.discoverComponents(org.codehaus.plexus.classworlds.realm.ClassRealm,boolean)
protected void start()
throws PlexusContainerException
PlexusContainerExceptionpublic void dispose()
PlexusContainer
dispose in interface PlexusContainerprotected void disposeAllComponents()
public void addContextValue(java.lang.Object key,
java.lang.Object value)
PlexusContainer
addContextValue in interface PlexusContainerkey - any unique object valid to the Context's implementationvalue - any object valid to the Context's implementationpublic java.lang.String getName()
PlexusContainer
getName in interface PlexusContainerpublic org.codehaus.plexus.classworlds.ClassWorld getClassWorld()
getClassWorld in interface MutablePlexusContainerpublic void setClassWorld(org.codehaus.plexus.classworlds.ClassWorld classWorld)
public org.codehaus.plexus.classworlds.realm.ClassRealm getContainerRealm()
PlexusContainer
getContainerRealm in interface PlexusContainerpublic void setContainerRealm(org.codehaus.plexus.classworlds.realm.ClassRealm containerRealm)
public Context getContext()
PlexusContainer
getContext in interface PlexusContainer
protected void initializeConfiguration(ContainerConfiguration c)
throws PlexusConfigurationException,
ContextException,
java.io.IOException
PlexusConfigurationException
ContextException
java.io.IOExceptionprotected java.io.Reader getInterpolationConfigurationReader(java.io.Reader reader)
public void addJarResource(java.io.File jar)
throws PlexusContainerException
PlexusContainer
addJarResource in interface PlexusContainerjar - a JAR file
PlexusContainerExceptionpublic void addJarRepository(java.io.File repository)
PlexusContainer
addJarRepository in interface PlexusContainerrepository - a directory containing JAR filesPlexusContainer.addJarResource(File)public Logger getLogger()
getLogger in interface MutablePlexusContainergetLogger in interface PlexusContainergetLogger in class AbstractLogEnabledpublic void registerComponentDiscoveryListener(ComponentDiscoveryListener listener)
PlexusContainer
registerComponentDiscoveryListener in interface PlexusContainerlistener - A listener which responds to differnet ComponentDiscoveryEventspublic void removeComponentDiscoveryListener(ComponentDiscoveryListener listener)
PlexusContainer
removeComponentDiscoveryListener in interface PlexusContainerlistener - A listener to removepublic ComponentRepository getComponentRepository()
getComponentRepository in interface MutablePlexusContainerpublic void setComponentRepository(ComponentRepository componentRepository)
setComponentRepository in interface MutablePlexusContainerpublic ComponentManagerManager getComponentManagerManager()
getComponentManagerManager in interface MutablePlexusContainerpublic void setComponentManagerManager(ComponentManagerManager componentManagerManager)
setComponentManagerManager in interface MutablePlexusContainerpublic LifecycleHandlerManager getLifecycleHandlerManager()
getLifecycleHandlerManager in interface MutablePlexusContainerpublic void setLifecycleHandlerManager(LifecycleHandlerManager lifecycleHandlerManager)
setLifecycleHandlerManager in interface MutablePlexusContainerpublic ComponentDiscovererManager getComponentDiscovererManager()
getComponentDiscovererManager in interface MutablePlexusContainerpublic void setComponentDiscovererManager(ComponentDiscovererManager componentDiscovererManager)
setComponentDiscovererManager in interface MutablePlexusContainerpublic ComponentFactoryManager getComponentFactoryManager()
getComponentFactoryManager in interface MutablePlexusContainerpublic void setComponentFactoryManager(ComponentFactoryManager componentFactoryManager)
setComponentFactoryManager in interface MutablePlexusContainerpublic ComponentLookupManager getComponentLookupManager()
getComponentLookupManager in interface MutablePlexusContainerpublic void setComponentLookupManager(ComponentLookupManager componentLookupManager)
setComponentLookupManager in interface MutablePlexusContainerpublic LoggerManager getLoggerManager()
getLoggerManager in interface MutablePlexusContainergetLoggerManager in interface PlexusContainerpublic void setLoggerManager(LoggerManager loggerManager)
setLoggerManager in interface MutablePlexusContainersetLoggerManager in interface PlexusContainerpublic PlexusConfiguration getConfiguration()
getConfiguration in interface MutablePlexusContainerpublic void setConfiguration(PlexusConfiguration configuration)
setConfiguration in interface MutablePlexusContainerpublic org.codehaus.plexus.classworlds.realm.ClassRealm getComponentRealm(java.lang.String realmId)
getComponentRealm in interface MutablePlexusContainergetComponentRealm in interface PlexusContainer
public void removeComponentRealm(org.codehaus.plexus.classworlds.realm.ClassRealm realm)
throws PlexusContainerException
PlexusContainer
removeComponentRealm in interface PlexusContainerrealm - Realm to remove from the container.
PlexusContainerExceptionpublic org.codehaus.plexus.classworlds.realm.ClassRealm getLookupRealm(java.lang.Object component)
getLookupRealm in interface PlexusContainerpublic void setConfigurationSource(ConfigurationSource configurationSource)
setConfigurationSource in interface MutablePlexusContainerpublic ConfigurationSource getConfigurationSource()
getConfigurationSource in interface MutablePlexusContainerpublic boolean isDevMode()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||