All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.sgi.sysadm.manager.taskManager.TaskManagerUtil

java.lang.Object
   |
   +----com.sgi.sysadm.manager.taskManager.TaskManagerUtil

public class TaskManagerUtil
extends Object
implements TaskManagerProperties
TaskManagerUtil contains utility methods for TaskManager and its supporting classes.


Constructor Index

 o TaskManagerUtil()

Method Index

 o getLoadPluginError()
Get the error generated by the last call to loadPlugin().
 o loadPlugin(HostContext, UIContext, Class, String)
Attempt to load a TaskManagerPlugin.

Constructors

 o TaskManagerUtil
 public TaskManagerUtil()

Methods

 o loadPlugin
 public static TaskManagerPlugin loadPlugin(HostContext hc,
                                            UIContext uic,
                                            Class pluginClass,
                                            String productName)
Attempt to load a TaskManagerPlugin.

Parameters:
hc - The HostContext to pass to the plugin.
uic - The UIContext to pass to the plugin.
pluginClass - The Class to load.
productName - The Package name of the current product
Returns:
A TaskManagerPlugin that has been loaded, instantiated, and initialized. Null if the plugin could not be loaded. If null is returned, the caller should call getLoadPluginError() to get a User readable error message explaining the problem.
 o getLoadPluginError
 public static String getLoadPluginError()
Get the error generated by the last call to loadPlugin().

Returns:
A User readable error message explaining why the previous call to loadPlugin() failed. Null if loadPlugin() was not called previously or if it succeeded.

All Packages  Class Hierarchy  This Package  Previous  Next  Index