|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectch.elca.el4j.services.remoting.AbstractRemotingProtocol
ch.elca.el4j.services.remoting.protocol.AbstractInetSocketAddressProtocol
ch.elca.el4j.services.remoting.protocol.AbstractInetSocketAddressWebProtocol
ch.elca.el4j.services.remoting.protocol.JaxwsSpring
public class JaxwsSpring
This class implements all needed things for the JAX-WS protocol using Spring remoting.
Creating service exporters is not supported because of some restrictions
(see createExporterBean(RemotingServiceExporter, Class, Object)
.
This protocol should be used for clients (no servers) that communicate with self-written servers (i.e. Code is
available and should not be generated by wsimport). If the code of one side has to be generated, use Jaxws
.
Field Summary |
---|
Fields inherited from class ch.elca.el4j.services.remoting.AbstractRemotingProtocol |
---|
m_parentApplicationContext |
Constructor Summary | |
---|---|
JaxwsSpring()
|
Method Summary | |
---|---|
protected void |
adaptProxyServiceProperties(MutablePropertyValues props)
Method providing an extension point do adapt the proxy service. |
Object |
createExporterBean(RemotingServiceExporter exporterBean,
Class serviceInterfaceWithContext,
Object serviceProxy)
Do not use exporter from JaxwsSpring , but Jaxws , because it requires JDK 6 and
does not support implicit context passing. |
Object |
createProxyBean(RemotingProxyFactoryBean proxyBean,
Class serviceInterfaceWithContext)
Method to create the proxy bean. |
String |
generateUrl(AbstractRemotingBase remoteBase)
Method to generate the url to be able to access the service. |
Class |
getExporterObjectType()
Method to get the class type of the exporter object. |
boolean |
getProtocolSpecificContextPassing()
Does this protocol handle context passing on its own? |
Class |
getProxyObjectType()
Method to get the class type of the proxy object. |
Methods inherited from class ch.elca.el4j.services.remoting.protocol.AbstractInetSocketAddressWebProtocol |
---|
afterPropertiesSet, finalizeExporterDependentBeans, getContextPath, prepareExporterDependentBeans, setContextPath |
Methods inherited from class ch.elca.el4j.services.remoting.protocol.AbstractInetSocketAddressProtocol |
---|
getServiceHost, getServicePort, getServiceProtocol, setServiceHost, setServicePort, setServiceProtocol |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JaxwsSpring()
Method Detail |
---|
public Object createProxyBean(RemotingProxyFactoryBean proxyBean, Class serviceInterfaceWithContext)
createProxyBean
in class AbstractRemotingProtocol
proxyBean
- Is the bean where the method gets information about the proxy
bean.serviceInterfaceWithContext
- Is the modified interface.
public Object createExporterBean(RemotingServiceExporter exporterBean, Class serviceInterfaceWithContext, Object serviceProxy)
JaxwsSpring
, but Jaxws
, because it requires JDK 6 and
does not support implicit context passing.
Method to create the exporter bean.
createExporterBean
in class AbstractRemotingProtocol
exporterBean
- Is the bean where the method gets information about the
exporter bean.serviceInterfaceWithContext
- Is the modified interface.serviceProxy
- Is the bean which has to wrapped.
public Class getProxyObjectType()
getProxyObjectType
in class AbstractRemotingProtocol
public Class getExporterObjectType()
getExporterObjectType
in class AbstractRemotingProtocol
public String generateUrl(AbstractRemotingBase remoteBase)
generateUrl
in class AbstractInetSocketAddressProtocol
remoteBase
- Is the reference to get information about the service.
public boolean getProtocolSpecificContextPassing()
getProtocolSpecificContextPassing
in class AbstractRemotingProtocol
true
)protected void adaptProxyServiceProperties(MutablePropertyValues props)
props
- The service properties
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |