com.webmbt.plugin
Class PluginMgr

java.lang.Object
  extended by com.webmbt.plugin.PluginMgr

public class PluginMgr
extends java.lang.Object


Nested Class Summary
 class PluginMgr.HandlerDef
           
 
Constructor Summary
PluginMgr(MbtScriptExecutor scriptExec_p)
           
 
Method Summary
 void close()
           
 boolean executeScript(com.webmbt.ScriptDesc scriptObj_p)
          INTERNAL USE ONLY.
 RemoteCommandPlugin findRemotePlugin()
           
static PluginAncestor getCurPlugin(java.lang.String pluginID_p)
          returns the plugin.
 PluginAncestor getPlugin(java.lang.String pluginID_p)
          returns the plugin object.
 java.util.List<PluginAncestor> getPluginList()
           
 SeqOutPlugin getSeqOutPlugin()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PluginMgr

public PluginMgr(MbtScriptExecutor scriptExec_p)
          throws java.lang.Exception
Throws:
java.lang.Exception
Method Detail

getSeqOutPlugin

public SeqOutPlugin getSeqOutPlugin()

getCurPlugin

public static PluginAncestor getCurPlugin(java.lang.String pluginID_p)
returns the plugin. Null if plugin is not found.

Parameters:
pluginID_p -
Returns:

getPlugin

public PluginAncestor getPlugin(java.lang.String pluginID_p)
returns the plugin object. null if plugin not authorized or not enabled/instantiated for the model. INTERNAL USE ONLY

Parameters:
pluginID_p -
Returns:

getPluginList

public java.util.List<PluginAncestor> getPluginList()

close

public void close()

findRemotePlugin

public RemoteCommandPlugin findRemotePlugin()

executeScript

public boolean executeScript(com.webmbt.ScriptDesc scriptObj_p)
                      throws java.lang.Exception
INTERNAL USE ONLY. executes the script and return true if the script has been executed. Throws exception on any error.

Parameters:
scriptObj_p -
Returns:
True if the script has been executed, false if not
Throws:
java.lang.Exception


Copyright © 2008. All Rights Reserved.