org.jboss.mq.sm.file
Interface DynamicStateManagerMBean
- All Superinterfaces:
- AbstractStateManagerMBean, org.jboss.system.Service, org.jboss.system.ServiceMBean
- All Known Implementing Classes:
- DynamicStateManager
public interface DynamicStateManagerMBean
- extends AbstractStateManagerMBean
MBean interface.
Fields inherited from interface org.jboss.system.ServiceMBean |
CREATE_EVENT, CREATED, DESTROY_EVENT, DESTROYED, FAILED, REGISTERED, START_EVENT, STARTED, STARTING, states, STOP_EVENT, STOPPED, STOPPING, UNREGISTERED |
Methods inherited from interface org.jboss.system.ServiceMBean |
getName, getState, getStateString, jbossInternalLifecycle |
Methods inherited from interface org.jboss.system.Service |
create, destroy, start, stop |
setStateFile
void setStateFile(String newStateFile)
- Set the name of the statefile.
- Parameters:
newStateFile
- java.lang.String
getStateFile
String getStateFile()
- Get name of file.
- Returns:
- java.lang.String
hasSecurityManager
boolean hasSecurityManager()
setHasSecurityManager
void setHasSecurityManager(boolean hasSecurityManager)
loadConfig
void loadConfig()
throws IOException,
XElementException
- Throws:
IOException
XElementException
saveConfig
void saveConfig()
throws IOException
- Throws:
IOException
addUser
void addUser(String name,
String password,
String preconfID)
throws Exception
- Throws:
Exception
removeUser
void removeUser(String name)
throws Exception
- Throws:
Exception
addRole
void addRole(String name)
throws Exception
- Throws:
Exception
removeRole
void removeRole(String name)
throws Exception
- Throws:
Exception
addUserToRole
void addUserToRole(String roleName,
String user)
throws Exception
- Throws:
Exception
removeUserFromRole
void removeUserFromRole(String roleName,
String user)
throws Exception
- Throws:
Exception
Copyright © 2002 JBoss Group, LLC. All Rights Reserved.