public class CxfSeProxyFactoryBean
extends java.lang.Object
implements org.springframework.beans.factory.FactoryBean, org.springframework.beans.factory.InitializingBean, org.springframework.beans.factory.DisposableBean
| Modifier and Type | Class and Description |
|---|---|
static class |
CxfSeProxyFactoryBean.ClearClientResponseContextInterceptor |
class |
CxfSeProxyFactoryBean.PropagateSecuritySubjectDeliveryChannel |
| Constructor and Description |
|---|
CxfSeProxyFactoryBean() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet() |
void |
destroy() |
java.lang.Object |
getComponentRegistry() |
org.apache.servicemix.jbi.api.Container |
getContainer() |
javax.jbi.component.ComponentContext |
getContext()
Allows injecting the ComponentContext
|
java.lang.String |
getEndpoint()
The name of the endpoint.
|
org.apache.servicemix.jbi.api.ClientFactory |
getFactory()
Allows injecting a ClientFactory
|
javax.xml.namespace.QName |
getInterfaceName()
Specifies the servicemodel interface name
|
protected javax.jbi.component.ComponentContext |
getInternalContext() |
java.lang.String |
getName() |
java.lang.Object |
getObject() |
java.lang.Class |
getObjectType() |
javax.xml.namespace.QName |
getService()
Specifies the servicemodel service name
|
java.lang.Class |
getType() |
boolean |
isClearClientResponseContext() |
boolean |
isMtomEnabled() |
boolean |
isPropagateSecuritySubject() |
boolean |
isSingleton() |
boolean |
isUseJBIWrapper() |
boolean |
isUseSOAPEnvelope() |
void |
setClearClientResponseContext(boolean clearClientResponseContext)
Specifies if the CXF client response context is cleared after each proxy invocation.
|
void |
setComponentRegistry(java.lang.Object componentRegistry)
Allows injecting a custom component registry for looking up the proxied endpoint
|
void |
setContainer(org.apache.servicemix.jbi.api.Container container)
Allows injecting a JBI Container instance (e.g.
|
void |
setContext(javax.jbi.component.ComponentContext context) |
void |
setEndpoint(java.lang.String endpointName) |
void |
setFactory(org.apache.servicemix.jbi.api.ClientFactory factory) |
void |
setInterfaceName(javax.xml.namespace.QName interfaceName) |
void |
setMtomEnabled(boolean mtomEnabled)
Specifies if the endpoint can process messages with binary data.
|
void |
setName(java.lang.String name)
Specifies the JNDI name for looking up the ClientFactory.
|
void |
setPropagateSecuritySubject(boolean propagateSecuritySubject)
When set to
true, the security subject is propagated along to the proxied endpoint. |
void |
setService(javax.xml.namespace.QName service) |
void |
setType(java.lang.Class type)
Specifies the webservice POJO type
|
void |
setUseJBIWrapper(boolean useJBIWrapper)
Specifies if the endpoint expects messages that are encased in the
JBI wrapper used 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
|
public java.lang.Object getObject()
throws java.lang.Exception
getObject in interface org.springframework.beans.factory.FactoryBeanjava.lang.Exceptionpublic java.lang.Class getObjectType()
getObjectType in interface org.springframework.beans.factory.FactoryBeanpublic boolean isSingleton()
isSingleton in interface org.springframework.beans.factory.FactoryBeanprotected javax.jbi.component.ComponentContext getInternalContext()
throws java.lang.Exception
java.lang.Exceptionpublic java.lang.Class getType()
public void setType(java.lang.Class type)
public java.lang.String getEndpoint()
public void setEndpoint(java.lang.String endpointName)
public javax.xml.namespace.QName getInterfaceName()
public void setInterfaceName(javax.xml.namespace.QName interfaceName)
public javax.xml.namespace.QName getService()
public void setService(javax.xml.namespace.QName service)
public javax.jbi.component.ComponentContext getContext()
public void setContext(javax.jbi.component.ComponentContext context)
context - the context to setpublic org.apache.servicemix.jbi.api.Container getContainer()
public void setContainer(org.apache.servicemix.jbi.api.Container container)
public org.apache.servicemix.jbi.api.ClientFactory getFactory()
public void setFactory(org.apache.servicemix.jbi.api.ClientFactory factory)
factory - the factory to setpublic java.lang.String getName()
public void setName(java.lang.String name)
java:comp/env/jbi/ClientFactory.name - the name to setpublic boolean isPropagateSecuritySubject()
public void setPropagateSecuritySubject(boolean propagateSecuritySubject)
true, the security subject is propagated along to the proxied endpoint. Defaults to false.propagateSecuritySubject - the propagateSecuritySubject to setpublic void afterPropertiesSet()
throws java.lang.Exception
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanjava.lang.Exceptionpublic void destroy()
throws java.lang.Exception
destroy in interface org.springframework.beans.factory.DisposableBeanjava.lang.Exceptionpublic void setUseJBIWrapper(boolean useJBIWrapper)
public boolean isUseJBIWrapper()
public void setUseSOAPEnvelope(boolean useSOAPEnvelope)
public boolean isUseSOAPEnvelope()
public void setMtomEnabled(boolean mtomEnabled)
mtomEnabled - a booleanpublic boolean isMtomEnabled()
public void setComponentRegistry(java.lang.Object componentRegistry)
public java.lang.Object getComponentRegistry()
public void setClearClientResponseContext(boolean clearClientResponseContext)
public boolean isClearClientResponseContext()
Copyright © 2005-2014 FuseSource. All Rights Reserved.