|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjhomenet.server.work.units.RegisterHardwareWorkUnit
public final class RegisterHardwareWorkUnit
TODO: Class description.
Id: $Id: $
Constructor Summary | |
---|---|
RegisterHardwareWorkUnit(HardwareRegistrationRequest registrationRequest)
Constructor. |
|
RegisterHardwareWorkUnit(RegisteredHardware hardware)
Constructor. |
Method Summary | |
---|---|
RegisteredHardware |
execute()
Attempt to register a hardware object with the server. |
java.lang.String |
getDescription()
|
void |
setHardwareManager(HardwareManager hardwareRegister)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RegisterHardwareWorkUnit(HardwareRegistrationRequest registrationRequest)
registrationRequest
- public RegisterHardwareWorkUnit(RegisteredHardware hardware)
hardware
- Method Detail |
---|
public final RegisteredHardware execute() throws WorkException
HardwareFactory
factory class
2) Attempt to register the new hardware instance with the HardwareRegistry
WorkException
jhomenet.commons.work.unit.IWorkUnit#execute()
public final void setHardwareManager(HardwareManager hardwareRegister)
hardwareRegister
- The hardware registration interrogator to setpublic java.lang.String getDescription()
jhomenet.commons.work.unit.IWorkUnit#getDescription()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |