org.codehaus.plexus.application
Class PlexusApplicationHost
java.lang.Object
org.codehaus.plexus.application.PlexusApplicationHost
- All Implemented Interfaces:
- java.lang.Runnable
- public class PlexusApplicationHost
- extends java.lang.Object
- implements java.lang.Runnable
A ContainerHost
.
- Version:
- $Id: PlexusApplicationHost.java 2135 2005-06-21 13:03:59Z trygvis $
- Author:
- Jason van Zyl, bob mcwhirter, Trygve Laugstøl
Method Summary |
ApplicationServer |
getApplicationServer()
|
org.codehaus.plexus.PlexusContainer |
getContainer()
|
private boolean |
isStopped()
|
static void |
main(java.lang.String[] args,
org.codehaus.classworlds.ClassWorld classWorld)
|
void |
run()
Asynchronous hosting component loop. |
void |
shutdown()
Shutdown this container. |
void |
start(org.codehaus.classworlds.ClassWorld classWorld,
java.lang.String configurationResource)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
container
private org.codehaus.plexus.DefaultPlexusContainer container
shouldStop
private boolean shouldStop
isStopped
private boolean isStopped
waitObj
private static java.lang.Object waitObj
applicationServer
private ApplicationServer applicationServer
PlexusApplicationHost
public PlexusApplicationHost()
getContainer
public org.codehaus.plexus.PlexusContainer getContainer()
getApplicationServer
public ApplicationServer getApplicationServer()
start
public void start(org.codehaus.classworlds.ClassWorld classWorld,
java.lang.String configurationResource)
throws java.lang.Exception
- Throws:
java.lang.Exception
run
public void run()
- Asynchronous hosting component loop.
- Specified by:
run
in interface java.lang.Runnable
shutdown
public void shutdown()
throws java.lang.Exception
- Shutdown this container.
- Throws:
java.lang.Exception
- If an error occurs while shutting down the container.
isStopped
private boolean isStopped()
main
public static void main(java.lang.String[] args,
org.codehaus.classworlds.ClassWorld classWorld)