org.apache.servicemix.management
Class RmiRegistryFactoryBean

java.lang.Object
  extended by org.apache.servicemix.management.RmiRegistryFactoryBean
All Implemented Interfaces:
org.springframework.beans.factory.DisposableBean, org.springframework.beans.factory.FactoryBean, org.springframework.beans.factory.InitializingBean

public class RmiRegistryFactoryBean
extends java.lang.Object
implements org.springframework.beans.factory.FactoryBean, org.springframework.beans.factory.InitializingBean, org.springframework.beans.factory.DisposableBean

Author:
gnodet

Constructor Summary
RmiRegistryFactoryBean()
           
 
Method Summary
 void afterPropertiesSet()
           
 void destroy()
           
 java.lang.Object getObject()
           
 java.lang.Class getObjectType()
           
 int getPort()
           
 boolean isCreate()
           
 boolean isLocate()
           
 boolean isSingleton()
           
 void setCreate(boolean create)
           
 void setLocate(boolean locate)
           
 void setPort(int port)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RmiRegistryFactoryBean

public RmiRegistryFactoryBean()
Method Detail

isCreate

public boolean isCreate()
Returns:
the create

setCreate

public void setCreate(boolean create)
Parameters:
create - the create to set

isLocate

public boolean isLocate()
Returns:
the locate

setLocate

public void setLocate(boolean locate)
Parameters:
locate - the locate to set

getPort

public int getPort()
Returns:
the port

setPort

public void setPort(int port)
Parameters:
port - the port to set

getObject

public java.lang.Object getObject()
                           throws java.lang.Exception
Specified by:
getObject in interface org.springframework.beans.factory.FactoryBean
Throws:
java.lang.Exception

getObjectType

public java.lang.Class getObjectType()
Specified by:
getObjectType in interface org.springframework.beans.factory.FactoryBean

isSingleton

public boolean isSingleton()
Specified by:
isSingleton in interface org.springframework.beans.factory.FactoryBean

afterPropertiesSet

public void afterPropertiesSet()
                        throws java.rmi.RemoteException
Specified by:
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
Throws:
java.rmi.RemoteException

destroy

public void destroy()
             throws java.rmi.RemoteException
Specified by:
destroy in interface org.springframework.beans.factory.DisposableBean
Throws:
java.rmi.RemoteException


Copyright © 2007-2009 The Apache Software Foundation. All Rights Reserved.