| org.jboss.mq.sm.AbstractStateManager
All known Subclasses: org.jboss.mq.sm.none.NullStateManager, org.jboss.mq.sm.file.DynamicStateManager, org.jboss.mq.sm.jdbc.JDBCStateManager,
Inner Class :protected class DurableSubscription | |
AbstractStateManager | public AbstractStateManager()(Code) | | Create a new abstract state manager
|
addLoggedOnClientId | public void addLoggedOnClientId(String ID) throws JMSException(Code) | | |
checkLoggedOnClientId | abstract protected void checkLoggedOnClientId(String clientID) throws JMSException(Code) | | Check if the clientID is allowed to logg in from the particular state
managers perspective.
Parameters: clientID - the client id to check throws: JMSException - for any error |
getDurableSubscription | abstract protected DurableSubscription getDurableSubscription(DurableSubscriptionID sub) throws JMSException(Code) | | Get a DurableSubscription.
Parameters: sub - the durable subscription id the durable subscription or null if not found throws: JMSException - for any error |
getDurableSubscriptionIdsForTopic | abstract public Collection getDurableSubscriptionIdsForTopic(SpyTopic topic) throws JMSException(Code) | | |
getPreconfClientId | abstract protected String getPreconfClientId(String login, String passwd) throws JMSException(Code) | | Get preconfigured clientID for login/user, and if state manager wants
do authentication. This is NOT recomended when using a SecurityManager.
Parameters: login - the user name Parameters: passwd - the password any preconfigured client id throws: JMSException - for any error |
removeDurableSubscription | abstract protected void removeDurableSubscription(DurableSubscription ds) throws JMSException(Code) | | Remove the subscription and save to persistent storage.
Called by this class so the sublclass can remove.
Parameters: ds - the durable subscription to save throws: JMSException - for any error |
removeLoggedOnClientId | public void removeLoggedOnClientId(String ID)(Code) | | |
saveDurableSubscription | abstract protected void saveDurableSubscription(DurableSubscription ds) throws JMSException(Code) | | Add to durable subs and save the subsrcription to persistent storage.
Called by this class so the sublclass can save. This may be both
a new subscription or a changed one. It is up to the sublcass
to know how to find a changed on. (Only the topic will have changed,
and it is the same DurableSubscription that is saved again that this
class got through getDurableSubscription.
Parameters: ds - the durable subscription to save throws: JMSException - for any error |
|
|