|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.servicemix.common.endpoints.AbstractEndpoint
org.apache.servicemix.common.endpoints.SimpleEndpoint
org.apache.servicemix.common.endpoints.ProviderEndpoint
org.apache.servicemix.cxfbc.CxfBcProvider
public class CxfBcProvider
| Field Summary |
|---|
| Fields inherited from class org.apache.servicemix.common.endpoints.AbstractEndpoint |
|---|
definition, description, endpoint, interfaceName, logger, service, serviceUnit |
| Constructor Summary | |
|---|---|
CxfBcProvider()
|
|
| Method Summary | |
|---|---|
void |
activate()
|
protected org.apache.cxf.Bus |
getBus()
|
java.lang.String |
getBusCfg()
|
java.util.List<org.apache.cxf.feature.AbstractFeature> |
getFeatures()
|
java.util.List<org.apache.cxf.interceptor.Interceptor<? extends org.apache.cxf.message.Message>> |
getInFaultInterceptors()
Returns the list of interceptors used to process fault messages being recieved by the endpoint. |
java.util.List<org.apache.cxf.interceptor.Interceptor<? extends org.apache.cxf.message.Message>> |
getInInterceptors()
Returns the list of interceptors used to process requests being recieved by the endpoint. |
java.net.URI |
getLocationURI()
|
java.util.List<org.apache.cxf.interceptor.Interceptor<? extends org.apache.cxf.message.Message>> |
getOutFaultInterceptors()
Returns the list of interceptors used to process fault messages being sent back to the consumer. |
java.util.List<org.apache.cxf.interceptor.Interceptor<? extends org.apache.cxf.message.Message>> |
getOutInterceptors()
Returns the list of interceptors used to process responses being sent back to the consumer. |
java.util.Map<java.lang.String,java.lang.Object> |
getProperties()
|
org.apache.cxf.Bus |
getProvidedBus()
|
org.springframework.core.io.Resource |
getWsdl()
|
boolean |
isMtomEnabled()
|
boolean |
isSchemaValidationEnabled()
|
boolean |
isSynchronous()
|
boolean |
isUseJBIWrapper()
|
boolean |
isUseSOAPEnvelope()
|
void |
process(javax.jbi.messaging.MessageExchange exchange)
|
void |
processExchange(javax.jbi.messaging.MessageExchange exchange)
|
void |
setBusCfg(java.lang.String busCfg)
Specifies the location of the CXF configuraiton file used to configure the CXF bus. |
void |
setFeatures(java.util.List<org.apache.cxf.feature.AbstractFeature> features)
Specifies the cxf features set for this endpoint |
void |
setInFaultInterceptors(java.util.List<org.apache.cxf.interceptor.Interceptor<? extends org.apache.cxf.message.Message>> interceptors)
Specifies a list of interceptors used to process faults recieved by the endpoint. |
void |
setInInterceptors(java.util.List<org.apache.cxf.interceptor.Interceptor<? extends org.apache.cxf.message.Message>> interceptors)
Specifies a list of interceptors used to process requests recieved by the endpoint. |
void |
setLocationURI(java.net.URI locationURI)
Specifies the HTTP address of the exposed service. |
void |
setMtomEnabled(boolean mtomEnabled)
Specifies if the endpoint can support binnary attachments. |
void |
setOutFaultInterceptors(java.util.List<org.apache.cxf.interceptor.Interceptor<? extends org.apache.cxf.message.Message>> interceptors)
Specifies a list of interceptors used to process faults sent by the endpoint. |
void |
setOutInterceptors(java.util.List<org.apache.cxf.interceptor.Interceptor<? extends org.apache.cxf.message.Message>> interceptors)
Specifies a list of interceptors used to process responses sent by the endpoint. |
void |
setProperties(java.util.Map<java.lang.String,java.lang.Object> properties)
Sets arbitrary properties that are added to the CXF context at the Endpoint level. |
void |
setProvidedBus(org.apache.cxf.Bus providedBus)
Specifies a preconfigured CXF bus to use. |
void |
setSchemaValidationEnabled(boolean schemaValidationEnabled)
Specifies if the endpoint use schemavalidation for the incoming/outgoing message. |
void |
setSynchronous(boolean synchronous)
Specifies if the endpoints send message synchronously to external server using underlying jms/http transport * @param synchronous a boolean |
void |
setUseJBIWrapper(boolean useJBIWrapper)
Specifies if the endpoint expects messages to use the JBI wrapper for SOAP messages. |
void |
setUseSOAPEnvelope(boolean useSOAPEnvelope)
Specifies if the endpoint expects soap messages when useJBIWrapper is false, if useJBIWrapper is true then ignore useSOAPEnvelope |
void |
setWsdl(org.springframework.core.io.Resource wsdl)
Specifies the location of the WSDL defining the endpoint's interface. |
void |
start()
|
void |
validate()
|
| Methods inherited from class org.apache.servicemix.common.endpoints.ProviderEndpoint |
|---|
deactivate, getRole, processInOnly, processInOut |
| Methods inherited from class org.apache.servicemix.common.endpoints.SimpleEndpoint |
|---|
done, fail, getChannel, getContext, getExchangeFactory, send, sendSync, stop |
| Methods inherited from class org.apache.servicemix.common.endpoints.AbstractEndpoint |
|---|
getDefinition, getDescription, getEndpoint, getInterfaceName, getKey, getService, getServiceUnit, isExchangeOkay, prepareExchange, setDefinition, setDescription, setEndpoint, setInterfaceName, setService, setServiceUnit, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public CxfBcProvider()
| Method Detail |
|---|
public void activate()
throws java.lang.Exception
activate in interface Endpointactivate in class ProviderEndpointjava.lang.Exceptionpublic void processExchange(javax.jbi.messaging.MessageExchange exchange)
public void process(javax.jbi.messaging.MessageExchange exchange)
throws java.lang.Exception
process in interface Endpointprocess in class ProviderEndpointjava.lang.Exceptionpublic java.util.List<org.apache.cxf.interceptor.Interceptor<? extends org.apache.cxf.message.Message>> getOutFaultInterceptors()
getOutFaultInterceptors in interface CxfBcEndpointWithInterceptorInterceptor objectspublic java.util.List<org.apache.cxf.interceptor.Interceptor<? extends org.apache.cxf.message.Message>> getInFaultInterceptors()
getInFaultInterceptors in interface CxfBcEndpointWithInterceptorInterceptor objectspublic java.util.List<org.apache.cxf.interceptor.Interceptor<? extends org.apache.cxf.message.Message>> getInInterceptors()
getInInterceptors in interface CxfBcEndpointWithInterceptorInterceptor objectspublic java.util.List<org.apache.cxf.interceptor.Interceptor<? extends org.apache.cxf.message.Message>> getOutInterceptors()
getOutInterceptors in interface CxfBcEndpointWithInterceptorInterceptor objectspublic void setInInterceptors(java.util.List<org.apache.cxf.interceptor.Interceptor<? extends org.apache.cxf.message.Message>> interceptors)
setInInterceptors in interface CxfBcEndpointWithInterceptorinterceptors - a list of Interceptor objectspublic void setInFaultInterceptors(java.util.List<org.apache.cxf.interceptor.Interceptor<? extends org.apache.cxf.message.Message>> interceptors)
setInFaultInterceptors in interface CxfBcEndpointWithInterceptorinterceptors - a list of Interceptor objectspublic void setOutInterceptors(java.util.List<org.apache.cxf.interceptor.Interceptor<? extends org.apache.cxf.message.Message>> interceptors)
setOutInterceptors in interface CxfBcEndpointWithInterceptorinterceptors - a list of Interceptor objectspublic void setOutFaultInterceptors(java.util.List<org.apache.cxf.interceptor.Interceptor<? extends org.apache.cxf.message.Message>> interceptors)
setOutFaultInterceptors in interface CxfBcEndpointWithInterceptorinterceptors - a list of Interceptor objectspublic void setWsdl(org.springframework.core.io.Resource wsdl)
wsdl - the location of the WSDL contract as a Resource objectpublic org.springframework.core.io.Resource getWsdl()
public void validate()
throws javax.jbi.management.DeploymentException
validate in interface Endpointvalidate in class AbstractEndpointjavax.jbi.management.DeploymentException
public void start()
throws java.lang.Exception
start in interface Endpointstart in class SimpleEndpointjava.lang.Exceptionprotected org.apache.cxf.Bus getBus()
public void setBusCfg(java.lang.String busCfg)
busCfg - a string containing the relative path to the configuration filepublic java.lang.String getBusCfg()
public void setLocationURI(java.net.URI locationURI)
locationURI - a URI objectpublic java.net.URI getLocationURI()
public void setMtomEnabled(boolean mtomEnabled)
mtomEnabled - a booleanpublic boolean isMtomEnabled()
public void setUseJBIWrapper(boolean useJBIWrapper)
useJBIWrapper - a booleanpublic boolean isUseJBIWrapper()
public void setUseSOAPEnvelope(boolean useSOAPEnvelope)
public boolean isUseSOAPEnvelope()
public void setSynchronous(boolean synchronous)
public boolean isSynchronous()
public void setFeatures(java.util.List<org.apache.cxf.feature.AbstractFeature> features)
features - a list of AbstractFeature objectspublic java.util.List<org.apache.cxf.feature.AbstractFeature> getFeatures()
public boolean isSchemaValidationEnabled()
public void setSchemaValidationEnabled(boolean schemaValidationEnabled)
schemaValidationEnabled - a booleanpublic void setProvidedBus(org.apache.cxf.Bus providedBus)
providedBus - public org.apache.cxf.Bus getProvidedBus()
public void setProperties(java.util.Map<java.lang.String,java.lang.Object> properties)
properties - the properties to addpublic java.util.Map<java.lang.String,java.lang.Object> getProperties()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||