public abstract class OpenTypeUtils
extends java.lang.Object
Constructor and Description |
---|
OpenTypeUtils() |
Modifier and Type | Method and Description |
---|---|
static javax.management.openmbean.CompositeType |
createCompositeType(java.lang.Class<?> clazz)
Introspects the given class to generate composite type.
|
static javax.management.openmbean.OpenType |
createOpenType(java.lang.Class<?> clazz,
OpenTypeInfo info)
Introspects the given class to generate open type type.
|
static javax.management.openmbean.TabularType |
createTabularType(java.lang.Class<?> clazz)
Introspects the given class to generate tabular type.
|
static javax.management.openmbean.SimpleType |
getSimpleType(java.lang.Class<?> clazz)
Returns the simple type for the given class.
|
public static javax.management.openmbean.OpenType createOpenType(java.lang.Class<?> clazz, OpenTypeInfo info) throws javax.management.openmbean.OpenDataException
CompositeData
, TabularData
or their respective array then
OpenTypeInfo
param must not be null.clazz
- the class to introspectinfo
- the open type infojavax.management.openmbean.OpenDataException
- if type is nullpublic static javax.management.openmbean.SimpleType getSimpleType(java.lang.Class<?> clazz)
clazz
- the classpublic static javax.management.openmbean.CompositeType createCompositeType(java.lang.Class<?> clazz) throws javax.management.openmbean.OpenDataException
clazz
- the classjavax.management.openmbean.OpenDataException
- when an error happens
during inspectionpublic static javax.management.openmbean.TabularType createTabularType(java.lang.Class<?> clazz) throws javax.management.openmbean.OpenDataException
TabularTypeInfo
.clazz
- the classjavax.management.openmbean.OpenDataException
- when an error happens"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"