org.glassfish.jersey.examples.clipboard
Class App

java.lang.Object
  extended by org.glassfish.jersey.examples.clipboard.App

public class App
extends java.lang.Object

This is the example entry point, where Jersey application for the example gets populated and published using the Grizzly 2 HTTP container.

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

Field Summary
static java.lang.String ROOT_PATH
          Clipboard root resource path.
 
Constructor Summary
App()
           
 
Method Summary
static ResourceConfig createProgrammaticClipboardApp()
          Create example application resource configuration.
static void main(java.lang.String[] args)
          Main application entry point.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ROOT_PATH

public static final java.lang.String ROOT_PATH
Clipboard root resource path.

See Also:
Constant Field Values
Constructor Detail

App

public App()
Method Detail

main

public static void main(java.lang.String[] args)
Main application entry point.

Parameters:
args - application arguments.

createProgrammaticClipboardApp

public static ResourceConfig createProgrammaticClipboardApp()
Create example application resource configuration.

Returns:
initialized resource configuration of the example application.


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