Skip navigation links

Oracle Fusion Middleware Management Java API Reference for Oracle Entitlements Server
11g Release 2 (11.1.2)

E54416-01


oracle.security.opss.service
Interface ServiceLifecycle

All Known Subinterfaces:
ConfigurationManagementService, ConfigurationService, RuntimeConfigurationService

public interface ServiceLifecycle

Method Summary
 void postStart()
          Performs service post initialization with other services available within the same context, start sub services or processes, e.g.
 void preStart()
          Performs service pre-initialization in Init state.
 void restart()
          Restarts an Inactive service, after restart, service becomes Active again.
 void start()
          Initializes service with bootstrap services, e.g.
 void stop()
          Stops service and the service becomes Inactive.
 void terminate()
          Completely terminate the service.

 

Method Detail

preStart

void preStart()
              throws JpsException
Performs service pre-initialization in Init state.
Throws:
JpsException

start

void start()
           throws JpsException
Initializes service with bootstrap services, e.g. connect to LDAP/DB. After start, service will become Active.
Throws:
JpsException

postStart

void postStart()
               throws JpsException
Performs service post initialization with other services available within the same context, start sub services or processes, e.g. start audit loader, start PDP service
Throws:
JpsException

stop

void stop()
          throws JpsException
Stops service and the service becomes Inactive.
Throws:
JpsException

restart

void restart()
             throws JpsException
Restarts an Inactive service, after restart, service becomes Active again.
Throws:
JpsException

terminate

void terminate()
               throws JpsException
Completely terminate the service. After service is stop, service can clean up its internal resources, cease service, and becomes Terminated, A terminated service cannot be re-used.
Throws:
JpsException

Skip navigation links

Oracle Fusion Middleware Management Java API Reference for Oracle Entitlements Server
11g Release 2 (11.1.2)

E54416-01


Copyright © 2011, 2015, Oracle and/or its affiliates. All rights reserved.