Interface ServiceNodeActivity
-
public interface ServiceNodeActivity
This interface is implemented by Service Node Activity objects. Service Node Activities can be used by SBBs to monitor the managed lifecycle of the service they are a part of on their individual cluster node. When a service is started on a node, a Service Node Activity is created on that node and a
ServiceNodeStartedEvent
is fired on the activity to the service. When the service is stopped on a node, the service node activity on that node is ended and aActivityEndEvent
is fired on the activity.Service Node Activities are never replicated. Each node has their own Service Node Activity that does not share state with any other node.
- Since:
- Rhino 2.6.1
- See Also:
ServiceNodeActivityFactory
,ServiceNodeActivityContextInterfaceFactory
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
equals(Object obj)
Determine if this Service Node Activity is equal to another object.ServiceID
getService()
Get the service component identifier that identifies the service component that this Service Node Activity was created for.
-
-
-
Method Detail
-
getService
ServiceID getService()
Get the service component identifier that identifies the service component that this Service Node Activity was created for.
- Returns:
- the service component identifier.
- Since:
- Rhino 2.6.1
-
-