org.codehaus.plexus.application
Class DefaultApplicationServer

java.lang.Object
  extended byorg.codehaus.plexus.logging.AbstractLogEnabled
      extended byorg.codehaus.plexus.application.DefaultApplicationServer
All Implemented Interfaces:
ApplicationServer, org.codehaus.plexus.logging.LogEnabled, org.codehaus.plexus.personality.plexus.lifecycle.phase.Startable

public class DefaultApplicationServer
extends org.codehaus.plexus.logging.AbstractLogEnabled
implements ApplicationServer, org.codehaus.plexus.personality.plexus.lifecycle.phase.Startable

Version:
$Id: DefaultApplicationServer.java 2135 2005-06-21 13:03:59Z trygvis $
Author:
Jason van Zyl, bob mcwhirter, Trygve Laugstøl

Field Summary
private  ApplicationDeployer applicationDeployer
           
private  ServiceDiscoverer serviceDiscoverer
           
private  Supervisor supervisor
           
 
Fields inherited from class org.codehaus.plexus.logging.AbstractLogEnabled
 
Fields inherited from interface org.codehaus.plexus.application.ApplicationServer
ROLE
 
Constructor Summary
DefaultApplicationServer()
           
 
Method Summary
 ApplicationRuntimeProfile getApplicationRuntimeProfile(java.lang.String applicationId)
           
 void start()
           
 void stop()
           
 
Methods inherited from class org.codehaus.plexus.logging.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

applicationDeployer

private ApplicationDeployer applicationDeployer

serviceDiscoverer

private ServiceDiscoverer serviceDiscoverer

supervisor

private Supervisor supervisor
Constructor Detail

DefaultApplicationServer

public DefaultApplicationServer()
Method Detail

getApplicationRuntimeProfile

public ApplicationRuntimeProfile getApplicationRuntimeProfile(java.lang.String applicationId)
                                                       throws ApplicationServerException
Specified by:
getApplicationRuntimeProfile in interface ApplicationServer
Throws:
ApplicationServerException

start

public void start()
           throws org.codehaus.plexus.personality.plexus.lifecycle.phase.StartingException
Specified by:
start in interface org.codehaus.plexus.personality.plexus.lifecycle.phase.Startable
Throws:
org.codehaus.plexus.personality.plexus.lifecycle.phase.StartingException

stop

public void stop()
Specified by:
stop in interface org.codehaus.plexus.personality.plexus.lifecycle.phase.Startable