public class ControlModule extends FrameworkModule
Modifier and Type | Field and Description |
---|---|
protected DataModule |
dm
This is the service data module
|
passwordHandler, service, serviceType
jarFile, syncOn, uuid
Constructor and Description |
---|
ControlModule(Service service,
PasswordHandler pHandler)
Creates a new instance of ControlModule.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getServerPassword()
Get the local server password if it is stored.
|
void |
setDataModule(DataModule theDm)
Set the data module to access any data directly.
|
canAccess, canAccessTemp, getPasswordHandler, getPasswordHandler, getServicePassword, getServiceType, isAdminKey, setServiceDetails, setServiceType
getJarFile, getUUID, loadObject, setJarFile, setUUID, threadAliveState
activeCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, run, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getUUID, setJarFile, setUUID
protected DataModule dm
public ControlModule(Service service, PasswordHandler pHandler) throws java.lang.Exception
service
- the parent service.pHandler
- the parent password handler.java.lang.Exception
- any error.public void setDataModule(DataModule theDm)
theDm
- the data module.public java.lang.String getServerPassword() throws java.lang.Exception
getServerPassword
in class FrameworkModule
java.lang.Exception
- any error.