com.objectplanet.survey.plugin
Class Plugin.JAR

java.lang.Object
  extended by com.objectplanet.survey.plugin.Plugin.JAR
Enclosing class:
Plugin

public static class Plugin.JAR
extends java.lang.Object

A JAR file. It is declared static so that it can be instantiated outside the enclosing class (Plugin).

Author:
Torgeir Punnerud
Created:
26. august 2002

Constructor Summary
Plugin.JAR(java.lang.String path, PluginJARClassLoader classLoader)
          Constructor for the JAR object
 
Method Summary
 void addPlugin(Plugin plugin)
          Adds a Plugin to the JAR object.
 PluginJARClassLoader getClassLoader()
          Gets the classLoader
 java.lang.String getPath()
          Gets the path of the Jar file.
 Plugin[] getPlugins()
          Gets the plugins found in the Jar file.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Plugin.JAR

public Plugin.JAR(java.lang.String path,
                  PluginJARClassLoader classLoader)
Constructor for the JAR object

Parameters:
path - Path to jar file, including file name
classLoader - The classloader object.
Method Detail

getPath

public java.lang.String getPath()
Gets the path of the Jar file.

Returns:
The path, including file name.

getClassLoader

public PluginJARClassLoader getClassLoader()
Gets the classLoader

Returns:
The classLoader value

getPlugins

public Plugin[] getPlugins()
Gets the plugins found in the Jar file.

Returns:
The plugins

addPlugin

public void addPlugin(Plugin plugin)
Adds a Plugin to the JAR object. The plugin is started.

Parameters:
plugin - The feature to be added to the Plugin attribute

Copyright ? ObjectPlanet Inc. All Rights Reserved.

Built on December 20 2016