org.apache.geronimo.corba.util
Class OpenORBUtil

java.lang.Object
  extended by org.apache.geronimo.corba.util.OpenORBUtil
All Implemented Interfaces:
GBeanLifecycle

public class OpenORBUtil
extends Object
implements GBeanLifecycle

OpenORB specific startup GBean


Constructor Summary
OpenORBUtil()
           
OpenORBUtil(CORBABean server)
           
 
Method Summary
 void doFail()
          Fails the GBean.
 void doStart()
          Starts the GBean.
 void doStop()
          Stops the target.
 CORBABean getServer()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OpenORBUtil

public OpenORBUtil()

OpenORBUtil

public OpenORBUtil(CORBABean server)
Method Detail

getServer

public CORBABean getServer()

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


Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.