org.glassfish.jersey.moxy.xml
Class MoxyXmlBinder

java.lang.Object
  extended by org.glassfish.jersey.internal.inject.AbstractBinder
      extended by org.glassfish.jersey.moxy.xml.MoxyXmlBinder
All Implemented Interfaces:
DynamicConfiguration, Binder

public class MoxyXmlBinder
extends AbstractBinder

Moxy XML injection binder.

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

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

Constructor Detail

MoxyXmlBinder

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


MoxyXmlBinder

public MoxyXmlBinder(Map<String,Object> properties,
                     ClassLoader classLoader,
                     boolean oxmMappingLookup,
                     Class... classes)
Constructor which allows MOXy JAXBContext customization.

Parameters:
properties - properties to be passed to JAXBContextFactory.createContext(Class[], java.util.Map, ClassLoader). May 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 AbstractBinder


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