dsto.dfc.util
Class BasicClassInstantiationEventSource

java.lang.Object
  extended by dsto.dfc.util.BasicClassInstantiationEventSource
All Implemented Interfaces:
Copyable, Serializable, Cloneable

public class BasicClassInstantiationEventSource
extends Object
implements Serializable, Copyable

Basic support class for managing ClassInstantiation listeners.

Version:
$Revision$
See Also:
ClassInstantiationListener, Serialized Form

Constructor Summary
BasicClassInstantiationEventSource()
           
 
Method Summary
 void addClassInstantiationListener(ClassInstantiationListener l)
           
 Object clone()
          Create a completely separate copy of this object and any mutable objects owned by the object.
 void fireClassInstantiated(Object newInstance)
           
 void removeClassInstantiationListener(ClassInstantiationListener l)
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BasicClassInstantiationEventSource

public BasicClassInstantiationEventSource()
Method Detail

addClassInstantiationListener

public void addClassInstantiationListener(ClassInstantiationListener l)

removeClassInstantiationListener

public void removeClassInstantiationListener(ClassInstantiationListener l)

clone

public Object clone()
             throws CloneNotSupportedException
Description copied from interface: Copyable
Create a completely separate copy of this object and any mutable objects owned by the object.

NOTE: subclasses should not remove the CloneNotSupportedException throws clause if they themselves support subclassing: removing the CloneNotSupportedException declaration stops subclasses from indicating that a clone was not possible.

Specified by:
clone in interface Copyable
Overrides:
clone in class Object
Throws:
CloneNotSupportedException - if the clone failed or is not possible.

fireClassInstantiated

public void fireClassInstantiated(Object newInstance)


Copyright © 2008 Commonwealth of Australia