org.abstracthorizon.danube.service
Interface ServiceNotificationListener


public interface ServiceNotificationListener

Service notification listener interface.

Author:
Daniel Sendula

Method Summary
 void serviceAboutToChangeState(Service service, int newState)
          This method is called when service is about to change state
 void serviceChangedState(Service service, int oldState)
          This method is called when service state is changed.
 

Method Detail

serviceAboutToChangeState

void serviceAboutToChangeState(Service service,
                               int newState)
This method is called when service is about to change state

Parameters:
service - service
newState - new state

serviceChangedState

void serviceChangedState(Service service,
                         int oldState)
This method is called when service state is changed.

Parameters:
service - service
oldState - previous state


Copyright © 2005-2009 Abstract Horizon. All Rights Reserved.