org.openorb.ins
Class Service

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

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_PERSISTENCE
           
static java.lang.String OPT_PERSISTENCE_ARG_NAME
           
static java.lang.String OPT_PERSISTENCE_DESCRIP
           
static java.lang.String OPT_PERSISTENCE_LONG
           
static java.lang.String OPT_SHUTDOWN_ROOT
           
static java.lang.String OPT_SHUTDOWN_ROOT_DESCRIP
           
static java.lang.String OPT_SHUTDOWN_ROOT_LONG
           
static java.lang.String PERSISTENCE_DATABASE
           
static java.lang.String PERSISTENCE_DATABASE_CLASS
           
static java.lang.String PERSISTENCE_FILE
           
static java.lang.String PERSISTENCE_FILE_CLASS
           
static java.lang.String PERSISTENCE_MEMORY
           
static java.lang.String PERSISTENCE_MEMORY_CLASS
           
 
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()
          Thos 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

PERSISTENCE_MEMORY

public static final java.lang.String PERSISTENCE_MEMORY
See Also:
Constant Field Values

PERSISTENCE_MEMORY_CLASS

public static final java.lang.String PERSISTENCE_MEMORY_CLASS
See Also:
Constant Field Values

PERSISTENCE_FILE

public static final java.lang.String PERSISTENCE_FILE
See Also:
Constant Field Values

PERSISTENCE_FILE_CLASS

public static final java.lang.String PERSISTENCE_FILE_CLASS
See Also:
Constant Field Values

PERSISTENCE_DATABASE

public static final java.lang.String PERSISTENCE_DATABASE
See Also:
Constant Field Values

PERSISTENCE_DATABASE_CLASS

public static final java.lang.String PERSISTENCE_DATABASE_CLASS
See Also:
Constant Field Values

OPT_PERSISTENCE

public static final java.lang.String OPT_PERSISTENCE
See Also:
Constant Field Values

OPT_PERSISTENCE_LONG

public static final java.lang.String OPT_PERSISTENCE_LONG
See Also:
Constant Field Values

OPT_PERSISTENCE_ARG_NAME

public static final java.lang.String OPT_PERSISTENCE_ARG_NAME
See Also:
Constant Field Values

OPT_PERSISTENCE_DESCRIP

public static final java.lang.String OPT_PERSISTENCE_DESCRIP
See Also:
Constant Field Values

OPT_SHUTDOWN_ROOT

public static final java.lang.String OPT_SHUTDOWN_ROOT
See Also:
Constant Field Values

OPT_SHUTDOWN_ROOT_LONG

public static final java.lang.String OPT_SHUTDOWN_ROOT_LONG
See Also:
Constant Field Values

OPT_SHUTDOWN_ROOT_DESCRIP

public static final java.lang.String OPT_SHUTDOWN_ROOT_DESCRIP
See Also:
Constant Field Values
Constructor Detail

Service

public Service()
Method Detail

initializeService

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

Overrides:
initializeService in class org.openorb.util.service.ServiceBase

startService

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

Overrides:
startService in class org.openorb.util.service.ServiceBase

stopService

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

Overrides:
stopService in class org.openorb.util.service.ServiceBase