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.RmiRegistryFactoryBean
This class controls the RMI connectivity via alfresco.jmx.connector.enabled property
Author:
alex.mukha
  • Constructor Details

    • AlfrescoRmiRegistryFactoryBean

      public AlfrescoRmiRegistryFactoryBean()
  • Method Details

    • setEnabled

      public void setEnabled(boolean enabled)
    • isEnabled

      public boolean isEnabled()
    • afterPropertiesSet

      public void afterPropertiesSet() throws Exception
      Specified by:
      afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
      Overrides:
      afterPropertiesSet in class org.springframework.remoting.rmi.RmiRegistryFactoryBean
      Throws:
      Exception
    • getRegistry

      protected Registry getRegistry(String registryHost, int registryPort, RMIClientSocketFactory clientSocketFactory, RMIServerSocketFactory serverSocketFactory) throws RemoteException
      Overrides:
      getRegistry in class org.springframework.remoting.rmi.RmiRegistryFactoryBean
      Throws:
      RemoteException
    • getRegistry

      protected Registry getRegistry(int registryPort, RMIClientSocketFactory clientSocketFactory, RMIServerSocketFactory serverSocketFactory) throws RemoteException
      Overrides:
      getRegistry in class org.springframework.remoting.rmi.RmiRegistryFactoryBean
      Throws:
      RemoteException
    • getRegistry

      protected Registry getRegistry(int registryPort) throws RemoteException
      Overrides:
      getRegistry in class org.springframework.remoting.rmi.RmiRegistryFactoryBean
      Throws:
      RemoteException