org.apache.servicemix.common
Class AbstractDeployer

java.lang.Object
  extended by org.apache.servicemix.common.AbstractDeployer
All Implemented Interfaces:
Deployer
Direct Known Subclasses:
AbstractWsdl1Deployer, AbstractXBeanDeployer

public abstract class AbstractDeployer
extends Object
implements Deployer

Base classes for custom artifacts deployers.

Since:
3.0
Version:
$Revision: 33980 $
Author:
Guillaume Nodet

Field Summary
protected  ServiceMixComponent component
           
protected  Log logger
           
 
Constructor Summary
AbstractDeployer(ServiceMixComponent component)
           
 
Method Summary
protected  DeploymentException failure(String task, String info, Throwable e)
           
 void undeploy(ServiceUnit su)
          Undeploys the given service unit.
protected  void validate(Endpoint endpoint)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.servicemix.common.Deployer
canDeploy, deploy
 

Field Detail

logger

protected final transient Log logger

component

protected ServiceMixComponent component
Constructor Detail

AbstractDeployer

public AbstractDeployer(ServiceMixComponent component)
Method Detail

failure

protected DeploymentException failure(String task,
                                      String info,
                                      Throwable e)

undeploy

public void undeploy(ServiceUnit su)
              throws DeploymentException
Description copied from interface: Deployer
Undeploys the given service unit.

Specified by:
undeploy in interface Deployer
Parameters:
su - the service unit to undeploy
Throws:
DeploymentException

validate

protected void validate(Endpoint endpoint)
                 throws DeploymentException
Throws:
DeploymentException


Copyright © 2005-2008. All Rights Reserved.