com.anabas.sharedlet
Interface SharedletService

All Known Subinterfaces:
CapabilitiesManager, CommunicationService, LauncherService, LayoutService, PersistentStoreService, SessionManager, SharedletManager, TokenService

public interface SharedletService

The interface that all SharedletServices should implement. Each service implement will be placed in GXO under a meeting (or session)'s context in the "/services/" directory. The name of the service bound should be the name of the direct descendant interface of SharedletService.

For example, the CommunicationService interface extends SharedletService and provides event bus functionality; therefore, an implementation of the CommunicationService will be placed under "/services/CommunicationService".


Method Summary
 void init()
          Initialize the service.
 void resume()
          Resume the service.
 void shutdown()
          Shutdown the service.
 void suspend()
          Suspend the service.
 

Method Detail

init

public void init()
Initialize the service. The service should not initialize until this method is invoked.

suspend

public void suspend()
Suspend the service. The service should go into dormant state and utilize no resources although it may hold on to resources it already has.

shutdown

public void shutdown()
Shutdown the service. The service should relinquish all resources that it holds.

resume

public void resume()
Resume the service. Called after suspend is invoked. If the service is not shutdown, resume should have no effect.