it.imolinfo.jbi4cics.jbi
Class Jbi4cicsDeployer

java.lang.Object
  extended by org.apache.servicemix.common.AbstractDeployer
      extended by org.apache.servicemix.common.xbean.AbstractXBeanDeployer
          extended by it.imolinfo.jbi4cics.jbi.Jbi4cicsDeployer
All Implemented Interfaces:
org.apache.servicemix.common.Deployer

public final class Jbi4cicsDeployer
extends org.apache.servicemix.common.xbean.AbstractXBeanDeployer


Field Summary
 
Fields inherited from class org.apache.servicemix.common.AbstractDeployer
component, logger
 
Constructor Summary
Jbi4cicsDeployer(org.apache.servicemix.common.BaseComponent component)
          Initializes this deployer for the specified component.
 
Method Summary
 org.apache.servicemix.common.ServiceUnit deploy(java.lang.String suName, java.lang.String suRootPath)
          Deploys the given service unit and build a ServiceUnit object that contains endpoints.
protected  void validate(org.apache.servicemix.common.Endpoint endpoint)
          Validates the specified endpoint.
 
Methods inherited from class org.apache.servicemix.common.xbean.AbstractXBeanDeployer
canDeploy, getBeanFactoryPostProcessors, getServices, getXBeanFile, getXmlPreProcessors
 
Methods inherited from class org.apache.servicemix.common.AbstractDeployer
failure, undeploy
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Jbi4cicsDeployer

public Jbi4cicsDeployer(org.apache.servicemix.common.BaseComponent component)
Initializes this deployer for the specified component.

Parameters:
component - the component that will be deployed by this instance.
Method Detail

deploy

public org.apache.servicemix.common.ServiceUnit deploy(java.lang.String suName,
                                                       java.lang.String suRootPath)
                                                throws javax.jbi.management.DeploymentException
Deploys the given service unit and build a ServiceUnit object that contains endpoints.

Specified by:
deploy in interface org.apache.servicemix.common.Deployer
Overrides:
deploy in class org.apache.servicemix.common.xbean.AbstractXBeanDeployer
Parameters:
suName - the name of the service unit.
suRootPath - the path of the exploded service unit.
Returns:
a service unit containing endpoints.
Throws:
javax.jbi.management.DeploymentException - if an error occurs.

validate

protected void validate(org.apache.servicemix.common.Endpoint endpoint)
                 throws javax.jbi.management.DeploymentException
Validates the specified endpoint.

Overrides:
validate in class org.apache.servicemix.common.AbstractDeployer
Parameters:
endpoint - the endpoint to validate.
Throws:
javax.jbi.management.DeploymentException - if endpoint is not an instance of Jbi4cicsEndpoint class or can't be validated.


Copyright © 2005-2008 Imola Informatica. All Rights Reserved.