Skip navigation links

Oracle Fusion Middleware
Java API Reference for Oracle WebLogic Server
12c (12.2.1)

Part Number E55141-01
P4 Change 1723563 on 2015/10/09


weblogic.cluster.singleton
Interface SingletonService


public interface SingletonService

This interface defines a stateless lightweight singleton service that has the following contract:


Method Summary
abstract  void activate()
          Activate the service in this server.
abstract  void deactivate()
          Deactivate the service on this server.

 

Method Detail

activate

void activate()
Activate the service in this server. Perform setup operations needed for this service to function on this server. If activate throws any RuntimeException, the service will be activated in another server if possible.

deactivate

void deactivate()
Deactivate the service on this server. Relinquish ownership over resources so that it can be claimed by another server where activate will be called. Any RuntimeExceptions thrown by deactivate will be ignored and activate will be attempted elsewhere.

Skip navigation links

Copyright 1996, 2015, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.

Oracle Fusion Middleware
Java API Reference for Oracle WebLogic Server
12c (12.2.1)

Part Number E55141-01
P4 Change 1723563 on 2015/10/09