spring-web

org.springframework.remoting.jaxrpc
Class JaxRpcPortProxyFactoryBean

java.lang.Object
  extended by org.springframework.remoting.jaxrpc.LocalJaxRpcServiceFactory
      extended by org.springframework.remoting.jaxrpc.JaxRpcPortClientInterceptor
          extended by org.springframework.remoting.jaxrpc.JaxRpcPortProxyFactoryBean
All Implemented Interfaces:
org.aopalliance.aop.Advice, org.aopalliance.intercept.Interceptor, org.aopalliance.intercept.MethodInterceptor, org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanClassLoaderAware, org.springframework.beans.factory.FactoryBean<java.lang.Object>, org.springframework.beans.factory.InitializingBean

Deprecated. in favor of JAX-WS support in org.springframework.remoting.jaxws

@Deprecated
public class JaxRpcPortProxyFactoryBean
extends JaxRpcPortClientInterceptor
implements org.springframework.beans.factory.FactoryBean<java.lang.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".

Since:
15.12.2003
Author:
Juergen Hoeller
See Also:
JaxRpcPortClientInterceptor.setServiceInterface(java.lang.Class), JaxRpcPortClientInterceptor.setPortInterface(java.lang.Class), LocalJaxRpcServiceFactoryBean

Field Summary
 
Fields inherited from class org.springframework.remoting.jaxrpc.LocalJaxRpcServiceFactory
logger
 
Constructor Summary
JaxRpcPortProxyFactoryBean()
          Deprecated.  
 
Method Summary
 void afterPropertiesSet()
          Deprecated. Prepares the JAX-RPC service and port if the "lookupServiceOnStartup" is turned on (which it is by default).
 java.lang.Object getObject()
          Deprecated.  
 java.lang.Class<?> getObjectType()
          Deprecated.  
 boolean isSingleton()
          Deprecated.  
 void setBeanClassLoader(java.lang.ClassLoader classLoader)
          Deprecated.  
 
Methods inherited from class org.springframework.remoting.jaxrpc.JaxRpcPortClientInterceptor
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, setUsername
 
Methods inherited from class org.springframework.remoting.jaxrpc.LocalJaxRpcServiceFactory
createJaxRpcService, createService, createServiceFactory, getJaxRpcServiceInterface, getJaxRpcServiceProperties, getNamespaceUri, getQName, getServiceFactory, getServiceFactoryClass, getServiceName, getServicePostProcessors, getWsdlDocumentUrl, postProcessJaxRpcService, setJaxRpcServiceInterface, setJaxRpcServiceProperties, setNamespaceUri, setServiceFactory, setServiceFactoryClass, setServiceName, setServicePostProcessors, setWsdlDocumentUrl
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JaxRpcPortProxyFactoryBean

public JaxRpcPortProxyFactoryBean()
Deprecated. 
Method Detail

setBeanClassLoader

public void setBeanClassLoader(java.lang.ClassLoader classLoader)
Deprecated. 
Specified by:
setBeanClassLoader in interface org.springframework.beans.factory.BeanClassLoaderAware

afterPropertiesSet

public void afterPropertiesSet()
Deprecated. 
Description copied from class: JaxRpcPortClientInterceptor
Prepares the JAX-RPC service and port if the "lookupServiceOnStartup" is turned on (which it is by default).

Specified by:
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
Overrides:
afterPropertiesSet in class JaxRpcPortClientInterceptor

getObject

public java.lang.Object getObject()
Deprecated. 
Specified by:
getObject in interface org.springframework.beans.factory.FactoryBean<java.lang.Object>

getObjectType

public java.lang.Class<?> getObjectType()
Deprecated. 
Specified by:
getObjectType in interface org.springframework.beans.factory.FactoryBean<java.lang.Object>

isSingleton

public boolean isSingleton()
Deprecated. 
Specified by:
isSingleton in interface org.springframework.beans.factory.FactoryBean<java.lang.Object>

spring-web