|
spring-web | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.springframework.remoting.jaxrpc.LocalJaxRpcServiceFactory
org.springframework.remoting.jaxrpc.JaxRpcPortClientInterceptor
org.springframework.remoting.jaxrpc.JaxRpcPortProxyFactoryBean
org.springframework.remoting.jaxws
@Deprecated public class JaxRpcPortProxyFactoryBean
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)
,
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 java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JaxRpcPortProxyFactoryBean()
Method Detail |
---|
public void setBeanClassLoader(java.lang.ClassLoader classLoader)
setBeanClassLoader
in interface org.springframework.beans.factory.BeanClassLoaderAware
public void afterPropertiesSet()
JaxRpcPortClientInterceptor
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
afterPropertiesSet
in class JaxRpcPortClientInterceptor
public java.lang.Object getObject()
getObject
in interface org.springframework.beans.factory.FactoryBean<java.lang.Object>
public java.lang.Class<?> getObjectType()
getObjectType
in interface org.springframework.beans.factory.FactoryBean<java.lang.Object>
public boolean isSingleton()
isSingleton
in interface org.springframework.beans.factory.FactoryBean<java.lang.Object>
|
spring-web | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |