javax.slee.serviceactivity
Interface ServiceActivity


public interface ServiceActivity

This interface is implemented by Service activity objects. Service activities can be used by SBBs to monitor the managed lifecycle of the Service they are a part of. When a Service is started, a Service activity is created and a ServiceStartedEvent is fired on the activity. When a Service is stopped, the Service activity is ended and a ActivityEndEvent is fired on the activity.

See Also:
ServiceActivityFactory, ServiceActivityContextInterfaceFactory

Method Summary
 ServiceID getService()
          Get the Service component identifier that identifies the Service component that this Service activity was created for.
 

Method Detail

getService

ServiceID getService()
Get the Service component identifier that identifies the Service component that this Service activity was created for.

Returns:
the Service component identifier.
Since:
SLEE 1.1


Copyright © 2009. All Rights Reserved.