org.springframework.remoting.jaxws@Deprecated public class JaxRpcPortProxyFactoryBean extends JaxRpcPortClientInterceptor implements org.springframework.beans.factory.FactoryBean<Object>, org.springframework.beans.factory.BeanClassLoaderAware
FactoryBean for a specific port of a JAX-RPC service.
Exposes a proxy for the port, to be used for bean references.
Inherits configuration properties from JaxRpcPortClientInterceptor.
This factory is typically used with an RMI service interface. Alternatively, this factory can also proxy a JAX-RPC service with a matching non-RMI business interface, i.e. an interface that mirrors the RMI service methods but does not declare RemoteExceptions. In the latter case, RemoteExceptions thrown by the JAX-RPC stub will automatically get converted to Spring's unchecked RemoteAccessException.
If exposing the JAX-RPC port interface (i.e. an RMI interface) directly, setting "serviceInterface" is sufficient. If exposing a non-RMI business interface, the business interface needs to be set as "serviceInterface", and the JAX-RPC port interface as "portInterface".
JaxRpcPortClientInterceptor.setServiceInterface(java.lang.Class),
JaxRpcPortClientInterceptor.setPortInterface(java.lang.Class),
LocalJaxRpcServiceFactoryBeanlogger| Constructor and Description |
|---|
JaxRpcPortProxyFactoryBean()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet()
Deprecated.
Prepares the JAX-RPC service and port if the "lookupServiceOnStartup"
is turned on (which it is by default).
|
Object |
getObject()
Deprecated.
|
Class<?> |
getObjectType()
Deprecated.
|
boolean |
isSingleton()
Deprecated.
|
void |
setBeanClassLoader(ClassLoader classLoader)
Deprecated.
|
addCustomProperty, alwaysUseJaxRpcCall, doInvoke, doInvoke, getCustomPropertyMap, getEndpointAddress, getJaxRpcService, getPassword, getPortInterface, getPortName, getPortQName, getPortStub, getServiceInterface, getUsername, handleRemoteException, invoke, isConnectFailure, isMaintainSession, isPrepared, performJaxRpcCall, postProcessJaxRpcCall, postProcessPortStub, prepare, prepareJaxRpcCall, preparePortStub, reset, setCustomProperties, setCustomPropertyMap, setEndpointAddress, setJaxRpcService, setLookupServiceOnStartup, setMaintainSession, setPassword, setPortInterface, setPortName, setRefreshServiceAfterConnectFailure, setServiceInterface, setUsernamecreateJaxRpcService, createService, createServiceFactory, getJaxRpcServiceInterface, getJaxRpcServiceProperties, getNamespaceUri, getQName, getServiceFactory, getServiceFactoryClass, getServiceName, getServicePostProcessors, getWsdlDocumentUrl, postProcessJaxRpcService, setJaxRpcServiceInterface, setJaxRpcServiceProperties, setNamespaceUri, setServiceFactory, setServiceFactoryClass, setServiceName, setServicePostProcessors, setWsdlDocumentUrlpublic void setBeanClassLoader(ClassLoader classLoader)
setBeanClassLoader in interface org.springframework.beans.factory.BeanClassLoaderAwarepublic void afterPropertiesSet()
JaxRpcPortClientInterceptorafterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanafterPropertiesSet in class JaxRpcPortClientInterceptorpublic Object getObject()
getObject in interface org.springframework.beans.factory.FactoryBean<Object>public Class<?> getObjectType()
getObjectType in interface org.springframework.beans.factory.FactoryBean<Object>public boolean isSingleton()
isSingleton in interface org.springframework.beans.factory.FactoryBean<Object>