org.opennms.bb.dp.poller.plugins
Class PluginLoader.Plugin

java.lang.Object
  |
  +--org.opennms.bb.dp.poller.plugins.PluginLoader.Plugin
Enclosing class:
PluginLoader

public static class PluginLoader.Plugin
extends Object

Adapted from the JARClassLoader.java source from the jEdit project. This class was originally called JAR, renamed to make more sense (it is loaded from a .jar file but models what is contained in the jar) A Jar file where a plugin and all associated files live.

Author:
Slava Pestov

Field Summary
private  int index
           
private  String path
           
private  Vector plugins
           
 
Constructor Summary
PluginLoader.Plugin(String aPath)
           
 
Method Summary
 void addPlugin(Object plugin)
           
 int getIndex()
           
 String getPath()
           
 Object getPlugin()
           
 Object[] getPlugins()
           
 void getPlugins(Vector vector)
           
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

index

private int index

path

private String path

plugins

private Vector plugins
Constructor Detail

PluginLoader.Plugin

public PluginLoader.Plugin(String aPath)
Method Detail

getPath

public String getPath()

addPlugin

public void addPlugin(Object plugin)

getPlugin

public Object getPlugin()

getPlugins

public Object[] getPlugins()

getIndex

public int getIndex()

getPlugins

public void getPlugins(Vector vector)