com.vividsolutions.jump.workbench.plugin
Interface Configuration

All Known Implementing Classes:
Extension

public interface Configuration

The JUMPWorkbench searches the JARs in its lib/ext directory for Configurations. It instantiates each Configuration and calls its configure method. Note: It is preferable to use Extensions rather than Configurations, as Extensions specify metadata like name and version.

See Also:
Extension

Method Summary
 void configure(PlugInContext context)
          Executed during program start-up, BEFORE intialization of all other plug-ins may be complete.
 java.util.List<EnhancedPlugIn> getRegisteredPlugIns()
          Returns a list of EnhancedPlugIns registered with the registerPlugIn method of this class.
 boolean hasRegisteredPlugIns()
          Indicates if the Configuration has registered plug-ins that can be accessed via the getRegisteredPlugIns method.
 void registerPlugIn(EnhancedPlugIn argPlugIn)
          If you want your plug-in to be executed after program start-up or immediately before program shut-down, call this method and pass your plug-in as an argument.
 

Method Detail

configure

void configure(PlugInContext context)
               throws java.lang.Exception
Executed during program start-up, BEFORE intialization of all other plug-ins may be complete.

Throws:
java.lang.Exception

registerPlugIn

void registerPlugIn(EnhancedPlugIn argPlugIn)
If you want your plug-in to be executed after program start-up or immediately before program shut-down, call this method and pass your plug-in as an argument.


getRegisteredPlugIns

java.util.List<EnhancedPlugIn> getRegisteredPlugIns()
Returns a list of EnhancedPlugIns registered with the registerPlugIn method of this class. BizzJUMP will call the executeAfterProgramStartUp and the executeAsPartOfProgramShutdown methods on each EnhancedPlugIn that has been registered with the Configuration, if plug-in indicates these are appropriate actions to take.


hasRegisteredPlugIns

boolean hasRegisteredPlugIns()
Indicates if the Configuration has registered plug-ins that can be accessed via the getRegisteredPlugIns method.