Package com.peterphi.std.guice.common
Class JAXBModule
java.lang.Object
com.google.inject.AbstractModule
com.peterphi.std.guice.common.JAXBModule
- All Implemented Interfaces:
com.google.inject.Module
public class JAXBModule
extends com.google.inject.AbstractModule
Exposes JAXBSerialiserFactory as a Singleton, optionally forcing the use of MOXy with the guice.jaxb.moxy config value
-
Constructor Summary
-
Method Summary
Methods inherited from class com.google.inject.AbstractModule
addError, addError, addError, bind, bind, bind, bindConstant, binder, bindInterceptor, bindListener, bindListener, bindScope, configure, convertToTypes, currentStage, getMembersInjector, getMembersInjector, getProvider, getProvider, install, requestInjection, requestStaticInjection, requireBinding, requireBinding
-
Constructor Details
-
JAXBModule
-
-
Method Details
-
configure
protected void configure()- Overrides:
configure
in classcom.google.inject.AbstractModule
-