org.apache.servicemix.common.wsdl1
Class AbstractWsdl1Deployer
java.lang.Object
org.apache.servicemix.common.AbstractDeployer
org.apache.servicemix.common.wsdl1.AbstractWsdl1Deployer
- All Implemented Interfaces:
- Deployer
public abstract class AbstractWsdl1Deployer
- extends AbstractDeployer
|
Field Summary |
protected java.io.FilenameFilter |
filter
|
|
Method Summary |
boolean |
canDeploy(java.lang.String serviceUnitName,
java.lang.String serviceUnitRootPath)
Check if this deployer is able to handle a given artifact. |
protected abstract AbstractEndpoint |
createEndpoint(javax.wsdl.extensions.ExtensibilityElement portElement,
javax.wsdl.extensions.ExtensibilityElement bindingElement,
JbiEndpoint jbiEndpoint)
|
protected ServiceUnit |
createServiceUnit(java.lang.String name,
java.lang.String rootPath)
|
protected javax.wsdl.xml.WSDLReader |
createWsdlReader()
|
ServiceUnit |
deploy(java.lang.String serviceUnitName,
java.lang.String serviceUnitRootPath)
Actually deploys the given service unit and build a ServiceUnit object
that contains endpoints. |
protected abstract boolean |
filterBindingElement(javax.wsdl.extensions.ExtensibilityElement element)
|
protected abstract boolean |
filterPortElement(javax.wsdl.extensions.ExtensibilityElement element)
|
protected void |
initFromWsdl(ServiceUnit su,
java.io.File wsdl)
|
protected void |
registerExtensions(javax.wsdl.extensions.ExtensionRegistry registry)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
filter
protected java.io.FilenameFilter filter
AbstractWsdl1Deployer
public AbstractWsdl1Deployer(ServiceMixComponent component)
canDeploy
public boolean canDeploy(java.lang.String serviceUnitName,
java.lang.String serviceUnitRootPath)
- Description copied from interface:
Deployer
- Check if this deployer is able to handle a given artifact.
- Parameters:
serviceUnitName - the name of the service unitserviceUnitRootPath - the path of the exploded service unit
- Returns:
true if this deployer can handle the given artifact
deploy
public ServiceUnit deploy(java.lang.String serviceUnitName,
java.lang.String serviceUnitRootPath)
throws javax.jbi.management.DeploymentException
- Description copied from interface:
Deployer
- Actually deploys the given service unit and build a ServiceUnit object
that contains endpoints.
- Parameters:
serviceUnitName - the name of the service unitserviceUnitRootPath - the path of the exploded service unit
- Returns:
- a service unit containing endpoints
- Throws:
javax.jbi.management.DeploymentException - if an error occurs
initFromWsdl
protected void initFromWsdl(ServiceUnit su,
java.io.File wsdl)
throws javax.jbi.management.DeploymentException
- Throws:
javax.jbi.management.DeploymentException
createWsdlReader
protected javax.wsdl.xml.WSDLReader createWsdlReader()
throws javax.wsdl.WSDLException
- Throws:
javax.wsdl.WSDLException
registerExtensions
protected void registerExtensions(javax.wsdl.extensions.ExtensionRegistry registry)
createServiceUnit
protected ServiceUnit createServiceUnit(java.lang.String name,
java.lang.String rootPath)
createEndpoint
protected abstract AbstractEndpoint createEndpoint(javax.wsdl.extensions.ExtensibilityElement portElement,
javax.wsdl.extensions.ExtensibilityElement bindingElement,
JbiEndpoint jbiEndpoint)
filterPortElement
protected abstract boolean filterPortElement(javax.wsdl.extensions.ExtensibilityElement element)
filterBindingElement
protected abstract boolean filterBindingElement(javax.wsdl.extensions.ExtensibilityElement element)
Copyright © 2005-2012 FuseSource. All Rights Reserved.