org.glassfish.jersey.media.xml
Class XmlMoxyModule

java.lang.Object
  extended by org.glassfish.jersey.internal.inject.AbstractModule
      extended by org.glassfish.jersey.media.xml.XmlMoxyModule
All Implemented Interfaces:
DynamicConfiguration, Binder, Module

public class XmlMoxyModule
extends AbstractModule

Author:
Pavel Bucek (pavel.bucek at oracle.com)

Constructor Summary
XmlMoxyModule()
          Default constructor creates standard JAXBContext without any activated features and properties.
XmlMoxyModule(java.util.Map properties, java.lang.ClassLoader classLoader, boolean oxmMappingLookup, java.lang.Class... classes)
          Constructor which allows MOXy JAXBContext customization.
 
Method Summary
protected  void configure()
           
 
Methods inherited from class org.glassfish.jersey.internal.inject.AbstractModule
addActiveDescriptor, addActiveDescriptor, addUnbindFilter, bind, bind, bind, commit, install
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XmlMoxyModule

public XmlMoxyModule()
Default constructor creates standard JAXBContext without any activated features and properties. Current context ClassLoader will be used.


XmlMoxyModule

public XmlMoxyModule(java.util.Map properties,
                     java.lang.ClassLoader classLoader,
                     boolean oxmMappingLookup,
                     java.lang.Class... classes)
Constructor which allows MOXy JAXBContext customization.

Parameters:
properties - properties to be passed to JAXBContextFactory.createContext(Class[], java.util.Map, ClassLoader). Can be null.
classLoader - will be used to load classes. If null, current context ClassLoader will be used.
oxmMappingLookup - if true, lookup for file with custom mappings will be performed.
classes - additional classes used for creating JAXBContext.
Method Detail

configure

protected void configure()
Specified by:
configure in class AbstractModule


Copyright © 2007-2012 Oracle Corporation. All Rights Reserved. Use is subject to license terms.