public class RMIRegistryFactoryBean extends Object implements org.springframework.beans.factory.FactoryBean<Registry>, org.springframework.beans.factory.InitializingBean
| Constructor and Description |
|---|
RMIRegistryFactoryBean() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet() |
SelfAwareRegistry |
getObject() |
Class<?> |
getObjectType() |
boolean |
isSingleton() |
void |
setClientSocketFactory(RMIClientSocketFactory clientSocketFactory) |
void |
setHost(String host) |
void |
setPort(int port) |
void |
setServerSocketFactory(RMIServerSocketFactory serverSocketFactory) |
public void setHost(String host)
public void setPort(int port)
public void setClientSocketFactory(RMIClientSocketFactory clientSocketFactory)
public void setServerSocketFactory(RMIServerSocketFactory serverSocketFactory)
public SelfAwareRegistry getObject() throws Exception
public Class<?> getObjectType()
getObjectType in interface org.springframework.beans.factory.FactoryBean<Registry>public boolean isSingleton()
isSingleton in interface org.springframework.beans.factory.FactoryBean<Registry>public void afterPropertiesSet()
throws UnknownHostException,
RemoteException
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanUnknownHostExceptionRemoteExceptionCopyright © 2019. All rights reserved.