public class Jsr181Endpoint extends ProviderEndpoint
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
annotations |
protected boolean |
mtomEnabled |
protected java.lang.Object |
pojo |
protected java.lang.String |
pojoClass |
protected java.util.Map |
properties |
protected java.lang.String |
serviceInterface |
static java.lang.String |
SOAP_FAULT_CODE |
static java.lang.String |
SOAP_FAULT_NODE |
static java.lang.String |
SOAP_FAULT_REASON |
static java.lang.String |
SOAP_FAULT_ROLE |
static java.lang.String |
SOAP_FAULT_SUBCODE |
protected java.lang.String |
style |
protected org.apache.servicemix.jbi.jaxp.SourceTransformer |
transformer |
protected java.lang.String |
typeMapping |
protected org.springframework.core.io.Resource |
wsdlResource |
protected org.codehaus.xfire.service.Service |
xfireService |
loggerdefinition, description, endpoint, interfaceName, service, serviceUnit| Constructor and Description |
|---|
Jsr181Endpoint() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
createDescription() |
protected org.w3c.dom.Document |
generateWsdl() |
java.lang.String |
getAnnotations() |
protected org.apache.servicemix.jbi.api.Container |
getContainer() |
java.lang.Object |
getPojo() |
java.lang.String |
getPojoClass() |
java.util.Map |
getProperties() |
java.lang.String |
getServiceInterface() |
java.lang.String |
getStyle() |
java.lang.String |
getTypeMapping() |
org.springframework.core.io.Resource |
getWsdlResource() |
org.codehaus.xfire.XFire |
getXFire() |
org.codehaus.xfire.service.Service |
getXFireService() |
protected void |
injectPojo(javax.jbi.component.ComponentContext context,
org.apache.servicemix.jbi.api.Container container) |
boolean |
isMtomEnabled() |
java.lang.Boolean |
isValidationEnabled() |
protected javax.wsdl.Definition |
loadDefinition() |
void |
process(javax.jbi.messaging.MessageExchange exchange) |
void |
registerService() |
void |
setAnnotations(java.lang.String annotations) |
void |
setMtomEnabled(boolean mtomEnabled) |
void |
setPojo(java.lang.Object pojo) |
void |
setPojoClass(java.lang.String pojoClass) |
void |
setProperties(java.util.Map properties) |
void |
setServiceInterface(java.lang.String serviceInterface) |
void |
setStyle(java.lang.String style)
Service style: can be
rpc, document,
wrapped or message. |
void |
setTypeMapping(java.lang.String typeMapping) |
void |
setValidationEnabled(java.lang.Boolean validationEnabled) |
void |
setWsdlResource(org.springframework.core.io.Resource wsdlResource) |
void |
start() |
void |
stop() |
protected void |
updateDescription() |
void |
validate()
Validate the endpoint at either deployment time for statically
defined endpoints or at runtime for dynamic endpoints
|
activate, deactivate, getRole, processInOnly, processInOutdone, fail, getChannel, getContext, getExchangeFactory, send, sendSyncgetDefinition, getDescription, getEndpoint, getInterfaceName, getKey, getService, getServiceUnit, isExchangeOkay, prepareExchange, setDefinition, setDescription, setEndpoint, setInterfaceName, setService, setServiceUnit, toStringpublic static final java.lang.String SOAP_FAULT_CODE
public static final java.lang.String SOAP_FAULT_SUBCODE
public static final java.lang.String SOAP_FAULT_REASON
public static final java.lang.String SOAP_FAULT_NODE
public static final java.lang.String SOAP_FAULT_ROLE
protected java.lang.Object pojo
protected java.lang.String pojoClass
protected java.lang.String annotations
protected java.lang.String typeMapping
protected java.lang.String serviceInterface
protected java.lang.String style
protected org.codehaus.xfire.service.Service xfireService
protected org.springframework.core.io.Resource wsdlResource
protected boolean mtomEnabled
protected java.util.Map properties
protected org.apache.servicemix.jbi.jaxp.SourceTransformer transformer
public java.lang.String getStyle()
public void setStyle(java.lang.String style)
rpc, document,
wrapped or message.
Default to wrappedstyle - the style to setpublic org.springframework.core.io.Resource getWsdlResource()
public void setWsdlResource(org.springframework.core.io.Resource wsdlResource)
wsdlResource - the wsdlResource to setpublic java.lang.Object getPojo()
public void setPojo(java.lang.Object pojo)
pojo - The pojo to set.public boolean isMtomEnabled()
public void setMtomEnabled(boolean mtomEnabled)
mtomEnabled - the mtomEnabled to setpublic java.lang.Boolean isValidationEnabled()
public void setValidationEnabled(java.lang.Boolean validationEnabled)
validationEnabled - the validationEnabled to setpublic java.util.Map getProperties()
public void setProperties(java.util.Map properties)
properties - the properties to setpublic org.codehaus.xfire.service.Service getXFireService()
public void start()
throws java.lang.Exception
start in interface Endpointstart in class SimpleEndpointjava.lang.Exceptionpublic void stop()
throws java.lang.Exception
stop in interface Endpointstop in class SimpleEndpointjava.lang.Exceptionprotected void injectPojo(javax.jbi.component.ComponentContext context,
org.apache.servicemix.jbi.api.Container container)
protected org.apache.servicemix.jbi.api.Container getContainer()
public void validate()
throws javax.jbi.management.DeploymentException
validate in interface Endpointvalidate in class AbstractEndpointjavax.jbi.management.DeploymentExceptionpublic void registerService()
throws java.lang.Exception
java.lang.Exceptionprotected void createDescription()
throws org.xml.sax.SAXException,
java.io.IOException,
javax.xml.parsers.ParserConfigurationException,
javax.wsdl.WSDLException,
java.lang.Exception
org.xml.sax.SAXExceptionjava.io.IOExceptionjavax.xml.parsers.ParserConfigurationExceptionjavax.wsdl.WSDLExceptionjava.lang.Exceptionprotected void updateDescription()
throws java.lang.Exception
java.lang.Exceptionprotected javax.wsdl.Definition loadDefinition()
throws java.io.IOException,
javax.wsdl.WSDLException
java.io.IOExceptionjavax.wsdl.WSDLExceptionprotected org.w3c.dom.Document generateWsdl()
throws org.xml.sax.SAXException,
java.io.IOException,
javax.xml.parsers.ParserConfigurationException
org.xml.sax.SAXExceptionjava.io.IOExceptionjavax.xml.parsers.ParserConfigurationExceptionpublic void process(javax.jbi.messaging.MessageExchange exchange)
throws java.lang.Exception
process in interface Endpointprocess in class ProviderEndpointjava.lang.Exceptionpublic org.codehaus.xfire.XFire getXFire()
public java.lang.String getPojoClass()
public void setPojoClass(java.lang.String pojoClass)
public java.lang.String getAnnotations()
public void setAnnotations(java.lang.String annotations)
public java.lang.String getTypeMapping()
public void setTypeMapping(java.lang.String typeMapping)
public java.lang.String getServiceInterface()
public void setServiceInterface(java.lang.String serviceInterface)
Copyright © 2005-2014 FuseSource. All Rights Reserved.