FileDocCategorySizeDatePackage
MapCapable.javaAPI DocGlassfish v2 API3265Fri May 04 22:30:30 BST 2007com.sun.appserv.management.base

MapCapable

public interface MapCapable
Interface which states that the object can be converted into a Map. Type parameter must be Object or Serializable.

Fields Summary
public static final String
MAP_CAPABLE_CLASS_NAME_KEY
The key for the type of Object this Map represents; all MapCapable objects will place their classname keyed by this key as a String into the Map returned from asMap().
Constructors Summary
Methods Summary
public java.util.MapasMap()
To be capable of being serialized and deserialized by generic clients, the following rules must be observed for the resulting Map.

The Map itself and any items it references, directly or indirectly must be of a class of one of the following:

  • any JMX OpenType
  • any serializable Collection in java.util whose items meet these rules
  • arrays of items whose values meet these rules
  • any Throwable found in java. or javax.
  • any MapCapable which can produce a Map following these rules

return
an equivalent Map representing the original object.

public java.lang.StringgetMapClassName()
Return the interface that this Map represents (the Java classname).