org.codehaus.plexus.application

Class PlexusApplicationHost

public class PlexusApplicationHost extends Object implements Runnable

A ContainerHost.

Version: $Id: PlexusApplicationHost.java 2135 2005-06-21 13:03:59Z trygvis $

Author: Jason van Zyl bob mcwhirter Trygve Laugstøl

Field Summary
ApplicationServerapplicationServer
DefaultPlexusContainercontainer
booleanisStopped
booleanshouldStop
static ObjectwaitObj
Method Summary
ApplicationServergetApplicationServer()
PlexusContainergetContainer()
booleanisStopped()
static voidmain(String[] args, ClassWorld classWorld)
voidrun()
Asynchronous hosting component loop.
voidshutdown()
Shutdown this container.
voidstart(ClassWorld classWorld, String configurationResource)

Field Detail

applicationServer

private ApplicationServer applicationServer

container

private DefaultPlexusContainer container

isStopped

private boolean isStopped

shouldStop

private boolean shouldStop

waitObj

private static Object waitObj

Method Detail

getApplicationServer

public ApplicationServer getApplicationServer()

getContainer

public PlexusContainer getContainer()

isStopped

private boolean isStopped()

main

public static void main(String[] args, ClassWorld classWorld)

run

public void run()
Asynchronous hosting component loop.

shutdown

public void shutdown()
Shutdown this container.

Throws: java.lang.Exception If an error occurs while shutting down the container.

start

public void start(ClassWorld classWorld, String configurationResource)