public final class AllAccountsMBeanImpl extends MyAccountMBeanImpl implements AllAccountsMBean
accountsManager
Constructor and Description |
---|
AllAccountsMBeanImpl(RMAccountsManager accountManager) |
Modifier and Type | Method and Description |
---|---|
String |
getUsername()
Returns the username of the current account.
|
protected RMAccount |
internalGetAccount()
Sub-classes may override this method to return null values.
|
void |
setUsername(String username)
Shows the account of associated to the specified username.
|
getAttribute, getAttributes, getProvidedNodesCount, getProvidedNodeTime, getUsedNodeTime
cacheMBeanInfo, getCachedMBeanInfo, getClassName, getConstructors, getDescription, getDescription, getDescription, getDescription, getDescription, getDescription, getDescription, getImpact, getImplementation, getImplementationClass, getMBeanInfo, getMBeanInterface, getParameterName, getParameterName, invoke, postDeregister, postRegister, preDeregister, preRegister, setAttribute, setAttributes, setImplementation
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getProvidedNodesCount, getProvidedNodeTime, getUsedNodeTime
public AllAccountsMBeanImpl(RMAccountsManager accountManager) throws NotCompliantMBeanException
NotCompliantMBeanException
public void setUsername(String username)
AllAccountsMBean
setUsername
in interface AllAccountsMBean
username
- The username of the account to seepublic String getUsername()
AllAccountsMBean
getUsername
in interface AllAccountsMBean
protected RMAccount internalGetAccount()
MyAccountMBeanImpl
internalGetAccount
in class MyAccountMBeanImpl