JAXBContextResolver (Apache Hadoop MapReduce HistoryServer 3.5.0 API)
Description: declaration: package: org.apache.hadoop.mapreduce.v2.hs.webapp, class: JAXBContextResolver

Package org.apache.hadoop.mapreduce.v2.hs.webapp

# Class JAXBContextResolver

java.lang.Object
org.apache.hadoop.mapreduce.v2.hs.webapp.JAXBContextResolver

All Implemented Interfaces:
  `javax.ws.rs.ext.ContextResolver<javax.xml.bind.JAXBContext>`

@Singleton @Provider public class JAXBContextResolver extends Object implements javax.ws.rs.ext.ContextResolver<javax.xml.bind.JAXBContext>

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `JAXBContextResolver()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `javax.xml.bind.JAXBContext`
  `getContext(Class<?> objectType)`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### JAXBContextResolver

    public JAXBContextResolver() throws Exception
    Throws:
      `Exception`

- ## Method Details

  - ### getContext

    public javax.xml.bind.JAXBContext getContext(Class<?> objectType)
    Specified by:
      `getContext` in interface `javax.ws.rs.ext.ContextResolver<javax.xml.bind.JAXBContext>`