org.huihoo.jfox.jndi
Class JNDIService

java.lang.Object
  |
  +--ServiceSupport
        |
        +--org.huihoo.jfox.jndi.JNDIService
All Implemented Interfaces:
JNDIServiceMBean, java.lang.Runnable

public class JNDIService
extends ServiceSupport
implements JNDIServiceMBean, java.lang.Runnable

Author:
Young Yang
See Also:
Serialized Form

Constructor Summary
JNDIService()
           
 
Method Summary
protected  void doCreate()
           
protected  void doDestroy()
           
protected  void doStart()
           
protected  void doStop()
           
 int getPort()
           
static void main(java.lang.String[] args)
           
 void run()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JNDIService

public JNDIService()
Method Detail

doCreate

protected void doCreate()
                 throws java.lang.Exception
java.lang.Exception

getPort

public int getPort()
Specified by:
getPort in interface JNDIServiceMBean

doStart

protected void doStart()
                throws java.lang.Exception
java.lang.Exception

doStop

protected void doStop()
               throws java.lang.Exception
java.lang.Exception

doDestroy

protected void doDestroy()
                  throws java.lang.Exception
java.lang.Exception

run

public void run()
Specified by:
run in interface java.lang.Runnable

main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception
java.lang.Exception