|
WebNMS 5 API Specification | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--com.adventnet.beans.chassis.BaseHelper
BaseHelper is an object that provides the underlying framework for running the chassis during the runtime. This class controls the starting and stopping of the base objects, i.e. the ChassisComponent.
ChassisHelper,
ChassisPoller,
ShelfHelper,
ShelfPositioner| Field Summary | |
protected java.applet.Applet |
applet
|
static boolean |
debug
|
protected static java.lang.String[] |
DUMMY_ARRAY
|
protected ChassisPlaceHolder[] |
holders
|
protected ChassisComponent |
parentComponent
|
| Constructor Summary | |
BaseHelper(java.applet.Applet applet,
java.lang.String instanceNameArg)
Applet Constructor to instantiate the BaseHelper class with the instanceName or identifer String as another argument. |
|
BaseHelper(java.lang.String instanceNameArg)
Default constructor for the BaseHelper, which takes in the InstanceName or identifier String as argument. |
|
| Method Summary | |
void |
debug(java.lang.String messageArg)
Prints the message out, given as argument, to the console. |
ChassisComponent |
getChassisComponent()
This method returns the already set ChassisComponent instance. |
java.lang.Object |
getInstance(java.lang.String classNameArg)
Used to create a new instance of the class, specified by the string argument passed. |
ChassisPlaceHolder[] |
getPlaceHolders()
Returns an array of holder panels (ChassisPlaceHolder) already set on this Object. |
void |
reinitialize()
Used to reinitialize the Chassis as and when required. |
void |
setApplet(java.applet.Applet appletArg)
used to set the applet instance on the BaseHelper class. |
void |
setChassisComponent(ChassisComponent chassisCompArg)
The parent Chassis should be an instance of ChassisComponent and this should be set using this API, before proceeding with other APIs of this object. |
static void |
setDebug(boolean debugArg)
Enables the debug messages to be printed out to the console. |
void |
setInstanceName(java.lang.String instanceNameArg)
This method is used when the debug is enabled. |
void |
setPlaceHolders(ChassisPlaceHolder[] holdersArg)
Takes an array of ChassisPlaceHolders as argument. |
void |
start()
Used to start all the processes inside the Chassis. |
void |
stop()
Used to stop all the processes inside the Chassis. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected static final java.lang.String[] DUMMY_ARRAY
public static boolean debug
protected java.applet.Applet applet
protected ChassisPlaceHolder[] holders
protected ChassisComponent parentComponent
| Constructor Detail |
public BaseHelper(java.lang.String instanceNameArg)
instanceNameArg -
public BaseHelper(java.applet.Applet applet,
java.lang.String instanceNameArg)
applet - instanceNameArg - setInstanceName| Method Detail |
public void setInstanceName(java.lang.String instanceNameArg)
instanceNameArg - public void setApplet(java.applet.Applet appletArg)
appletArg - public void setPlaceHolders(ChassisPlaceHolder[] holdersArg)
holdersArg - public ChassisPlaceHolder[] getPlaceHolders()
public void setChassisComponent(ChassisComponent chassisCompArg)
ChassisComponentpublic ChassisComponent getChassisComponent()
public void start()
public void stop()
public java.lang.Object getInstance(java.lang.String classNameArg)
classNameArg - public void reinitialize()
public void debug(java.lang.String messageArg)
messageArg - public static void setDebug(boolean debugArg)
debugArg -
|
WebNMS 5 API Specification | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||