org.nakedobjects.object
Class NullUpdateNotifier

java.lang.Object
  extended byorg.nakedobjects.object.NullUpdateNotifier
All Implemented Interfaces:
UpdateNotifier

public class NullUpdateNotifier
extends java.lang.Object
implements UpdateNotifier


Constructor Summary
NullUpdateNotifier()
           
 
Method Summary
 void broadcastAdd(NakedCollection collection, NakedObject element)
          Indicates that an element has been added to a collection
 void broadcastObject(NakedObject object)
          Indicates that a specific object has been changed
 void broadcastRemove(NakedCollection collection, NakedObject element)
          Indicates that an element has been removed from a collection
 void init()
          Called when the UpdateNotifier is installed.
 void shutdown()
          Called when the UpdateNotifier is about to be shutdown.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NullUpdateNotifier

public NullUpdateNotifier()
Method Detail

broadcastAdd

public void broadcastAdd(NakedCollection collection,
                         NakedObject element)
Description copied from interface: UpdateNotifier
Indicates that an element has been added to a collection

Specified by:
broadcastAdd in interface UpdateNotifier
Parameters:
collection - the collection being added to
element - the object being added

broadcastObject

public void broadcastObject(NakedObject object)
Description copied from interface: UpdateNotifier
Indicates that a specific object has been changed

Specified by:
broadcastObject in interface UpdateNotifier
Parameters:
object -

broadcastRemove

public void broadcastRemove(NakedCollection collection,
                            NakedObject element)
Description copied from interface: UpdateNotifier
Indicates that an element has been removed from a collection

Specified by:
broadcastRemove in interface UpdateNotifier
Parameters:
collection - the collection being removed from
element - the object being removed

init

public void init()
Description copied from interface: UpdateNotifier
Called when the UpdateNotifier is installed. Should set up any required network connections and resources.

Specified by:
init in interface UpdateNotifier

shutdown

public void shutdown()
Description copied from interface: UpdateNotifier
Called when the UpdateNotifier is about to be shutdown. All connections and resources should be released.

Specified by:
shutdown in interface UpdateNotifier