org.ow2.jasmine.probe.rest.impl
Class JPRSApplication

java.lang.Object
  extended by javax.ws.rs.core.Application
      extended by org.ow2.jasmine.probe.rest.impl.JPRSApplication

public class JPRSApplication
extends javax.ws.rs.core.Application

REST application that implements REST service for JasmineProbe. The application instance is to be wrapped by a servlet.

Author:
danesa

Constructor Summary
JPRSApplication()
           
 
Method Summary
 Set<Class<?>> getClasses()
           
 Set<Object> getSingletons()
          Register resource implementation classes.
 void start()
           
 void stop()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JPRSApplication

public JPRSApplication()
Method Detail

getClasses

public Set<Class<?>> getClasses()
Overrides:
getClasses in class javax.ws.rs.core.Application

getSingletons

public Set<Object> getSingletons()
Register resource implementation classes.

Overrides:
getSingletons in class javax.ws.rs.core.Application

start

public void start()

stop

public void stop()


Copyright © 2012 OW2 Consortium. All Rights Reserved.