org.glassfish.jersey.examples.osgi.helloworld.additional.resource
Class AdditionalResource

java.lang.Object
  extended by org.glassfish.jersey.examples.osgi.helloworld.additional.resource.AdditionalResource

@Path(value="/additional")
public class AdditionalResource
extends Object

Test resource for osgi-helloworld-webapp example; It is aimed to ensure, that the package scanning works in OSGi for multiple packages defined in web.xml There is also an alternate version of the resource with the same class name within the same package which should not be visible to Jersey via OSGi.

Author:
Adam Lindenthal (adam.lindenthal at oracle.com)

Constructor Summary
AdditionalResource()
           
 
Method Summary
 String getAdditionalResourceMessage()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AdditionalResource

public AdditionalResource()
Method Detail

getAdditionalResourceMessage

@GET
@Produces(value="text/plain")
public String getAdditionalResourceMessage()


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