org.glassfish.jersey.examples.osgi.helloworld.additional.resource
Class AdditionalResource
java.lang.Object
org.glassfish.jersey.examples.osgi.helloworld.additional.resource.AdditionalResource
@Path(value="/additional")
public class AdditionalResource
- extends Object
Alternate version of test resource for osgi-helloworld-webapp example;
The original class within additional-bundle module has the same name and resides withing the same package.
The containing module's (alternate-version-bundle) pom.xml configures the MANIFEST bundle headers as an older version of
additional-bundle.
Both versions are then explicitly loaded into OSGi runtime and the correct version (the one in additional-bundle module)
should be used by Jersey.
If this version of the resource is used, the test will fail.
- Author:
- Adam Lindenthal (adam.lindenthal at oracle.com)
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AdditionalResource
public AdditionalResource()
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.