Save This Page
Home » spring-framework-2.5.6-with-dependencies » org.springframework » remoting » jaxrpc » [javadoc | source]
org.springframework.remoting.jaxrpc
public class: JaxRpcPortProxyFactoryBean [javadoc | source]
java.lang.Object
   org.springframework.remoting.jaxrpc.LocalJaxRpcServiceFactory
      org.springframework.remoting.jaxrpc.JaxRpcPortClientInterceptor
         org.springframework.remoting.jaxrpc.JaxRpcPortProxyFactoryBean

All Implemented Interfaces:
    BeanClassLoaderAware, FactoryBean, org.aopalliance.intercept.MethodInterceptor, InitializingBean

org.springframework.beans.factory.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".

Fields inherited from org.springframework.remoting.jaxrpc.LocalJaxRpcServiceFactory:
logger
Method from org.springframework.remoting.jaxrpc.JaxRpcPortProxyFactoryBean Summary:
afterPropertiesSet,   getObject,   getObjectType,   isSingleton,   setBeanClassLoader
Methods from org.springframework.remoting.jaxrpc.JaxRpcPortClientInterceptor:
addCustomProperty,   afterPropertiesSet,   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 from 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 from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.springframework.remoting.jaxrpc.JaxRpcPortProxyFactoryBean Detail:
 public  void afterPropertiesSet() 
 public Object getObject() 
 public Class getObjectType() 
 public boolean isSingleton() 
 public  void setBeanClassLoader(ClassLoader classLoader)