org.overlord.sramp.ui.client.services
Class AbstractService

java.lang.Object
  extended by org.overlord.sramp.ui.client.services.AbstractService
All Implemented Interfaces:
IService
Direct Known Subclasses:
ArtifactService, BreadcrumbService, GrowlService, LocalizationService, PlaceService, QueryService

public abstract class AbstractService
extends Object
implements IService

Base class for all services.

Author:
eric.wittmann@redhat.com

Constructor Summary
AbstractService()
          Constructor.
 
Method Summary
 void start(ServiceLifecycleContext context, IServiceLifecycleListener serviceListener)
          Called to start the service.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractService

public AbstractService()
Constructor.

Method Detail

start

public void start(ServiceLifecycleContext context,
                  IServiceLifecycleListener serviceListener)
Description copied from interface: IService
Called to start the service. The service *must* call the IServiceListener back when it is done starting. This provides the Service with an opportunity to do asynchronous start logic.

Specified by:
start in interface IService
See Also:
IService.start(org.overlord.sramp.ui.client.services.ServiceLifecycleContext, org.overlord.sramp.ui.client.services.IServiceLifecycleListener)


Copyright © 2012-2013 JBoss, a division of Red Hat. All Rights Reserved.