当前页面:
在线文档首页 >
JBoss 3.2.7 messaging API Documentation 英文版文档
DynamicStateManagerMBean (JBoss Messaging API) - JBoss 3.2.7 messaging API Documentation 英文版文档
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
public void setStateFile(String newStateFile)
- Set the name of the statefile.
- Parameters:
newStateFile
- java.lang.String
getStateFile
public String getStateFile()
- Get name of file.
- Returns:
- java.lang.String
hasSecurityManager
public boolean hasSecurityManager()
setHasSecurityManager
public void setHasSecurityManager(boolean hasSecurityManager)
loadConfig
public void loadConfig()
throws IOException,
XElementException
- Throws:
IOException
XElementException
saveConfig
public void saveConfig()
throws IOException
- Throws:
IOException
addUser
public void addUser(String name,
String password,
String preconfID)
throws Exception
- Throws:
Exception
removeUser
public void removeUser(String name)
throws Exception
- Throws:
Exception
addRole
public void addRole(String name)
throws Exception
- Throws:
Exception
removeRole
public void removeRole(String name)
throws Exception
- Throws:
Exception
addUserToRole
public void addUserToRole(String roleName,
String user)
throws Exception
- Throws:
Exception
removeUserFromRole
public void removeUserFromRole(String roleName,
String user)
throws Exception
- Throws:
Exception
Copyright © 2002 JBoss Group, LLC. All Rights Reserved.