Oracle Fusion Middleware C++ API Reference for Oracle Coherence
12c (12.1.2)

E26041-01

Service Class Reference

#include <coherence/util/Service.hpp>

Inherits Controllable.

Inherited by Service [virtual].

List of all members.


Detailed Description

A Service is a Controllable that emits service lifecycle events.

See also:
ServiceListener
Author:
jh 2007.12.12

Public Types

typedef spec::Handle Handle
 Service Handle definition.
typedef spec::View View
 Service View definition.
typedef spec::Holder Holder
 Service Holder definition.

Public Member Functions

virtual void addServiceListener (ServiceListener::Handle hListener)=0
 Register a ServiceListener that will receive events pertaining to the lifecycle of this Service.
virtual void removeServiceListener (ServiceListener::Handle hListener)=0
 Unregister a ServiceListener from this ConnectionManager.

Member Function Documentation

virtual void addServiceListener ( ServiceListener::Handle  hListener  )  [pure virtual]

Register a ServiceListener that will receive events pertaining to the lifecycle of this Service.

Parameters:
hListener the new ServiceListener to register; if the listener has already been registered, this method has no effect

virtual void removeServiceListener ( ServiceListener::Handle  hListener  )  [pure virtual]

Unregister a ServiceListener from this ConnectionManager.

After a ServiceListener is removed, it will no longer receive events pertaining to the lifecycle of this Service.

Parameters:
hListener the ServiceListener to deregister; if the listener has not previously been registered, this method has no effect


The documentation for this class was generated from the following file:
Copyright © 2000, 2013, Oracle and/or its affiliates. All rights reserved.