|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.servicemix.common.AbstractDeployer
it.imolinfo.jbi4cics.jbi.Jbi4cicsWSDLDeployer
public final class Jbi4cicsWSDLDeployer
Deployer for the Jbi4cics JBI component. Deploys all the WSDL containing a Jbi4Cics extension.
| Field Summary |
|---|
| Fields inherited from class org.apache.servicemix.common.AbstractDeployer |
|---|
component, logger |
| Constructor Summary | |
|---|---|
Jbi4cicsWSDLDeployer(org.apache.servicemix.common.BaseComponent component)
Creates a Jbi4cicsWSDLDeployer for the specified component. |
|
| Method Summary | |
|---|---|
boolean |
canDeploy(java.lang.String suName,
java.lang.String suRootPath)
Check if this deployer is able to handle a given artifact. |
protected Jbi4cicsEndpoint |
createServiceDescriptor(javax.wsdl.Service service,
javax.wsdl.Port port,
javax.wsdl.Binding binding,
Jbi4CicsAddress addressExtension,
Jbi4CicsBinding bindingExtension)
Creates the Jbi4cicsEndpoint from the extended
WSDL-element. |
org.apache.servicemix.common.ServiceUnit |
deploy(java.lang.String suName,
java.lang.String suRootPath)
Actually deploys the given service unit and build a ServiceUnit object that contains endpoints. |
java.util.List<Jbi4cicsEndpoint> |
getEndpointFromWsdl(java.io.File wsdl)
Reads the Jbi4cicsEndpoint list from the WSDL. |
protected void |
validate(org.apache.servicemix.common.Endpoint endpoint)
Validates the specified endpoint. |
| 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 |
|---|
public Jbi4cicsWSDLDeployer(org.apache.servicemix.common.BaseComponent component)
Jbi4cicsWSDLDeployer for the specified component.
component - the component to be deployed by this instance.| Method Detail |
|---|
public boolean canDeploy(java.lang.String suName,
java.lang.String suRootPath)
suName - the name of the service unit.suRootPath - the path of the exploded service unit.
true if this deployer can handle the given
artifact.
public org.apache.servicemix.common.ServiceUnit deploy(java.lang.String suName,
java.lang.String suRootPath)
throws javax.jbi.management.DeploymentException
suName - the name of the service unitsuRootPath - the path of the exploded service unit
javax.jbi.management.DeploymentException - if an error occurs
protected void validate(org.apache.servicemix.common.Endpoint endpoint)
throws javax.jbi.management.DeploymentException
validate in class org.apache.servicemix.common.AbstractDeployerendpoint - the endpoint to validate.
javax.jbi.management.DeploymentException - in general, if endpoint can't
be validated but this implementation never
throw this kind of exception.
public java.util.List<Jbi4cicsEndpoint> getEndpointFromWsdl(java.io.File wsdl)
throws javax.jbi.management.DeploymentException
Jbi4cicsEndpoint list from the WSDL.
wsdl - the WSDL file. Must be not null.
javax.jbi.management.DeploymentException - in case of errors.
protected Jbi4cicsEndpoint createServiceDescriptor(javax.wsdl.Service service,
javax.wsdl.Port port,
javax.wsdl.Binding binding,
Jbi4CicsAddress addressExtension,
Jbi4CicsBinding bindingExtension)
throws javax.jbi.management.DeploymentException
Jbi4cicsEndpoint from the extended
WSDL-element.
service - the WSDL service.port - the WSDL port.binding - the WSDL binding.addressExtension - the Jbi4Cics address extension.bindingExtension - the Jbi4Cics binding extension.
Jbi4cicsEndpoint created from the extended
WSDL-element.
javax.jbi.management.DeploymentException - if the operation number read from the
binding differs from 1.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||