All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.ibm.beans.dip.DipToObjectMap

java.lang.Object
   |
   +----com.ibm.beans.dip.DipToObjectMap

public class DipToObjectMap
extends Object
implements Serializable
This is a support class for implementors of DippableSupport.

This class is for serialization. Because java.util.EventListener does not extend the java.io.Serializable interface, the DippableSupport interface should not force the listeners to be serializable. Therefore a DippableSupport implementation wants to re-create the listeners during deserialization. To re-create the listeners, the DippableSupport implemention need the Object returned from the Dip.createImplementation() method. This dip implementation object may or may not be Serializable. Either way is acceptable. If the dip implementation object is Serializable, the DippableSupport implementors need to save it during serialization. If the dip implementation object is not Serializable, the DippableSupport implementors need to re-create it during deserialization. This approach gives maximum flexability to the dips.


Constructor Index

 o DipToObjectMap(Dip, Object)
Constructs a DipToObjectMap instance.

Method Index

 o getDip()
Gets the dip.
 o getDipsImplementation()
Gets the implementation object of the dip.

Constructors

 o DipToObjectMap
 public DipToObjectMap(Dip newDip,
                       Object newImpl)
Constructs a DipToObjectMap instance.

Methods

 o getDip
 public final Dip getDip()
Gets the dip.

 o getDipsImplementation
 public final Object getDipsImplementation()
Gets the implementation object of the dip.

See Also:
createImplementation

All Packages  Class Hierarchy  This Package  Previous  Next  Index