org.codehaus.plexus.embed
Class Embedder
java.lang.Object
org.codehaus.plexus.embed.Embedder
- All Implemented Interfaces:
- PlexusEmbedder
public class Embedder
- extends java.lang.Object
- implements PlexusEmbedder
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Embedder
public Embedder()
getContainer
public PlexusContainer getContainer()
- Specified by:
getContainer
in interface PlexusEmbedder
lookup
public java.lang.Object lookup(java.lang.String role)
throws ComponentLookupException
- Specified by:
lookup
in interface PlexusEmbedder
- Throws:
ComponentLookupException
lookup
public java.lang.Object lookup(java.lang.String role,
java.lang.String id)
throws ComponentLookupException
- Specified by:
lookup
in interface PlexusEmbedder
- Throws:
ComponentLookupException
hasComponent
public boolean hasComponent(java.lang.String role)
- Specified by:
hasComponent
in interface PlexusEmbedder
hasComponent
public boolean hasComponent(java.lang.String role,
java.lang.String id)
- Specified by:
hasComponent
in interface PlexusEmbedder
release
public void release(java.lang.Object service)
throws ComponentLifecycleException
- Specified by:
release
in interface PlexusEmbedder
- Throws:
ComponentLifecycleException
setClassWorld
public void setClassWorld(org.codehaus.classworlds.ClassWorld classWorld)
- Specified by:
setClassWorld
in interface PlexusEmbedder
setConfiguration
public void setConfiguration(java.net.URL configuration)
throws java.io.IOException
- Specified by:
setConfiguration
in interface PlexusEmbedder
- Throws:
java.io.IOException
setConfiguration
public void setConfiguration(java.io.Reader configuration)
throws java.io.IOException
- Specified by:
setConfiguration
in interface PlexusEmbedder
- Throws:
java.io.IOException
addContextValue
public void addContextValue(java.lang.Object key,
java.lang.Object value)
- Specified by:
addContextValue
in interface PlexusEmbedder
setProperties
public void setProperties(java.util.Properties properties)
- Specified by:
setProperties
in interface PlexusEmbedder
setProperties
public void setProperties(java.io.File file)
- Specified by:
setProperties
in interface PlexusEmbedder
setLoggerManager
public void setLoggerManager(LoggerManager loggerManager)
- Specified by:
setLoggerManager
in interface PlexusEmbedder
initializeContext
protected void initializeContext()
start
public void start(org.codehaus.classworlds.ClassWorld classWorld)
throws PlexusContainerException
- Specified by:
start
in interface PlexusEmbedder
- Throws:
PlexusContainerException
start
public void start()
throws PlexusContainerException
- Specified by:
start
in interface PlexusEmbedder
- Throws:
PlexusContainerException
stop
public void stop()
- Specified by:
stop
in interface PlexusEmbedder
Copyright © 2001-2007 Codehaus. All Rights Reserved.