public class SchemaLookup extends io.hawt.util.MBeanSupport implements SchemaLookupMXBean
Constructor and Description |
---|
SchemaLookup() |
Modifier and Type | Method and Description |
---|---|
protected Class<?> |
getClass(String name) |
protected Class<?> |
getClass(String name,
boolean quiet) |
protected String |
getDefaultObjectName() |
com.fasterxml.jackson.databind.ObjectMapper |
getMapper() |
String |
getSchemaForClass(Class<?> clazz) |
String |
getSchemaForClass(String name)
Returns a JSON schema representing the desired class
|
static SchemaLookup |
getSingleton() |
void |
init() |
void |
setMapper(com.fasterxml.jackson.databind.ObjectMapper mapper) |
public static SchemaLookup getSingleton()
public void init()
init
in class io.hawt.util.MBeanSupport
protected String getDefaultObjectName()
getDefaultObjectName
in class io.hawt.util.MBeanSupport
public String getSchemaForClass(String name)
SchemaLookupMXBean
getSchemaForClass
in interface SchemaLookupMXBean
public com.fasterxml.jackson.databind.ObjectMapper getMapper()
public void setMapper(com.fasterxml.jackson.databind.ObjectMapper mapper)
Copyright © 2016 JBoss by Red Hat. All rights reserved.