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