Skip navigation links

Package org.java.plugin

This package contains framework runtime API.

See: Description

Package org.java.plugin Description

This package contains framework runtime API.

The JPF consists of three major parts:

Plug-in registry is a set of interfaces that abstract whole meta information about plug-ins and plug-in fragments. The framework provides standard implementation for these interfaces that is based on concept of plug-in manifest as a special XML syntax file, created according to plug-in DTD. But in any case, the general rule is that manifest should be registered with plug-in registry for every plug-in and plug-in fragment.

The framework also provides standard implementation of path resolver, which just maps plug-in manifests to context ("home") folder of corresponding plug-ins.

To get instances of any base Framework classes, use special factory class that knows what implementation classes to load for plug-in registry, manager and path resolver. For example, you can get instance of plug-in manager just in one method call. This makes usage of JPF very simple in most situations.

Skip navigation links

Copyright © 2020. All Rights Reserved.