The EncapsulatedEvent class is a subclass of java.util.EventObject and
is designed as part of a package sun.demo.encapsulatedEvents to demonstrate
the dynamic generation of JavaBeans Event Adaptor classes, and also a
technique for creating a polymorphic event processing model as an extension
of the existing JavaBeans Event Model.
sunw.demo.encapsulatedEvents.EncapsulatedEventAdaptor is an abstract base
class designed to support the dynamic generation of java.util.EventListener
sub-interface adaptor classes.
This class is used by the EncapsulatedEventAdaptorGenerator to author the
implementation of the EncapsulatedEventAdaptor classes that it is responsible
for generating and loading.
The EncapsulatedEventAdaptorGenerator is the class responsible for
dynamically generating classes that adapt arbitrary sub-interfaces of
java.util.EventListener to sunw.demo.encapsulatedEvents.EncapsulatedEventListener.
This is the polymorphic/generic EventListener interface that arbitrary
objects wishing to receive "encapsulated" events, from dynamically
generated adaptors interposed on specific event sources, should implement.
Containers or other "manager"-like objects wishing to offer an encapsulated
event stream from its "set" of containees or "managed" objects, should
implement this interface to expose this facility.