|
||||||||||
| 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.ConsumerEndpoint
org.apache.servicemix.cxfbc.CxfBcConsumer
public class CxfBcConsumer
| Nested Class Summary | |
|---|---|
protected class |
CxfBcConsumer.JbiChainInitiationObserver
|
class |
CxfBcConsumer.JbiInvokerInterceptor
|
protected class |
CxfBcConsumer.JbiPostInvokerInterceptor
|
| Field Summary |
|---|
| Fields inherited from class org.apache.servicemix.common.endpoints.AbstractEndpoint |
|---|
definition, description, endpoint, interfaceName, logger, service, serviceUnit |
| Constructor Summary | |
|---|---|
CxfBcConsumer()
|
|
| Method Summary | |
|---|---|
void |
activate()
|
void |
deactivate()
|
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 responses being recieved by the endpoint. |
java.lang.String |
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 to the provider. |
java.util.List<org.apache.cxf.interceptor.Interceptor<? extends org.apache.cxf.message.Message>> |
getOutInterceptors()
Returns the list of interceptors used to process requests being sent to the provider. |
java.util.Map<java.lang.String,java.lang.Object> |
getProperties()
|
org.apache.cxf.Bus |
getProvidedBus()
|
long |
getTimeout()
|
org.springframework.core.io.Resource |
getWsdl()
|
boolean |
isDelegateToJaas()
|
boolean |
isMtomEnabled()
|
boolean |
isSchemaValidationEnabled()
|
boolean |
isSynchronous()
|
boolean |
isUseJBIWrapper()
|
boolean |
isUseSOAPEnvelope()
|
boolean |
isX509()
|
void |
process(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 |
setDelegateToJaas(boolean delegateToJaas)
Specifies if the endpoint delegate to JAASAuthenticationService to do the authentication. |
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 responses recieved by the endpoint. |
void |
setLocationURI(java.lang.String locationURI)
Specifies the HTTP address to which requests are sent. |
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 requests 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 endpoint expects send messageExchange by sendSync |
void |
setTimeout(long timeout)
Specifies the interval for which the endpoint will wait for a response, This is specified in seconds. |
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 |
setX509(boolean x509)
Specifies if the endpoint use X.509 Certificate to do the authentication. |
void |
start()
|
void |
stop()
|
void |
validate()
|
| Methods inherited from class org.apache.servicemix.common.endpoints.ConsumerEndpoint |
|---|
configureExchangeTarget, getRole, getTargetEndpoint, getTargetInterface, getTargetOperation, getTargetService, getTargetUri, setTargetEndpoint, setTargetInterface, setTargetOperation, setTargetService, setTargetUri |
| Methods inherited from class org.apache.servicemix.common.endpoints.SimpleEndpoint |
|---|
done, fail, getChannel, getContext, getExchangeFactory, send, sendSync |
| 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 CxfBcConsumer()
| Method Detail |
|---|
public org.springframework.core.io.Resource getWsdl()
public void setWsdl(org.springframework.core.io.Resource wsdl)
wsdl - the location of the WSDL contract as a Resource objectpublic 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 objects
public void process(javax.jbi.messaging.MessageExchange exchange)
throws java.lang.Exception
process in interface Endpointprocess in class AbstractEndpointjava.lang.Exception
public void activate()
throws java.lang.Exception
activate in interface Endpointactivate in class ConsumerEndpointjava.lang.Exception
public void start()
throws java.lang.Exception
start in interface Endpointstart in class SimpleEndpointjava.lang.Exception
public void stop()
throws java.lang.Exception
stop in interface Endpointstop in class SimpleEndpointjava.lang.Exception
public void deactivate()
throws java.lang.Exception
deactivate in interface Endpointdeactivate in class ConsumerEndpointjava.lang.Exception
public void validate()
throws javax.jbi.management.DeploymentException
validate in interface Endpointvalidate in class ConsumerEndpointjavax.jbi.management.DeploymentExceptionprotected org.apache.cxf.Bus getBus()
public void setLocationURI(java.lang.String locationURI)
locationURI - the URI as a stringpublic java.lang.String getLocationURI()
getLocationURI in class ConsumerEndpointpublic void setBusCfg(java.lang.String busCfg)
busCfg - a string containing the relative path to the configuration filepublic java.lang.String getBusCfg()
public void setMtomEnabled(boolean mtomEnabled)
mtomEnabled - a booleanpublic boolean isMtomEnabled()
public void setTimeout(long timeout)
timeout - the number of second to wait for a responsepublic long getTimeout()
public void setUseJBIWrapper(boolean useJBIWrapper)
useJBIWrapper - a booleanpublic boolean isUseJBIWrapper()
public void setUseSOAPEnvelope(boolean useSOAPEnvelope)
public boolean isUseSOAPEnvelope()
public void setSynchronous(boolean synchronous)
synchronous - a booleanpublic 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 void setX509(boolean x509)
x509 - a booleanpublic boolean isX509()
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 setDelegateToJaas(boolean delegateToJaas)
delegateToJaas - a booleanpublic boolean isDelegateToJaas()
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 | |||||||||