|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.sandev.basics.CacheManager.CacheManagerNodeCtrl
public class CacheManagerNodeCtrl
AUTOGENERATED FILE, DO NOT EDIT DIRECTLY.
source: org.sandev.basics.CacheManager.CacheManagerNodeDecl
generator: org.sandev.generator.NodeStdMBeanGenerator
time: Jun 15, 2007 11:40:44 PM
| Field Summary | |
|---|---|
protected CacheManagerNode |
node
Aggregated node class instance |
| Constructor Summary | |
|---|---|
CacheManagerNodeCtrl()
Default ctor initializes a new node instance. |
|
CacheManagerNodeCtrl(CacheManagerNode node)
Node constructor. |
|
CacheManagerNodeCtrl(Controllable node)
Controllable constructor. |
|
| Method Summary | |
|---|---|
Controllable |
getControllable()
Wraps getNode |
java.lang.String |
getLocalAuthUserLookup()
accessor for localAuthUserLookup |
int |
getLogLevel()
accessor for logLevel |
java.lang.String |
getLogLevelEnumSummary()
enum value summary for logLevel |
CacheManagerNode |
getNode()
Initializing accessor for our local node instance. |
java.lang.String |
getNodeInstanceName()
accessor for nodeInstanceName |
java.lang.String |
getNotificationPassword()
accessor for notificationPassword |
java.lang.String |
getNotificationUsername()
accessor for notificationUsername |
java.lang.String |
getSandNodeErrorMessage()
accessor for sandNodeErrorMessage |
int |
getSandNodeState()
accessor for sandNodeState |
java.lang.String |
getSandNodeStateEnumSummary()
enum value summary for sandNodeState |
java.lang.String |
getServername()
accessor for servername |
void |
info(java.lang.String text)
Utility to log an informational message. |
void |
paramChanged(java.lang.String paramName)
Our current MBean UIs are web browser pages that read the parameters each time the page is generated, so we don't currently react to parameter changes. |
void |
sandInitialize()
Register and create this MBean |
void |
setControllable(Controllable node)
Passthrough to setNode |
void |
setLocalAuthUserLookup(java.lang.String val)
mutator for localAuthUserLookup |
void |
setLogLevel(int val)
mutator for logLevel |
void |
setNode(CacheManagerNode node)
set the aggregated node instance. |
void |
setNotificationPassword(java.lang.String val)
mutator for notificationPassword |
void |
setNotificationUsername(java.lang.String val)
mutator for notificationUsername |
void |
setSandNodeErrorMessage(java.lang.String val)
mutator for sandNodeErrorMessage |
void |
setSandNodeState(int val)
mutator for sandNodeState |
void |
startService()
Call the node startup processing when the service starts. |
void |
stateChanged(int prevState,
int currState)
React to a state change. |
void |
stopService()
Call the node shutdown processing when the service stops. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected CacheManagerNode node
| Constructor Detail |
|---|
public CacheManagerNodeCtrl()
public CacheManagerNodeCtrl(CacheManagerNode node)
public CacheManagerNodeCtrl(Controllable node)
| Method Detail |
|---|
public CacheManagerNode getNode()
public void setNode(CacheManagerNode node)
public void info(java.lang.String text)
public void stateChanged(int prevState,
int currState)
There are more state changes in SAND then there are in the ServiceMBean, so we only pick up on some of the more major state changes here, like running or stopped. Here's how the other ServiceMBean state transitions are handled:
stateChanged in interface ControlWrapperpublic void paramChanged(java.lang.String paramName)
paramChanged in interface ControlWrapperpublic void setControllable(Controllable node)
setControllable in interface ControlWrapperpublic Controllable getControllable()
getControllable in interface ControlWrapper
public void sandInitialize()
throws ControlWrapperException
sandInitialize in interface ControlWrapperControlWrapperException
public void startService()
throws java.lang.Exception
java.lang.Exception
public void stopService()
throws java.lang.Exception
java.lang.Exceptionpublic java.lang.String getLocalAuthUserLookup()
getLocalAuthUserLookup in interface CacheManagerNodeCtrlMBeanpublic void setLocalAuthUserLookup(java.lang.String val)
setLocalAuthUserLookup in interface CacheManagerNodeCtrlMBeanpublic java.lang.String getNotificationUsername()
getNotificationUsername in interface CacheManagerNodeCtrlMBeanpublic void setNotificationUsername(java.lang.String val)
setNotificationUsername in interface CacheManagerNodeCtrlMBeanpublic java.lang.String getNotificationPassword()
getNotificationPassword in interface CacheManagerNodeCtrlMBeanpublic void setNotificationPassword(java.lang.String val)
setNotificationPassword in interface CacheManagerNodeCtrlMBeanpublic java.lang.String getNodeInstanceName()
getNodeInstanceName in interface CacheManagerNodeCtrlMBeanpublic java.lang.String getServername()
getServername in interface CacheManagerNodeCtrlMBeanpublic int getSandNodeState()
getSandNodeState in interface CacheManagerNodeCtrlMBeanpublic java.lang.String getSandNodeStateEnumSummary()
getSandNodeStateEnumSummary in interface CacheManagerNodeCtrlMBeanpublic void setSandNodeState(int val)
setSandNodeState in interface CacheManagerNodeCtrlMBeanpublic java.lang.String getSandNodeErrorMessage()
getSandNodeErrorMessage in interface CacheManagerNodeCtrlMBeanpublic void setSandNodeErrorMessage(java.lang.String val)
setSandNodeErrorMessage in interface CacheManagerNodeCtrlMBeanpublic int getLogLevel()
getLogLevel in interface CacheManagerNodeCtrlMBeanpublic java.lang.String getLogLevelEnumSummary()
getLogLevelEnumSummary in interface CacheManagerNodeCtrlMBeanpublic void setLogLevel(int val)
setLogLevel in interface CacheManagerNodeCtrlMBean
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||