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(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(ClassWorld classWorld) |
void |
stop() |
PlexusContainer getContainer()
Object lookup(String role) throws ComponentLookupException
ComponentLookupExceptionObject lookup(String role, String id) throws ComponentLookupException
ComponentLookupExceptionboolean hasComponent(String role)
void release(Object service) throws ComponentLifecycleException
ComponentLifecycleExceptionvoid setClassWorld(ClassWorld classWorld)
void setConfiguration(URL configuration) throws IOException
IOExceptionvoid setConfiguration(Reader configuration) throws IOException
IOExceptionvoid setProperties(Properties properties)
void setProperties(File file)
void start(ClassWorld classWorld)
throws PlexusContainerException,
PlexusConfigurationResourceException
void start()
throws PlexusContainerException,
PlexusConfigurationResourceException
void stop()
void setLoggerManager(LoggerManager loggerManager)