org.codehaus.plexus.application
Class PlexusApplicationHost

java.lang.Object
  extended by 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

Constructor Summary
PlexusApplicationHost()
           
 
Method Summary
 ApplicationServer getApplicationServer()
           
 org.codehaus.plexus.PlexusContainer getContainer()
           
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
 

Constructor Detail

PlexusApplicationHost

public PlexusApplicationHost()
Method Detail

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.

main

public static void main(java.lang.String[] args,
                        org.codehaus.classworlds.ClassWorld classWorld)


Copyright © 2001-2011 Codehaus. All Rights Reserved.