|
||||||||||
| 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()
|
String |
getBusCfg()
|
List<org.apache.cxf.feature.AbstractFeature> |
getFeatures()
|
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. |
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. |
URI |
getLocationURI()
|
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. |
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. |
Map<String,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(String busCfg)
Specifies the location of the CXF configuraiton file used to configure the CXF bus. |
void |
setFeatures(List<org.apache.cxf.feature.AbstractFeature> features)
Specifies the cxf features set for this endpoint |
void |
setInFaultInterceptors(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(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(URI locationURI)
Specifies the HTTP address of the exposed service. |
void |
setMtomEnabled(boolean mtomEnabled)
Specifies if the endpoint can support binnary attachments. |
void |
setOutFaultInterceptors(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(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(Map<String,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 Exception
activate in interface Endpointactivate in class ProviderEndpointExceptionpublic void processExchange(javax.jbi.messaging.MessageExchange exchange)
public void process(javax.jbi.messaging.MessageExchange exchange)
throws Exception
process in interface Endpointprocess in class ProviderEndpointExceptionpublic List<org.apache.cxf.interceptor.Interceptor<? extends org.apache.cxf.message.Message>> getOutFaultInterceptors()
getOutFaultInterceptors in interface CxfBcEndpointWithInterceptorInterceptor objectspublic List<org.apache.cxf.interceptor.Interceptor<? extends org.apache.cxf.message.Message>> getInFaultInterceptors()
getInFaultInterceptors in interface CxfBcEndpointWithInterceptorInterceptor objectspublic List<org.apache.cxf.interceptor.Interceptor<? extends org.apache.cxf.message.Message>> getInInterceptors()
getInInterceptors in interface CxfBcEndpointWithInterceptorInterceptor objectspublic List<org.apache.cxf.interceptor.Interceptor<? extends org.apache.cxf.message.Message>> getOutInterceptors()
getOutInterceptors in interface CxfBcEndpointWithInterceptorInterceptor objectspublic void setInInterceptors(List<org.apache.cxf.interceptor.Interceptor<? extends org.apache.cxf.message.Message>> interceptors)
setInInterceptors in interface CxfBcEndpointWithInterceptorinterceptors - a list of Interceptor objectspublic void setInFaultInterceptors(List<org.apache.cxf.interceptor.Interceptor<? extends org.apache.cxf.message.Message>> interceptors)
setInFaultInterceptors in interface CxfBcEndpointWithInterceptorinterceptors - a list of Interceptor objectspublic void setOutInterceptors(List<org.apache.cxf.interceptor.Interceptor<? extends org.apache.cxf.message.Message>> interceptors)
setOutInterceptors in interface CxfBcEndpointWithInterceptorinterceptors - a list of Interceptor objectspublic void setOutFaultInterceptors(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 Exception
start in interface Endpointstart in class SimpleEndpointExceptionprotected org.apache.cxf.Bus getBus()
public void setBusCfg(String busCfg)
busCfg - a string containing the relative path to the configuration filepublic String getBusCfg()
public void setLocationURI(URI locationURI)
locationURI - a URI objectpublic 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(List<org.apache.cxf.feature.AbstractFeature> features)
features - a list of AbstractFeature objectspublic 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(Map<String,Object> properties)
properties - the properties to addpublic Map<String,Object> getProperties()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||