org.openorb.tns
Class Service

java.lang.Object
  |
  +--org.openorb.util.service.ServiceBase
        |
        +--org.openorb.tns.Service
All Implemented Interfaces:
org.apache.avalon.framework.context.Contextualizable, org.apache.avalon.framework.activity.Disposable, org.apache.avalon.framework.activity.Initializable, org.apache.avalon.framework.logger.LogEnabled, org.apache.avalon.framework.parameters.Parameterizable, org.apache.avalon.framework.activity.Startable

public class Service
extends org.openorb.util.service.ServiceBase

Lifecycle manager for the transient NamingService.

Author:
Michael Rumpf

Field Summary
static java.lang.String OPT_SHUTDOWN_ROOT
           
static java.lang.String OPT_SHUTDOWN_ROOT_DESCRIP
           
static java.lang.String OPT_SHUTDOWN_ROOT_LONG
           
 
Fields inherited from class org.openorb.util.service.ServiceBase
OPT_BIND_CORBALOC, OPT_BIND_NS, OPT_DEBUG, OPT_DEBUG_ARG, OPT_DEBUG_DESCRIP, OPT_DEBUG_LONG, OPT_DEFAULT_CS, OPT_DEFAULT_CS_DESCRIP, OPT_DEFAULT_CS_LONG, OPT_HELP, OPT_HELP_DESCRIP, OPT_HELP_LONG, OPT_LOG_FILE, OPT_LOG_FILE_ARG, OPT_LOG_FILE_DESCRIP, OPT_LOG_FILE_LONG, OPT_NOBIND, OPT_NOBIND_ARG, OPT_NOBIND_DESCRIP, OPT_NOBIND_LONG, OPT_PRINT_IOR, OPT_PRINT_IOR_DESCRIP, OPT_PRINT_IOR_LONG, OPT_PRINT_URL, OPT_PRINT_URL_DESCRIP, OPT_PRINT_URL_LONG, OPT_VERSION, OPT_VERSION_DESCRIP, OPT_VERSION_LONG, OPT_WRITE_IOR_FILE, OPT_WRITE_IOR_FILE_ARG, OPT_WRITE_IOR_FILE_DESCRIP, OPT_WRITE_IOR_FILE_LONG, OPT_WRITE_URL_FILE, OPT_WRITE_URL_FILE_ARG, OPT_WRITE_URL_FILE_DESCRIP, OPT_WRITE_URL_FILE_LONG
 
Constructor Summary
Service()
           
 
Method Summary
 void initializeService()
          This method is called in the service lifecycle when the service is initialized.
 void startService()
          This method is called in the service lifecycle when the service is started.
 void stopService()
          This method is called in the service lifecycle when the service is stopped.
 
Methods inherited from class org.openorb.util.service.ServiceBase
contextualize, dispose, enableLogging, getLogger, getLongName, getORB, getShortName, getVersion, initialize, isContextualized, isInitialized, isLogEnabled, isParameterized, isStarted, parameterize, start, stop
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

OPT_SHUTDOWN_ROOT

public static final java.lang.String OPT_SHUTDOWN_ROOT

OPT_SHUTDOWN_ROOT_LONG

public static final java.lang.String OPT_SHUTDOWN_ROOT_LONG

OPT_SHUTDOWN_ROOT_DESCRIP

public static final java.lang.String OPT_SHUTDOWN_ROOT_DESCRIP
Constructor Detail

Service

public Service()
Method Detail

initializeService

public void initializeService()
This method is called in the service lifecycle when the service is initialized.

startService

public void startService()
This method is called in the service lifecycle when the service is started.

stopService

public void stopService()
This method is called in the service lifecycle when the service is stopped.