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: 473934 $
Author:
Guillaume Nodet

Field Summary
protected  ServiceMixComponent component
           
protected  Log logger
           
 
Constructor Summary
AbstractDeployer(ServiceMixComponent component)
           
 
Method Summary
protected  javax.jbi.management.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 javax.jbi.management.DeploymentException failure(String task,
                                                           String info,
                                                           Throwable e)

undeploy

public void undeploy(ServiceUnit su)
              throws javax.jbi.management.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:
javax.jbi.management.DeploymentException

validate

protected void validate(Endpoint endpoint)
                 throws javax.jbi.management.DeploymentException
Throws:
javax.jbi.management.DeploymentException


Copyright © 2005-2007 Apache Software Foundation. All Rights Reserved.