[ARIES-1928] Track extensions per application

Before there was a global registry for extensions. The presence or
absence of an extension does not mean anything until it is initialized
inside an application. An application depending on extensions should not
be deployed until its dependencies have been checked to work.

Also, instead of registering the CxfJaxrsServiceRegistrator, we now
register the application in a internal registry, which simplifies the
extension attaching.
8 files changed
tree: 27d6605216db3929ff0ae38aeb675cc79c30e587
  1. integrations/
  2. jax-rs.features/
  3. jax-rs.itests/
  4. jax-rs.itests-fragment/
  5. jax-rs.whiteboard/
  6. org.apache.aries.jax.rs.cxf.repackage/
  7. .gitignore
  8. LICENSE
  9. pom.xml
  10. README.md
README.md

JAX-RS Whiteboard

Build Status Maven Central

Aries JAX-RS Whiteboard is the reference implementation of the OSGi JAX-RS Services Whiteboard 1.0.

Integrations

The integrations folder contains OSGi enabled integrations for a variety of useful libraries that you might want to use with JAX-RS. In many cases these are just adding OSGi lifecycle and configuration to existing JAX-RS enabled libraries.

Building

Execute the maven tasks mvn clean install.

Running the Example

The file jax-rs.example-run/example.jar should have been created.

Execute the following command:

java -jar jax-rs.example-run/example.jar

License

Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to You under the Apache License, Version 2.0 (the “License”); you may not use this file except in compliance with the License. You may obtain a copy of the License at

  http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an “AS IS” BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.