Class SingletonServiceWrapper

  extended by weblogic.cluster.singleton.SingletonServiceWrapper
All Implemented Interfaces:
LeaseLostListener, SingletonService

public class SingletonServiceWrapper
extends Object
implements SingletonService, LeaseLostListener

Constructor Summary
SingletonServiceWrapper(SingletonService delegate)
Method Summary
 void activate()
          Activate the service in this server.
 void deactivate()
          Deactivate the service on this server.
 void onRelease()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail


public SingletonServiceWrapper(SingletonService delegate)
Method Detail


public void onRelease()
Specified by:
onRelease in interface LeaseLostListener


public void activate()
Description copied from interface: SingletonService
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.

Specified by:
activate in interface SingletonService


public void deactivate()
Description copied from interface: SingletonService
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.

Specified by:
deactivate in interface SingletonService

Documentation is available at
Copyright 1996,2009, 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.

Part Number E13941-01
Oracle WebLogic Server 10.3.1 API Reference