Package org.alfresco.util.remote.server
Class AlfrescoRmiRegistryFactoryBean
- java.lang.Object
-
- org.springframework.remoting.rmi.RmiRegistryFactoryBean
-
- org.alfresco.util.remote.server.AlfrescoRmiRegistryFactoryBean
-
- All Implemented Interfaces:
org.springframework.beans.factory.DisposableBean,org.springframework.beans.factory.FactoryBean<Registry>,org.springframework.beans.factory.InitializingBean
public class AlfrescoRmiRegistryFactoryBean extends org.springframework.remoting.rmi.RmiRegistryFactoryBeanThis class controls the RMI connectivity viaalfresco.jmx.connector.enabledproperty- Author:
- alex.mukha
-
-
Constructor Summary
Constructors Constructor Description AlfrescoRmiRegistryFactoryBean()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidafterPropertiesSet()protected RegistrygetRegistry(int registryPort)protected RegistrygetRegistry(int registryPort, RMIClientSocketFactory clientSocketFactory, RMIServerSocketFactory serverSocketFactory)protected RegistrygetRegistry(String registryHost, int registryPort, RMIClientSocketFactory clientSocketFactory, RMIServerSocketFactory serverSocketFactory)booleanisEnabled()voidsetEnabled(boolean enabled)
-
-
-
Method Detail
-
setEnabled
public void setEnabled(boolean enabled)
-
isEnabled
public boolean isEnabled()
-
afterPropertiesSet
public void afterPropertiesSet() throws Exception- Specified by:
afterPropertiesSetin interfaceorg.springframework.beans.factory.InitializingBean- Overrides:
afterPropertiesSetin classorg.springframework.remoting.rmi.RmiRegistryFactoryBean- Throws:
Exception
-
getRegistry
protected Registry getRegistry(String registryHost, int registryPort, RMIClientSocketFactory clientSocketFactory, RMIServerSocketFactory serverSocketFactory) throws RemoteException
- Overrides:
getRegistryin classorg.springframework.remoting.rmi.RmiRegistryFactoryBean- Throws:
RemoteException
-
getRegistry
protected Registry getRegistry(int registryPort, RMIClientSocketFactory clientSocketFactory, RMIServerSocketFactory serverSocketFactory) throws RemoteException
- Overrides:
getRegistryin classorg.springframework.remoting.rmi.RmiRegistryFactoryBean- Throws:
RemoteException
-
getRegistry
protected Registry getRegistry(int registryPort) throws RemoteException
- Overrides:
getRegistryin classorg.springframework.remoting.rmi.RmiRegistryFactoryBean- Throws:
RemoteException
-
-