org.apache.wsrp4j.util
Class StateChangedServiceImpl

java.lang.Object
  extended byorg.apache.wsrp4j.util.StateChangedServiceImpl
All Implemented Interfaces:
StateChangedService
Direct Known Subclasses:
ProducerImpl, UserImpl, WSRPPortletImpl

public class StateChangedServiceImpl
extends java.lang.Object
implements StateChangedService

This class implements the StateChangedService interface and is the parent of all classes with StateChangeService functionality.

Version:
1.0
Author:
Ralf Altrichter

Constructor Summary
StateChangedServiceImpl()
          Constructor
 
Method Summary
 void addListener(StateChangedListener changeListener)
          Adds a StateChangedListener object to the internal array list.
 void stateChanged()
          Notifies all registered listeners by calling the stateChanged(StateChangedEvent e) method on the target object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StateChangedServiceImpl

public StateChangedServiceImpl()
Constructor

Method Detail

addListener

public void addListener(StateChangedListener changeListener)
Adds a StateChangedListener object to the internal array list.

Specified by:
addListener in interface StateChangedService
Parameters:
changeListener - to be added

stateChanged

public void stateChanged()
Notifies all registered listeners by calling the stateChanged(StateChangedEvent e) method on the target object.

Specified by:
stateChanged in interface StateChangedService