Class OSGiArchiveHandler

  • All Implemented Interfaces:
    ArchiveHandler, CompositeHandler

    @Service(name="osgi")
    @Singleton
    public class OSGiArchiveHandler
    extends GenericHandler
    implements CompositeHandler
    Archive Handler for OSGi modules. This understands a special deployment property called UriScheme. The value of this property must be a url scheme for which there is a URL handler currently registered in the JVM. Any other deployment properties are treated as query parameters. The rules are pretty much same as what's the case for webbundle url handler as defined in OSGi Web Application spec except that the solution here is not limited to webbundle scheme. Since the deployment properties are used as query parameters, they must be encoded such that they conform to URL RFC 1738.
    Author:
    Jerome Dochez, TangYong([email protected]), [email protected]