org.openejb.corba
Class SunNameService
java.lang.Object
org.openejb.corba.SunNameService
- All Implemented Interfaces:
- org.apache.geronimo.gbean.GBeanLifecycle
- public class SunNameService
- extends Object
- implements org.apache.geronimo.gbean.GBeanLifecycle
Starts the Sun transient cos naming service using NSORB. This only not run
on a Java VM containing the Sun ORB classes. Add the following to your plan
to use this service:
geronimo/j2ee-system/${geronimo_version}/car
ServerInfo
var/cosnaming.db
2809
- Version:
- $Revision: 445820 $ $Date: 2005-12-05 22:30:13 +0100 (Mon, 05 Dec 2005) $
Field Summary |
static org.apache.geronimo.gbean.GBeanInfo |
GBEAN_INFO
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GBEAN_INFO
public static final org.apache.geronimo.gbean.GBeanInfo GBEAN_INFO
SunNameService
protected SunNameService()
SunNameService
public SunNameService(org.apache.geronimo.system.serverinfo.ServerInfo serverInfo,
String dbDir,
int port)
throws Exception
getPort
public int getPort()
getAddress
public InetSocketAddress getAddress()
doStart
public void doStart()
throws Exception
- Specified by:
doStart
in interface org.apache.geronimo.gbean.GBeanLifecycle
- Throws:
Exception
doStop
public void doStop()
throws Exception
- Specified by:
doStop
in interface org.apache.geronimo.gbean.GBeanLifecycle
- Throws:
Exception
doFail
public void doFail()
- Specified by:
doFail
in interface org.apache.geronimo.gbean.GBeanLifecycle
getGBeanInfo
public static org.apache.geronimo.gbean.GBeanInfo getGBeanInfo()
Copyright © 1999-2006 OpenEJB. All Rights Reserved.