|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcommands.AddDevices
Command to process an add new devices to the GLTMon database request.
| Constructor Summary | |
AddDevices()
Construct a default AddDevices command with an empty list of devices. |
|
| Method Summary | |
void |
done()
Clean up after the command's execution. |
void |
execute()
Execute the discovery of new devices to add to the GLTMon database. |
java.lang.String |
getAddedDevices()
|
DeviceAddParams |
getParams()
|
void |
initialize(java.lang.String dbContext,
javax.servlet.http.HttpServletRequest request)
Setup the command and verify all the parameters and the database connection. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public AddDevices()
| Method Detail |
public java.lang.String getAddedDevices()
public DeviceAddParams getParams()
public void initialize(java.lang.String dbContext,
javax.servlet.http.HttpServletRequest request)
throws java.lang.Exception
dbContext - String containing the JNDI context resourcerequest - HttpServletRequest request header from the Web page
java.lang.Exception - to indicate the initialization failed
public void execute()
throws java.lang.Exception
java.lang.Exception - to indicate problemspublic void done()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||