public final class DefaultMXBeanMappingFactoryOpenTypeMapper extends Object implements JMXBeanMappingSupplier
Constructor and Description |
---|
DefaultMXBeanMappingFactoryOpenTypeMapper() |
Modifier and Type | Method and Description |
---|---|
JMXBeanMapping |
get(Type type)
returns MXBeanMapping or null if type is not mappable to a OpenType.
|
<T> boolean |
register(Class<T> type,
JMXBeanMappingSupplier mapperSuplier) |
String |
toString() |
public DefaultMXBeanMappingFactoryOpenTypeMapper()
public <T> boolean register(Class<T> type, JMXBeanMappingSupplier mapperSuplier)
@Nullable public JMXBeanMapping get(Type type) throws NotSerializableException
get
in interface JMXBeanMappingSupplier
get
in interface ByTypeSupplier<JMXBeanMapping,NotSerializableException>
type
- the java typ eto lookup open type mappingNotSerializableException
- will be thrown if type is a non serializable class (not interface).Copyright © 2018 SPF4J. All rights reserved.