org.codehaus.plexus.appserver.application.deploy
Class DefaultApplicationDeployer

java.lang.Object
  extended byorg.codehaus.plexus.logging.AbstractLogEnabled
      extended byorg.codehaus.plexus.appserver.AppServerObject
          extended byorg.codehaus.plexus.appserver.deploy.AbstractDeployer
              extended byorg.codehaus.plexus.appserver.application.deploy.DefaultApplicationDeployer
All Implemented Interfaces:
ApplicationDeployer, org.codehaus.plexus.personality.plexus.lifecycle.phase.Contextualizable, Deployer, org.codehaus.plexus.personality.plexus.lifecycle.phase.Disposable, org.codehaus.plexus.personality.plexus.lifecycle.phase.Initializable, org.codehaus.plexus.logging.LogEnabled

public class DefaultApplicationDeployer
extends AbstractDeployer
implements ApplicationDeployer, org.codehaus.plexus.personality.plexus.lifecycle.phase.Contextualizable, org.codehaus.plexus.personality.plexus.lifecycle.phase.Initializable, org.codehaus.plexus.personality.plexus.lifecycle.phase.Disposable

Since:
Mar 19, 2004
Author:
Dan Diephouse, Jason van Zyl

Field Summary
 
Fields inherited from interface org.codehaus.plexus.appserver.application.deploy.ApplicationDeployer
ROLE
 
Constructor Summary
DefaultApplicationDeployer()
           
 
Method Summary
 void addApplicationListener(ApplicationListener listener)
           
 void contextualize(org.codehaus.plexus.context.Context context)
           
 void deploy(java.lang.String appId, java.io.File par)
           
 void dispose()
           
 AppRuntimeProfile getApplicationRuntimeProfile(java.lang.String applicationName)
           
 void initialize()
           
 void redeploy(java.lang.String id)
           
 void removeApplicationListener(ApplicationListener listener)
           
 void undeploy(java.lang.String name)
           
 
Methods inherited from class org.codehaus.plexus.appserver.AppServerObject
expand
 
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

DefaultApplicationDeployer

public DefaultApplicationDeployer()
Method Detail

deploy

public void deploy(java.lang.String appId,
                   java.io.File par)
            throws ApplicationServerException
Specified by:
deploy in interface Deployer
Throws:
ApplicationServerException

redeploy

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

undeploy

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

getApplicationRuntimeProfile

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

addApplicationListener

public void addApplicationListener(ApplicationListener listener)
Specified by:
addApplicationListener in interface ApplicationDeployer

removeApplicationListener

public void removeApplicationListener(ApplicationListener listener)
Specified by:
removeApplicationListener in interface ApplicationDeployer

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

dispose

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


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