org.glassfish.jersey.examples.flight
Class FlightDemoApp

java.lang.Object
  extended by javax.ws.rs.core.Application
      extended by org.glassfish.jersey.server.ResourceConfig
          extended by org.glassfish.jersey.examples.flight.FlightDemoApp
All Implemented Interfaces:
javax.ws.rs.core.Configurable<org.glassfish.jersey.server.ResourceConfig>, javax.ws.rs.core.Configuration, org.glassfish.jersey.ExtendedConfig, org.glassfish.jersey.server.ServerConfig

@ApplicationPath(value="api")
public class FlightDemoApp
extends org.glassfish.jersey.server.ResourceConfig

Flight management demo JAX-RS application.

Author:
Marek Potociar (marek.potociar at oracle.com)

Constructor Summary
FlightDemoApp()
           
 
Method Summary
static javax.ws.rs.ext.ContextResolver<MoxyJsonConfig> createMoxyJsonResolver()
          Create ContextResolver for MoxyJsonConfig for this application.
 
Methods inherited from class org.glassfish.jersey.server.ResourceConfig
addProperties, files, files, forApplication, forApplicationClass, forApplicationClass, getApplication, getApplicationName, getClasses, getClassLoader, getConfiguration, getContracts, getInstances, getProperties, getProperty, getPropertyNames, getResources, getRuntimeType, getSingletons, isEnabled, isEnabled, isProperty, isRegistered, isRegistered, packages, packages, property, register, register, register, register, register, register, register, register, registerClasses, registerClasses, registerFinder, registerInstances, registerInstances, registerResources, registerResources, setApplicationName, setClassLoader, setProperties
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FlightDemoApp

public FlightDemoApp()
Method Detail

createMoxyJsonResolver

public static javax.ws.rs.ext.ContextResolver<MoxyJsonConfig> createMoxyJsonResolver()
Create ContextResolver for MoxyJsonConfig for this application.

Returns:
MoxyJsonConfig context resolver.


Copyright © 2007-2013, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.