org.apache.servicemix.soap
Class SoapEndpoint
java.lang.Object
org.apache.servicemix.common.endpoints.AbstractEndpoint
org.apache.servicemix.soap.SoapEndpoint
- All Implemented Interfaces:
- Endpoint
public abstract class SoapEndpoint
- extends AbstractEndpoint
| Methods inherited from class org.apache.servicemix.common.endpoints.AbstractEndpoint |
getDefinition, getDescription, getEndpoint, getInterfaceName, getKey, getService, getServiceUnit, isExchangeOkay, prepareExchange, setDefinition, setEndpoint, setInterfaceName, setService, setServiceUnit, toString, validate |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
activated
protected javax.jbi.servicedesc.ServiceEndpoint activated
processor
protected SoapExchangeProcessor processor
role
protected javax.jbi.messaging.MessageExchange.Role role
defaultMep
protected java.net.URI defaultMep
soap
protected boolean soap
soapVersion
protected java.lang.String soapVersion
wsdlResource
protected org.springframework.core.io.Resource wsdlResource
defaultOperation
protected javax.xml.namespace.QName defaultOperation
targetInterfaceName
protected javax.xml.namespace.QName targetInterfaceName
targetService
protected javax.xml.namespace.QName targetService
targetEndpoint
protected java.lang.String targetEndpoint
policies
protected java.util.List policies
wsdls
protected java.util.Map wsdls
dynamic
protected boolean dynamic
SoapEndpoint
public SoapEndpoint()
SoapEndpoint
public SoapEndpoint(boolean dynamic)
getAuthenticationService
public AuthenticationService getAuthenticationService()
getKeystoreManager
public KeystoreManager getKeystoreManager()
getPolicies
public java.util.List getPolicies()
- Returns:
- the policies
setPolicies
public void setPolicies(java.util.List policies)
- Parameters:
policies - the policies to set
getDefaultMep
public java.net.URI getDefaultMep()
- Returns:
- Returns the defaultMep.
setDefaultMep
public void setDefaultMep(java.net.URI defaultMep)
- Parameters:
defaultMep - The defaultMep to set.
getDefaultOperation
public javax.xml.namespace.QName getDefaultOperation()
- Returns:
- Returns the defaultOperation.
setDefaultOperation
public void setDefaultOperation(javax.xml.namespace.QName defaultOperation)
- Parameters:
defaultOperation - The defaultOperation to set.
getRole
public javax.jbi.messaging.MessageExchange.Role getRole()
- Specified by:
getRole in interface Endpoint- Specified by:
getRole in class AbstractEndpoint
- Returns:
- Returns the role.
setRole
public void setRole(javax.jbi.messaging.MessageExchange.Role role)
- Parameters:
role - The role to set.
isSoap
public boolean isSoap()
- Returns:
- Returns the soap.
setSoap
public void setSoap(boolean soap)
- Parameters:
soap - The soap to set.
getSoapVersion
public java.lang.String getSoapVersion()
- Returns:
- Returns the soapVersion.
setSoapVersion
public void setSoapVersion(java.lang.String soapVersion)
- Parameters:
soapVersion - The soapVersion to set.
getTargetEndpoint
public java.lang.String getTargetEndpoint()
- Returns:
- Returns the targetEndpoint.
setTargetEndpoint
public void setTargetEndpoint(java.lang.String targetEndpoint)
- Parameters:
targetEndpoint - The targetEndpoint to set.
getTargetInterfaceName
public javax.xml.namespace.QName getTargetInterfaceName()
- Returns:
- Returns the targetInterfaceName.
setTargetInterfaceName
public void setTargetInterfaceName(javax.xml.namespace.QName targetInterfaceName)
- Parameters:
targetInterfaceName - The targetInterfaceName to set.
getTargetService
public javax.xml.namespace.QName getTargetService()
- Returns:
- Returns the targetServiceName.
setTargetService
public void setTargetService(javax.xml.namespace.QName targetServiceName)
- Parameters:
targetServiceName - The targetServiceName to set.
getWsdlResource
public org.springframework.core.io.Resource getWsdlResource()
- Returns:
- Returns the wsdlResource.
setWsdlResource
public void setWsdlResource(org.springframework.core.io.Resource wsdlResource)
- Parameters:
wsdlResource - The wsdlResource to set.
setRoleAsString
public void setRoleAsString(java.lang.String role)
- Parameters:
role -
setDescription
public void setDescription(org.w3c.dom.Document description)
- In addition to setting the description, attempts to set
the wsdlResource to fix a reloading issue.
- Overrides:
setDescription in class AbstractEndpoint
loadWsdl
protected void loadWsdl()
- Load the wsdl for this endpoint.
retrieveProxiedEndpointDefinition
protected void retrieveProxiedEndpointDefinition()
- Create a wsdl definition for a consumer endpoint.
Loads the target endpoint definition and add http binding
informations to it.
activate
public void activate()
throws java.lang.Exception
- Specified by:
activate in interface Endpoint- Specified by:
activate in class AbstractEndpoint
- Throws:
java.lang.Exception
start
public void start()
throws java.lang.Exception
- Specified by:
start in interface Endpoint- Specified by:
start in class AbstractEndpoint
- Throws:
java.lang.Exception
stop
public void stop()
throws java.lang.Exception
- Specified by:
stop in interface Endpoint- Specified by:
stop in class AbstractEndpoint
- Throws:
java.lang.Exception
process
public void process(javax.jbi.messaging.MessageExchange exchange)
throws java.lang.Exception
- Specified by:
process in interface Endpoint- Specified by:
process in class AbstractEndpoint
- Throws:
java.lang.Exception
deactivate
public void deactivate()
throws java.lang.Exception
- Specified by:
deactivate in interface Endpoint- Specified by:
deactivate in class AbstractEndpoint
- Throws:
java.lang.Exception
overrideDefinition
protected abstract void overrideDefinition(javax.wsdl.Definition def)
throws java.lang.Exception
- Throws:
java.lang.Exception
createProviderProcessor
protected abstract SoapExchangeProcessor createProviderProcessor()
createConsumerProcessor
protected abstract SoapExchangeProcessor createConsumerProcessor()
createExternalEndpoint
protected abstract javax.jbi.servicedesc.ServiceEndpoint createExternalEndpoint()
createWsdlReader
protected javax.wsdl.xml.WSDLReader createWsdlReader()
throws javax.wsdl.WSDLException
- Throws:
javax.wsdl.WSDLException
createWsdlWriter
protected javax.wsdl.xml.WSDLWriter createWsdlWriter()
throws javax.wsdl.WSDLException
- Throws:
javax.wsdl.WSDLException
registerExtensions
protected void registerExtensions(javax.wsdl.extensions.ExtensionRegistry registry)
mapDefinition
protected void mapDefinition(javax.wsdl.Definition def)
throws javax.wsdl.WSDLException
- Throws:
javax.wsdl.WSDLException
mapImports
protected void mapImports(javax.wsdl.Definition def,
java.lang.String contextPath)
throws javax.wsdl.WSDLException
- Throws:
javax.wsdl.WSDLException
getWsdls
public java.util.Map getWsdls()
- Returns:
- Returns the wsdls.
Copyright © 2005-2012 FuseSource. All Rights Reserved.