All Packages  Class Hierarchy  This Package  Previous  Next  Index

Interface javax.infobus.InfoBusPropertyMap

public interface InfoBusPropertyMap
InfoBusPropertyMap is a temporary interface designed to provide a mechanism for use with InfoBus 1.1 components that wish to supply properties on DataItemChangeEvents. To use it, the producer implements the interface and provides a reference to the implementation class in the change event constructor.

When implementing this interface for InfoBus 1.1, an implementation of sun.com.java.util.collections.Map, such as HashMap may be used, delegating the get() method to the class.

In InfoBus 1.2, this class and its method will be deprecated. Constructors that use it will also be deprecated, and new constructors will be introduced that specify java.util.Map instead. Support for applications compiled with InfoBus 1.1 will be present by removing the get() method from InfoBusPropertyMap and adding a clause to have it extend java.util.Map.


Method Index

 o get(Object)
Returns the Object to which the specified key is mapped.

Methods

 o get
 public abstract Object get(Object key)
Returns the Object to which the specified key is mapped. Returns null if the map contains no mapping for this key OR it maps to null. key must be a String, otherwise ClassCastException should be thrown. Property names should not contain the ‘*’ character.

Parameters:
key - the property name
Returns:
the corresponding property, or null if no match
Throws: ClassCastException
if key not a String

All Packages  Class Hierarchy  This Package  Previous  Next  Index