public interface PlexusEmbedder
Modifier and Type | Method and Description |
---|---|
void |
addContextValue(Object key,
Object value) |
PlexusContainer |
getContainer() |
boolean |
hasComponent(String role) |
boolean |
hasComponent(String role,
String id) |
Object |
lookup(String role) |
Object |
lookup(String role,
String id) |
void |
release(Object service) |
void |
setClassWorld(org.codehaus.classworlds.ClassWorld classWorld) |
void |
setConfiguration(Reader configuration) |
void |
setConfiguration(URL configuration) |
void |
setLoggerManager(LoggerManager loggerManager) |
void |
setProperties(File file) |
void |
setProperties(Properties properties) |
void |
start() |
void |
start(org.codehaus.classworlds.ClassWorld classWorld) |
void |
stop() |
PlexusContainer getContainer()
Object lookup(String role) throws ComponentLookupException
ComponentLookupException
Object lookup(String role, String id) throws ComponentLookupException
ComponentLookupException
boolean hasComponent(String role)
void release(Object service) throws ComponentLifecycleException
ComponentLifecycleException
void setClassWorld(org.codehaus.classworlds.ClassWorld classWorld)
void setConfiguration(URL configuration) throws IOException
IOException
void setConfiguration(Reader configuration) throws IOException
IOException
void setProperties(Properties properties)
void setProperties(File file)
void start(org.codehaus.classworlds.ClassWorld classWorld) throws PlexusContainerException, PlexusConfigurationResourceException
void start() throws PlexusContainerException, PlexusConfigurationResourceException
void stop()
void setLoggerManager(LoggerManager loggerManager)
Copyright © 2001-2013 Codehaus. All Rights Reserved.