org.perfectjpattern.core.behavioral.observer
Class ParameterlessSubject
java.lang.Object
org.perfectjpattern.core.behavioral.observer.Subject<NullEventData>
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
-
-
Fields inherited from class org.perfectjpattern.core.behavioral.observer.Subject |
EMPTY_ARRAY |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ParameterlessSubject
public ParameterlessSubject()
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.