|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.tivoli.twg.engine.TWGSnapInManager
This class is used to manage snap-in's for the Director server. Tasks and extensions may register, de-register or query snap-in information using this class.
Field Summary | |
---|---|
static int |
GET_SNAPIN_APPEND_PATH
|
static int |
GET_SNAPIN_LIST_CMD
|
static int |
GET_SNAPIN_RESOURCE_CMD
|
static java.lang.String |
SnapInServiceNodeName
The name of the TWGSnapInManager service node |
Method Summary | |
---|---|
static boolean |
appendClassPath(java.lang.String path)
This method is used to add a new path to the CLASSPATH used when searching for resources and classes. |
boolean |
CommandReceived(ServiceNode sn,
Command cmd)
This method is used internally to process commands received from the TWGRemoteSnapInManager running on the console. |
static boolean |
DeregisterSnapIn(java.lang.String siType,
java.lang.String siSubType,
java.lang.String siClassName)
This method is used to deregister a snap-in from the server using a type, sub-type and class name. |
static boolean |
DeregisterSnapIn(TWGSnapIn snapIn)
This method is used to deregister a snap-in from the server using a TWGSnapIn object. |
static TWGSnapIn |
getSnapInForSubType(java.lang.String siType,
java.lang.String siSubType)
This static method is used to get a snap-in that has been registered for a specific type and sub-type. |
static Vect |
getSnapInListForType(java.lang.String siType)
This static method is used to get a list of snap-in's that have been registered for a specific type. |
static void |
initialize()
This method is used to initialize the snap-in manager. |
static java.lang.Object |
loadSnapIn(TWGSnapIn si)
This method is used to return an instance of a snap-in. |
static java.lang.Object |
loadSnapInForSubType(java.lang.String siType,
java.lang.String siSubType)
This method is used to return an instance of a snap-in that has been registered for a specific type and sub-type. |
static boolean |
RegisterSnapIn(java.lang.String siType,
java.lang.String siSubType,
java.lang.String siClassName)
This method is used to register a new snap-in with the server using a type, sub-type and class name. |
static boolean |
RegisterSnapIn(TWGSnapIn snapIn)
This method is used to register a new snap-in with the server using a TWGSnapIn object. |
static void |
terminate()
This method is used by the Director server engine to clean-up the snap-in manager. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String SnapInServiceNodeName
public static final int GET_SNAPIN_LIST_CMD
public static final int GET_SNAPIN_RESOURCE_CMD
public static final int GET_SNAPIN_APPEND_PATH
Method Detail |
public static boolean RegisterSnapIn(java.lang.String siType, java.lang.String siSubType, java.lang.String siClassName)
public static boolean RegisterSnapIn(TWGSnapIn snapIn)
public static boolean DeregisterSnapIn(java.lang.String siType, java.lang.String siSubType, java.lang.String siClassName)
public static boolean DeregisterSnapIn(TWGSnapIn snapIn)
public static void initialize()
public static void terminate()
public static Vect getSnapInListForType(java.lang.String siType)
public static TWGSnapIn getSnapInForSubType(java.lang.String siType, java.lang.String siSubType)
public static java.lang.Object loadSnapInForSubType(java.lang.String siType, java.lang.String siSubType)
public static java.lang.Object loadSnapIn(TWGSnapIn si)
public boolean CommandReceived(ServiceNode sn, Command cmd)
CommandReceived
in interface CommandReceivedListener
sn
- - ServiceNode instance which received Commandcmd
- - Instance of Command received
public static boolean appendClassPath(java.lang.String path)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |