org.perfectjpattern.core.behavioral.observer
Class ParameterlessSubject

java.lang.Object
  extended by org.perfectjpattern.core.behavioral.observer.Subject<NullEventData>
      extended by org.perfectjpattern.core.behavioral.observer.ParameterlessSubject
All Implemented Interfaces:
IParameterlessSubject, ISubject<NullEventData>

public class ParameterlessSubject
extends Subject<NullEventData>
implements IParameterlessSubject

Convenience ISubject implementation for cases where the event has no IEventData associated

Version:
$Revision: 1.0 $Date: Feb 13, 2009 9:56:55 PM $
Author:
Giovanni Azua
 

Field Summary
 
Fields inherited from class org.perfectjpattern.core.behavioral.observer.Subject
EMPTY_ARRAY
 
Constructor Summary
ParameterlessSubject()
           
 
Method Summary
 void notifyObservers()
          Notifies all subscribed IObserver instances without the need to provide any IEventData
 
Methods inherited from class org.perfectjpattern.core.behavioral.observer.Subject
attach, clear, detach, getObservers, notifyObservers, size
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.perfectjpattern.core.api.behavioral.observer.ISubject
attach, clear, detach, notifyObservers, size
 

Constructor Detail

ParameterlessSubject

public ParameterlessSubject()
Method Detail

notifyObservers

public void notifyObservers()
Notifies all subscribed IObserver instances without the need to provide any IEventData

Specified by:
notifyObservers in interface IParameterlessSubject


Copyright © 2007-2009. All Rights Reserved.