Class RMIRegistryFactoryBean
- java.lang.Object
-
- org.smallmind.nutsnbolts.spring.remote.RMIRegistryFactoryBean
-
- All Implemented Interfaces:
org.springframework.beans.factory.FactoryBean<Registry>,org.springframework.beans.factory.InitializingBean
public class RMIRegistryFactoryBean extends Object implements org.springframework.beans.factory.FactoryBean<Registry>, org.springframework.beans.factory.InitializingBean
-
-
Constructor Summary
Constructors Constructor Description RMIRegistryFactoryBean()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidafterPropertiesSet()SelfAwareRegistrygetObject()Class<?>getObjectType()booleanisSingleton()voidsetClientSocketFactory(RMIClientSocketFactory clientSocketFactory)voidsetHost(String host)voidsetPort(int port)voidsetServerSocketFactory(RMIServerSocketFactory serverSocketFactory)
-
-
-
Method Detail
-
setHost
public void setHost(String host)
-
setPort
public void setPort(int port)
-
setClientSocketFactory
public void setClientSocketFactory(RMIClientSocketFactory clientSocketFactory)
-
setServerSocketFactory
public void setServerSocketFactory(RMIServerSocketFactory serverSocketFactory)
-
getObject
public SelfAwareRegistry getObject() throws Exception
-
getObjectType
public Class<?> getObjectType()
- Specified by:
getObjectTypein interfaceorg.springframework.beans.factory.FactoryBean<Registry>
-
isSingleton
public boolean isSingleton()
- Specified by:
isSingletonin interfaceorg.springframework.beans.factory.FactoryBean<Registry>
-
afterPropertiesSet
public void afterPropertiesSet() throws UnknownHostException, RemoteException- Specified by:
afterPropertiesSetin interfaceorg.springframework.beans.factory.InitializingBean- Throws:
UnknownHostExceptionRemoteException
-
-