org.codehaus.plexus.embed

Interface PlexusEmbedder

Known Implementing Classes:
Embedder

public interface PlexusEmbedder

Author:
jdcasey

Method Summary

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()

Method Details

addContextValue

public void addContextValue(Object key,
                            Object value)

getContainer

public PlexusContainer getContainer()

hasComponent

public boolean hasComponent(String role)

hasComponent

public boolean hasComponent(String role,
                            String id)

lookup

public Object lookup(String role)
            throws ComponentLookupException

lookup

public Object lookup(String role,
                     String id)
            throws ComponentLookupException

release

public void release(Object service)
            throws ComponentLifecycleException

setClassWorld

public void setClassWorld(ClassWorld classWorld)

setConfiguration

public void setConfiguration(Reader configuration)
            throws IOException

setConfiguration

public void setConfiguration(URL configuration)
            throws IOException

setLoggerManager

public void setLoggerManager(LoggerManager loggerManager)

setProperties

public void setProperties(File file)

setProperties

public void setProperties(Properties properties)

start

public void start()
            throws PlexusContainerException,
                   PlexusConfigurationResourceException

start

public void start(ClassWorld classWorld)
            throws PlexusContainerException,
                   PlexusConfigurationResourceException

stop

public void stop()