public abstract class AbstractWsdl1Deployer extends AbstractDeployer
| Modifier and Type | Class and Description |
|---|---|
static class |
AbstractWsdl1Deployer.WsdlFilter |
| Modifier and Type | Field and Description |
|---|---|
protected java.io.FilenameFilter |
filter |
component, logger| Constructor and Description |
|---|
AbstractWsdl1Deployer(ServiceMixComponent component) |
| Modifier and Type | Method and Description |
|---|---|
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) |
failure, undeploy, validate, validatepublic AbstractWsdl1Deployer(ServiceMixComponent component)
public boolean canDeploy(java.lang.String serviceUnitName,
java.lang.String serviceUnitRootPath)
DeployerserviceUnitName - the name of the service unitserviceUnitRootPath - the path of the exploded service unittrue if this deployer can handle the given artifactpublic ServiceUnit deploy(java.lang.String serviceUnitName, java.lang.String serviceUnitRootPath) throws javax.jbi.management.DeploymentException
DeployerserviceUnitName - the name of the service unitserviceUnitRootPath - the path of the exploded service unitjavax.jbi.management.DeploymentException - if an error occursprotected void initFromWsdl(ServiceUnit su, java.io.File wsdl) throws javax.jbi.management.DeploymentException
javax.jbi.management.DeploymentExceptionprotected javax.wsdl.xml.WSDLReader createWsdlReader()
throws javax.wsdl.WSDLException
javax.wsdl.WSDLExceptionprotected void registerExtensions(javax.wsdl.extensions.ExtensionRegistry registry)
protected ServiceUnit createServiceUnit(java.lang.String name, java.lang.String rootPath)
protected abstract AbstractEndpoint createEndpoint(javax.wsdl.extensions.ExtensibilityElement portElement, javax.wsdl.extensions.ExtensibilityElement bindingElement, JbiEndpoint jbiEndpoint)
protected abstract boolean filterPortElement(javax.wsdl.extensions.ExtensibilityElement element)
protected abstract boolean filterBindingElement(javax.wsdl.extensions.ExtensibilityElement element)
Copyright © 2005-2014 FuseSource. All Rights Reserved.