org.cumulus4j.keymanager.back.shared
Class JAXBContextResolver
java.lang.Object
  
org.cumulus4j.keymanager.back.shared.JAXBContextResolver
- All Implemented Interfaces: 
 - ContextResolver<JAXBContext>
 
@Provider
public final class JAXBContextResolver
- extends Object
- implements ContextResolver<JAXBContext>
  
ContextResolver implementation telling JAXB all DTO classes that are required for
 the communication channel between app-server and key-manager.
- Author:
 
  - Marco หงุ่ยตระกูล-Schulze - marco at nightlabs dot de
 
 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
JAXBContextResolver
public JAXBContextResolver()
                    throws Exception
- Create a new instance of 
JAXBContextResolver. This is called by Jersey (the class is passed to it).
- Throws:
 Exception - in case creation of this resolver fails.
 
getContext
public JAXBContext getContext(Class<?> objectType)
- Specified by:
 getContext in interface ContextResolver<JAXBContext>
 
 
Copyright © 2013 NightLabs Consulting GmbH. All Rights Reserved.