org.codehaus.plexus.appserver
Class DefaultApplicationServer

java.lang.Object
  extended byorg.codehaus.plexus.logging.AbstractLogEnabled
      extended byorg.codehaus.plexus.appserver.DefaultApplicationServer
All Implemented Interfaces:
ApplicationServer, org.codehaus.plexus.personality.plexus.lifecycle.phase.Contextualizable, org.codehaus.plexus.personality.plexus.lifecycle.phase.Initializable, 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.Initializable, org.codehaus.plexus.personality.plexus.lifecycle.phase.Contextualizable, org.codehaus.plexus.personality.plexus.lifecycle.phase.Startable

Version:
$Id: DefaultApplicationServer.java 3271 2006-05-07 21:13:49Z jvanzyl $
Author:
Jason van Zyl, bob mcwhirter, Trygve Laugstøl

Field Summary
 
Fields inherited from interface org.codehaus.plexus.appserver.ApplicationServer
ROLE
 
Constructor Summary
DefaultApplicationServer()
           
 
Method Summary
 void addAppDescriptor(AppDescriptor appDescriptor)
           
 void contextualize(org.codehaus.plexus.context.Context context)
           
 void deploy(java.lang.String id, java.io.File location)
           
 AppDescriptor getAppDescriptor(java.lang.String appId)
           
 java.util.Collection getAppDescriptors()
           
 AppRuntimeProfile getApplicationRuntimeProfile(java.lang.String applicationId)
           
 void initialize()
           
 void redeploy(java.lang.String id)
           
 void start()
           
 void stop()
           
 void undeploy(java.lang.String id)
           
 
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
 

Constructor Detail

DefaultApplicationServer

public DefaultApplicationServer()
Method Detail

getApplicationRuntimeProfile

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

deploy

public void deploy(java.lang.String id,
                   java.io.File location)
            throws ApplicationServerException
Specified by:
deploy in interface ApplicationServer
Throws:
ApplicationServerException

redeploy

public void redeploy(java.lang.String id)
              throws ApplicationServerException
Specified by:
redeploy in interface ApplicationServer
Throws:
ApplicationServerException

undeploy

public void undeploy(java.lang.String id)
              throws ApplicationServerException
Specified by:
undeploy in interface ApplicationServer
Throws:
ApplicationServerException

addAppDescriptor

public void addAppDescriptor(AppDescriptor appDescriptor)
Specified by:
addAppDescriptor in interface ApplicationServer

getAppDescriptor

public AppDescriptor getAppDescriptor(java.lang.String appId)
Specified by:
getAppDescriptor in interface ApplicationServer

getAppDescriptors

public java.util.Collection getAppDescriptors()

contextualize

public void contextualize(org.codehaus.plexus.context.Context context)
                   throws org.codehaus.plexus.context.ContextException
Specified by:
contextualize in interface org.codehaus.plexus.personality.plexus.lifecycle.phase.Contextualizable
Throws:
org.codehaus.plexus.context.ContextException

initialize

public void initialize()
                throws org.codehaus.plexus.personality.plexus.lifecycle.phase.InitializationException
Specified by:
initialize in interface org.codehaus.plexus.personality.plexus.lifecycle.phase.Initializable
Throws:
org.codehaus.plexus.personality.plexus.lifecycle.phase.InitializationException

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


Copyright 2001-2001-2006 Codehaus. All Rights Reserved.