|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectsimnet.PluginType
Subclasses of this type are responsible for plugging in and out objects of a specific class.
| Constructor Summary | |
PluginType()
|
|
| Method Summary | |
abstract java.lang.Object |
findInstance(Node node,
java.lang.Class the_class,
java.lang.String[] args)
Find and return the instance of the specified class on the specified node that matches the given arguments. |
abstract java.lang.String |
getType()
Returns the name of the class that this PluginType is for. |
abstract java.lang.String |
getUsage()
Returns a string describing how to use this type of plugin, suitable for being displayed by help. |
abstract boolean |
initInstance(Node node,
java.lang.Object instance,
java.lang.String[] args)
Initialize the instance of an object that is passed to it, and "running" on the specified node. |
abstract boolean |
isBatch(boolean in,
Node node,
java.lang.Class the_class,
java.lang.String[] args)
Called before every plug operation. |
abstract boolean |
removeInstance(Node node,
java.lang.Class the_class,
java.lang.String[] args)
Remove the object specified (in the same way as findInstance) from its "primary location", as defined by this type of plugin. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public PluginType()
| Method Detail |
public abstract java.lang.String getType()
public abstract java.lang.String getUsage()
public abstract boolean isBatch(boolean in,
Node node,
java.lang.Class the_class,
java.lang.String[] args)
public abstract java.lang.Object findInstance(Node node,
java.lang.Class the_class,
java.lang.String[] args)
public abstract boolean removeInstance(Node node,
java.lang.Class the_class,
java.lang.String[] args)
public abstract boolean initInstance(Node node,
java.lang.Object instance,
java.lang.String[] args)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||