org.apache.hadoop.chukwa.rest.resource
Class WidgetContextResolver
java.lang.Object
org.apache.hadoop.chukwa.rest.resource.WidgetContextResolver
- All Implemented Interfaces:
- javax.ws.rs.ext.ContextResolver<JAXBContext>
@Provider
public class WidgetContextResolver
- extends Object
- implements javax.ws.rs.ext.ContextResolver<JAXBContext>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
classTypes
protected Class<?>[] classTypes
jsonArray
protected Set<String> jsonArray
WidgetContextResolver
public WidgetContextResolver()
throws Exception
- Throws:
Exception
getContext
public JAXBContext getContext(Class<?> objectType)
- Specified by:
getContext
in interface javax.ws.rs.ext.ContextResolver<JAXBContext>
Copyright © ${year} The Apache Software Foundation