|
Java EE 5 SDK | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.sun.appserv.management.util.jmx.CompositeDataHelper
public class CompositeDataHelper
Constructor Summary | |
---|---|
CompositeDataHelper()
|
Method Summary | ||
---|---|---|
Serializable |
asData(Serializable o)
|
|
static CompositeType |
getEmptyCompositeType()
Get a CompositeType describing a CompositeData which has no elements. |
|
CompositeType |
getStackTraceElementCompositeType()
Get a CompositeType describing a CompositeData which has no elements. |
|
protected
|
mapToCompositeData(String typeName,
String description,
Map<String,T> map)
Create a CompositeData from a Map. |
|
protected
|
mapToCompositeType(String typeName,
String description,
Map<String,T> map)
|
|
protected
|
mapToCompositeType(String typeName,
String description,
Map<String,T> map,
CompositeTypeFromNameCallback callback)
Create a CompositeType from a Map. |
|
CompositeData |
stackTraceElementCompositeData(StackTraceElement elem)
Get a CompositeType describing a CompositeData which has no elements. |
|
CompositeData |
throwableToCompositeData(Throwable t)
Get a CompositeType describing a CompositeData which has no elements. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CompositeDataHelper()
Method Detail |
---|
protected <T extends Serializable> CompositeType mapToCompositeType(String typeName, String description, Map<String,T> map) throws OpenDataException
OpenDataException
protected <T extends Serializable> CompositeType mapToCompositeType(String typeName, String description, Map<String,T> map, CompositeTypeFromNameCallback callback) throws OpenDataException
typeName
- the arbitrary name of the OpenType to be useddescription
- the arbitrary description of the OpenType to be usedmap
- a Map keyed by String, whose values may not be null
OpenDataException
protected <T extends Serializable> CompositeData mapToCompositeData(String typeName, String description, Map<String,T> map) throws OpenDataException
typeName
- the arbitrary name of the OpenType to be useddescription
- the arbitrary description of the OpenType to be usedmap
- a Map keyed by String, whose values may not be null
OpenDataException
public Serializable asData(Serializable o) throws OpenDataException
OpenDataException
public CompositeType getStackTraceElementCompositeType() throws OpenDataException
OpenDataException
public CompositeData stackTraceElementCompositeData(StackTraceElement elem) throws OpenDataException
OpenDataException
public CompositeData throwableToCompositeData(Throwable t) throws OpenDataException
OpenDataException
public static CompositeType getEmptyCompositeType() throws OpenDataException
OpenDataException
|
Java EE 5 SDK | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright 2006 Sun Microsystems, Inc. All rights reserved.