org.codehaus.plexus.appserver.service.deploy
Class DefaultServiceDeployer

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.service.deploy.DefaultServiceDeployer
All Implemented Interfaces:
org.codehaus.plexus.personality.plexus.lifecycle.phase.Contextualizable, Deployer, org.codehaus.plexus.personality.plexus.lifecycle.phase.Initializable, org.codehaus.plexus.logging.LogEnabled, ServiceDeployer

public class DefaultServiceDeployer
extends AbstractDeployer
implements ServiceDeployer, org.codehaus.plexus.personality.plexus.lifecycle.phase.Initializable, org.codehaus.plexus.personality.plexus.lifecycle.phase.Contextualizable

Since:
Jul 17, 2004
Author:
Dan Diephouse, Jason van Zyl

Field Summary
 
Fields inherited from interface org.codehaus.plexus.appserver.service.deploy.ServiceDeployer
ROLE
 
Constructor Summary
DefaultServiceDeployer()
           
 
Method Summary
 void contextualize(org.codehaus.plexus.context.Context context)
           
 void deploy(java.lang.String serviceId, java.io.File location)
           
 void initialize()
           
 void redeploy(java.lang.String id)
           
 void undeploy(java.lang.String id)
           
 
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

DefaultServiceDeployer

public DefaultServiceDeployer()
Method Detail

deploy

public void deploy(java.lang.String serviceId,
                   java.io.File location)
            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 id)
              throws ApplicationServerException
Specified by:
undeploy in interface Deployer
Throws:
ApplicationServerException

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

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


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