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

@Path("/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
  • Constructor Details

    • AdditionalResource

      public AdditionalResource()
  • Method Details

    • getAdditionalResourceMessage

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