org.apache.geronimo.kernel.rmi
Class RMIRegistryService
java.lang.Object
org.apache.geronimo.kernel.rmi.RMIRegistryService
- All Implemented Interfaces:
- GBeanLifecycle
public class RMIRegistryService
- extends Object
- implements GBeanLifecycle
Thin GBean wrapper around the RMI Registry.
- Version:
- $Rev: 959025 $ $Date: 2010-06-30 00:47:48 +0800 (Wed, 30 Jun 2010) $
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GBEAN_INFO
public static final GBeanInfo GBEAN_INFO
RMIRegistryService
public RMIRegistryService()
getPort
public int getPort()
setPort
public void setPort(int port)
getHost
public String getHost()
setHost
public void setHost(String host)
getProtocol
public String getProtocol()
getClassLoaderSpi
public String getClassLoaderSpi()
setClassLoaderSpi
public void setClassLoaderSpi(String classLoaderSpi)
doStart
public void doStart()
throws Exception
- Description copied from interface:
GBeanLifecycle
- Starts the GBean. This informs the GBean that it is about to transition to the running state.
- Specified by:
doStart in interface GBeanLifecycle
- Throws:
Exception - if the target failed to start; this will cause a transition to the failed state
doStop
public void doStop()
throws Exception
- Description copied from interface:
GBeanLifecycle
- Stops the target. This informs the GBean that it is about to transition to the stopped state.
- Specified by:
doStop in interface GBeanLifecycle
- Throws:
Exception - if the target failed to stop; this will cause a transition to the failed state
doFail
public void doFail()
- Description copied from interface:
GBeanLifecycle
- Fails the GBean. This informs the GBean that it is about to transition to the failed state.
- Specified by:
doFail in interface GBeanLifecycle
getListenAddress
public InetSocketAddress getListenAddress()
getGBeanInfo
public static GBeanInfo getGBeanInfo()
Copyright © 2003-2013 The Apache Geronimo development community. All Rights Reserved.