|
||||||||||
| PREV CLASS (src) NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.mx.util.JBossNotificationBroadcasterSupport (src)
org.jboss.system.ServiceMBeanSupport (src)
org.jboss.mq.sm.file.OldStateManager
This class is a simple User Manager. It handles credential issues.
This is the old state manager.
| Field Summary |
| Fields inherited from class org.jboss.system.ServiceMBeanSupport (src) |
log, server, SERVICE_CONTROLLER_SIG, serviceName |
| Fields inherited from interface org.jboss.system.ServiceMBean (src) |
CREATE_EVENT, CREATED, DESTROY_EVENT, DESTROYED, FAILED, REGISTERED, START_EVENT, STARTED, STARTING, states, STOP_EVENT, STOPPED, STOPPING, UNREGISTERED |
| Constructor Summary | |
OldStateManager()
Constructor for the StateManager object |
|
| Method Summary | |
void |
addLoggedOnClientId(java.lang.String ID)
Ad a logged in clientID to the statemanager. |
java.lang.String |
checkUser(java.lang.String login,
java.lang.String passwd)
#Description of the Method |
protected void |
createService()
Sub-classes should override this method to provide custum 'create' logic. |
java.lang.String |
displayStateConfig()
|
java.util.Collection |
getDurableSubscriptionIdsForTopic(SpyTopic (src) topic)
Get all configured durable subscriptions for a particular topic. |
SpyTopic (src) |
getDurableTopic(DurableSubscriptionID (src) sub)
Get the destination a subscription is for. |
StateManager (src) |
getInstance()
|
java.lang.String |
getStateFile()
Gets the StateFile attribute of the StateManagerMBean object |
void |
loadConfig()
|
void |
removeLoggedOnClientId(java.lang.String ID)
#Description of the Method |
void |
saveConfig()
|
void |
setDurableSubscription(JMSDestinationManager (src) server,
DurableSubscriptionID (src) sub,
SpyTopic (src) topic)
Sets the DurableSubscription attribute of the StateManager object |
void |
setStateFile(java.lang.String newStateFile)
Sets the StateFile attribute of the StateManagerMBean object |
void |
startService()
#Description of the Method |
| Methods inherited from class org.jboss.system.ServiceMBeanSupport (src) |
create, destroy, destroyService, getLog, getName, getNextNotificationSequenceNumber, getObjectName, getServer, getServiceName, getState, getStateString, jbossInternalCreate, jbossInternalDescription, jbossInternalDestroy, jbossInternalLifecycle, jbossInternalStart, jbossInternalStop, postDeregister, postRegister, preDeregister, preRegister, start, stop, stopService |
| Methods inherited from class org.jboss.mx.util.JBossNotificationBroadcasterSupport (src) |
addNotificationListener, getNotificationInfo, handleNotification, removeNotificationListener, removeNotificationListener, sendNotification |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public OldStateManager()
throws XElementException (src)
XElementException (src) - Description of Exception| Method Detail |
protected void createService()
throws java.lang.Exception
ServiceMBeanSupport (src) This method is empty, and is provided for convenience when concrete service classes do not need to perform anything specific for this state change.
createService in class ServiceMBeanSupport (src) java.lang.Exceptionpublic void setStateFile(java.lang.String newStateFile)
newStateFile - The new StateFile valuepublic StateManager (src) getInstance()
public void setDurableSubscription(JMSDestinationManager (src) server,
DurableSubscriptionID (src) sub,
SpyTopic (src) topic)
throws JMSException (src)
setDurableSubscription in interface StateManager (src) server - The new DurableSubscription valuesub - The new DurableSubscription valuetopic - The new DurableSubscription value
JMSException (src) - Description of Exception
public SpyTopic (src) getDurableTopic(DurableSubscriptionID (src) sub)
throws JMSException (src)
getDurableTopic in interface StateManager (src) JMSException (src) public java.lang.String getStateFile()
public java.lang.String checkUser(java.lang.String login,
java.lang.String passwd)
throws JMSException (src)
checkUser in interface StateManager (src) login - Description of Parameterpasswd - Description of Parameter
JMSException (src) - Description of Exception
public void addLoggedOnClientId(java.lang.String ID)
throws JMSException (src)
addLoggedOnClientId in interface StateManager (src) ID - The feature to be added to the LoggedOnClientId
attribute
JMSException (src) - Description of Exceptionpublic void removeLoggedOnClientId(java.lang.String ID)
removeLoggedOnClientId in interface StateManager (src) ID - Description of Parameter
public void startService()
throws java.lang.Exception
startService in class ServiceMBeanSupport (src) java.lang.Exception - Description of Exception
public java.util.Collection getDurableSubscriptionIdsForTopic(SpyTopic (src) topic)
throws JMSException (src)
StateManager (src)
getDurableSubscriptionIdsForTopic in interface StateManager (src) topic - the topic.
JMSException (src) - Description of Exception
public void loadConfig()
throws java.io.IOException,
XElementException (src)
java.io.IOException
XElementException (src)
public void saveConfig()
throws java.io.IOException
java.io.IOException
public java.lang.String displayStateConfig()
throws java.lang.Exception
java.lang.Exception
|
||||||||||
| PREV CLASS (src) NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||