Hansa Pakkage Protocol

Hansa Pakkage Protocol

The Pakkage protocol is to obtain the classes within a defined and properly versioned Java package. This will make OSGi assembly much more interesting, and allowing for new types of application descriptors based on OSGi package metadata. The protocol handler will locate the Jar file where the package can be found, download and cache that on the local file system in isolated packages and serve classes as resources according to the URLClassLoader format of jar\:<filename>!<class>, such as

jar:file:log4j-1.2.12.jar!/org/apache/log4j/Log4J.class
  • Protocol:

  • Setup Example:

  • Usage Examples: