Class AlfrescoRmiRegistryFactoryBean

  • All Implemented Interfaces:
    org.springframework.beans.factory.DisposableBean, org.springframework.beans.factory.FactoryBean<java.rmi.registry.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
    • Field Summary

      • Fields inherited from class org.springframework.remoting.rmi.RmiRegistryFactoryBean

        logger
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void afterPropertiesSet()  
      protected java.rmi.registry.Registry getRegistry​(int registryPort)  
      protected java.rmi.registry.Registry getRegistry​(int registryPort, java.rmi.server.RMIClientSocketFactory clientSocketFactory, java.rmi.server.RMIServerSocketFactory serverSocketFactory)  
      protected java.rmi.registry.Registry getRegistry​(java.lang.String registryHost, int registryPort, java.rmi.server.RMIClientSocketFactory clientSocketFactory, java.rmi.server.RMIServerSocketFactory serverSocketFactory)  
      boolean isEnabled()  
      void setEnabled​(boolean enabled)  
      • Methods inherited from class org.springframework.remoting.rmi.RmiRegistryFactoryBean

        destroy, getHost, getObject, getObjectType, getPort, isSingleton, setAlwaysCreate, setClientSocketFactory, setHost, setPort, setServerSocketFactory, testRegistry
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • AlfrescoRmiRegistryFactoryBean

        public AlfrescoRmiRegistryFactoryBean()
    • Method Detail

      • setEnabled

        public void setEnabled​(boolean enabled)
      • isEnabled

        public boolean isEnabled()
      • afterPropertiesSet

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

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

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

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