Package org.alfresco.util.remote.server
Class AlfrescoRmiRegistryFactoryBean
java.lang.Object
org.alfresco.util.remote.server.AlfrescoRmiRegistryFactoryBean
- All Implemented Interfaces:
org.springframework.beans.factory.DisposableBean,org.springframework.beans.factory.FactoryBean<Registry>
public class AlfrescoRmiRegistryFactoryBean
extends Object
implements org.springframework.beans.factory.FactoryBean<Registry>, org.springframework.beans.factory.DisposableBean
This class controls the RMI connectivity via
alfresco.jmx.connector.enabled property- Author:
- alex.mukha
-
Field Summary
Fields inherited from interface org.springframework.beans.factory.FactoryBean
OBJECT_TYPE_ATTRIBUTE -
Constructor Summary
ConstructorsConstructorDescriptionAlfrescoRmiRegistryFactoryBean(boolean enabled, int port, HostConfigurableSocketFactory socketFactory) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.beans.factory.FactoryBean
isSingleton
-
Constructor Details
-
AlfrescoRmiRegistryFactoryBean
public AlfrescoRmiRegistryFactoryBean(boolean enabled, int port, HostConfigurableSocketFactory socketFactory) throws Exception - Throws:
Exception
-
-
Method Details
-
isEnabled
public boolean isEnabled() -
destroy
- Specified by:
destroyin interfaceorg.springframework.beans.factory.DisposableBean- Throws:
Exception
-
getObject
-
getObjectType
- Specified by:
getObjectTypein interfaceorg.springframework.beans.factory.FactoryBean<Registry>
-
isCreated
public boolean isCreated() -
getPort
public int getPort()
-