org.glassfish.jersey.examples.beanvalidation.webapp
Class MyApplication.JsonConfiguration

java.lang.Object
  extended by org.glassfish.jersey.examples.beanvalidation.webapp.MyApplication.JsonConfiguration
All Implemented Interfaces:
ContextResolver<MoxyJsonConfig>
Enclosing class:
MyApplication

public static class MyApplication.JsonConfiguration
extends java.lang.Object
implements ContextResolver<MoxyJsonConfig>

Configuration for org.eclipse.persistence.jaxb.rs.MOXyJsonProvider - outputs formatted JSON.


Constructor Summary
MyApplication.JsonConfiguration()
           
 
Method Summary
 MoxyJsonConfig getContext(java.lang.Class<?> type)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MyApplication.JsonConfiguration

public MyApplication.JsonConfiguration()
Method Detail

getContext

public MoxyJsonConfig getContext(java.lang.Class<?> type)
Specified by:
getContext in interface ContextResolver<MoxyJsonConfig>


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