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 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.MBeanSupportprotected String getDefaultObjectName()
getDefaultObjectName in class io.hawt.util.MBeanSupportpublic String getSchemaForClass(String name)
SchemaLookupMXBeangetSchemaForClass in interface SchemaLookupMXBeanpublic com.fasterxml.jackson.databind.ObjectMapper getMapper()
public void setMapper(com.fasterxml.jackson.databind.ObjectMapper mapper)
Copyright © 2014. All Rights Reserved.