public abstract class SoapEndpoint extends AbstractEndpoint
| Modifier and Type | Field and Description |
|---|---|
protected javax.jbi.servicedesc.ServiceEndpoint |
activated |
protected java.net.URI |
defaultMep |
protected javax.xml.namespace.QName |
defaultOperation |
protected boolean |
dynamic |
protected java.util.List |
policies |
protected SoapExchangeProcessor |
processor |
protected javax.jbi.messaging.MessageExchange.Role |
role |
protected boolean |
soap |
protected java.lang.String |
soapVersion |
protected java.lang.String |
targetEndpoint |
protected javax.xml.namespace.QName |
targetInterfaceName |
protected javax.xml.namespace.QName |
targetService |
protected org.springframework.core.io.Resource |
wsdlResource |
protected java.util.Map |
wsdls |
definition, description, endpoint, interfaceName, logger, service, serviceUnit| Constructor and Description |
|---|
SoapEndpoint() |
SoapEndpoint(boolean dynamic) |
| Modifier and Type | Method and Description |
|---|---|
void |
activate() |
protected abstract SoapExchangeProcessor |
createConsumerProcessor() |
protected abstract javax.jbi.servicedesc.ServiceEndpoint |
createExternalEndpoint() |
protected abstract SoapExchangeProcessor |
createProviderProcessor() |
protected javax.wsdl.xml.WSDLReader |
createWsdlReader() |
protected javax.wsdl.xml.WSDLWriter |
createWsdlWriter() |
void |
deactivate() |
AuthenticationService |
getAuthenticationService() |
java.net.URI |
getDefaultMep() |
javax.xml.namespace.QName |
getDefaultOperation() |
KeystoreManager |
getKeystoreManager() |
java.util.List |
getPolicies() |
javax.jbi.messaging.MessageExchange.Role |
getRole() |
java.lang.String |
getSoapVersion() |
java.lang.String |
getTargetEndpoint() |
javax.xml.namespace.QName |
getTargetInterfaceName() |
javax.xml.namespace.QName |
getTargetService() |
org.springframework.core.io.Resource |
getWsdlResource() |
java.util.Map |
getWsdls() |
boolean |
isSoap() |
protected void |
loadWsdl()
Load the wsdl for this endpoint.
|
protected void |
mapDefinition(javax.wsdl.Definition def) |
protected void |
mapImports(javax.wsdl.Definition def,
java.lang.String contextPath) |
protected abstract void |
overrideDefinition(javax.wsdl.Definition def) |
void |
process(javax.jbi.messaging.MessageExchange exchange) |
protected void |
registerExtensions(javax.wsdl.extensions.ExtensionRegistry registry) |
protected void |
retrieveProxiedEndpointDefinition()
Create a wsdl definition for a consumer endpoint.
|
void |
setDefaultMep(java.net.URI defaultMep) |
void |
setDefaultOperation(javax.xml.namespace.QName defaultOperation) |
void |
setDescription(org.w3c.dom.Document description)
In addition to setting the description, attempts to set
the wsdlResource to fix a reloading issue.
|
void |
setPolicies(java.util.List policies) |
void |
setRole(javax.jbi.messaging.MessageExchange.Role role) |
void |
setRoleAsString(java.lang.String role) |
void |
setSoap(boolean soap) |
void |
setSoapVersion(java.lang.String soapVersion) |
void |
setTargetEndpoint(java.lang.String targetEndpoint) |
void |
setTargetInterfaceName(javax.xml.namespace.QName targetInterfaceName) |
void |
setTargetService(javax.xml.namespace.QName targetServiceName) |
void |
setWsdlResource(org.springframework.core.io.Resource wsdlResource) |
void |
start() |
void |
stop() |
getDefinition, getDescription, getEndpoint, getInterfaceName, getKey, getService, getServiceUnit, isExchangeOkay, prepareExchange, setDefinition, setEndpoint, setInterfaceName, setService, setServiceUnit, toString, validateprotected javax.jbi.servicedesc.ServiceEndpoint activated
protected SoapExchangeProcessor processor
protected javax.jbi.messaging.MessageExchange.Role role
protected java.net.URI defaultMep
protected boolean soap
protected java.lang.String soapVersion
protected org.springframework.core.io.Resource wsdlResource
protected javax.xml.namespace.QName defaultOperation
protected javax.xml.namespace.QName targetInterfaceName
protected javax.xml.namespace.QName targetService
protected java.lang.String targetEndpoint
protected java.util.List policies
protected java.util.Map wsdls
protected boolean dynamic
public SoapEndpoint()
public SoapEndpoint(boolean dynamic)
public AuthenticationService getAuthenticationService()
public KeystoreManager getKeystoreManager()
public java.util.List getPolicies()
public void setPolicies(java.util.List policies)
policies - the policies to setpublic java.net.URI getDefaultMep()
public void setDefaultMep(java.net.URI defaultMep)
defaultMep - The defaultMep to set.public javax.xml.namespace.QName getDefaultOperation()
public void setDefaultOperation(javax.xml.namespace.QName defaultOperation)
defaultOperation - The defaultOperation to set.public javax.jbi.messaging.MessageExchange.Role getRole()
getRole in interface EndpointgetRole in class AbstractEndpointpublic void setRole(javax.jbi.messaging.MessageExchange.Role role)
role - The role to set.public boolean isSoap()
public void setSoap(boolean soap)
soap - The soap to set.public java.lang.String getSoapVersion()
public void setSoapVersion(java.lang.String soapVersion)
soapVersion - The soapVersion to set.public java.lang.String getTargetEndpoint()
public void setTargetEndpoint(java.lang.String targetEndpoint)
targetEndpoint - The targetEndpoint to set.public javax.xml.namespace.QName getTargetInterfaceName()
public void setTargetInterfaceName(javax.xml.namespace.QName targetInterfaceName)
targetInterfaceName - The targetInterfaceName to set.public javax.xml.namespace.QName getTargetService()
public void setTargetService(javax.xml.namespace.QName targetServiceName)
targetServiceName - The targetServiceName to set.public org.springframework.core.io.Resource getWsdlResource()
public void setWsdlResource(org.springframework.core.io.Resource wsdlResource)
wsdlResource - The wsdlResource to set.public void setRoleAsString(java.lang.String role)
role - public void setDescription(org.w3c.dom.Document description)
setDescription in class AbstractEndpointprotected void loadWsdl()
protected void retrieveProxiedEndpointDefinition()
public void activate()
throws java.lang.Exception
activate in interface Endpointactivate in class AbstractEndpointjava.lang.Exceptionpublic void start()
throws java.lang.Exception
start in interface Endpointstart in class AbstractEndpointjava.lang.Exceptionpublic void stop()
throws java.lang.Exception
stop in interface Endpointstop in class AbstractEndpointjava.lang.Exceptionpublic void process(javax.jbi.messaging.MessageExchange exchange)
throws java.lang.Exception
process in interface Endpointprocess in class AbstractEndpointjava.lang.Exceptionpublic void deactivate()
throws java.lang.Exception
deactivate in interface Endpointdeactivate in class AbstractEndpointjava.lang.Exceptionprotected abstract void overrideDefinition(javax.wsdl.Definition def)
throws java.lang.Exception
java.lang.Exceptionprotected abstract SoapExchangeProcessor createProviderProcessor()
protected abstract SoapExchangeProcessor createConsumerProcessor()
protected abstract javax.jbi.servicedesc.ServiceEndpoint createExternalEndpoint()
protected javax.wsdl.xml.WSDLReader createWsdlReader()
throws javax.wsdl.WSDLException
javax.wsdl.WSDLExceptionprotected javax.wsdl.xml.WSDLWriter createWsdlWriter()
throws javax.wsdl.WSDLException
javax.wsdl.WSDLExceptionprotected void registerExtensions(javax.wsdl.extensions.ExtensionRegistry registry)
protected void mapDefinition(javax.wsdl.Definition def)
throws javax.wsdl.WSDLException
javax.wsdl.WSDLExceptionprotected void mapImports(javax.wsdl.Definition def,
java.lang.String contextPath)
throws javax.wsdl.WSDLException
javax.wsdl.WSDLExceptionpublic java.util.Map getWsdls()
Copyright © 2005-2016 FuseSource. All Rights Reserved.