org.jboss.jms.client.state
Class BrowserState

java.lang.Object
  extended by org.jboss.jms.client.state.HierarchicalStateSupport
      extended by org.jboss.jms.client.state.BrowserState
All Implemented Interfaces:
HierarchicalState

public class BrowserState
extends HierarchicalStateSupport

State corresponding to a browser. This state is acessible inside aspects/interceptors.

Version:
$Revision: 2868 $ $Id: BrowserState.java 2868 2007-07-10 20:22:16Z timfox $
Author:
Tim Fox, Clebert Suconic, Ovidiu Feodorov

Field Summary
 
Fields inherited from class org.jboss.jms.client.state.HierarchicalStateSupport
children
 
Constructor Summary
BrowserState(SessionState parent, BrowserDelegate delegate, JBossDestination jmsDestination, java.lang.String selector)
           
 
Method Summary
 DelegateSupport getDelegate()
           
 JBossDestination getJmsDestination()
           
 java.lang.String getMessageSelector()
           
 HierarchicalState getParent()
           
 Version getVersionToUse()
           
 void setDelegate(DelegateSupport delegate)
           
 void setParent(HierarchicalState parent)
           
 void synchronizeWith(HierarchicalState ns)
          Update my own state based on the new state.
 
Methods inherited from class org.jboss.jms.client.state.HierarchicalStateSupport
getChildren
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BrowserState

public BrowserState(SessionState parent,
                    BrowserDelegate delegate,
                    JBossDestination jmsDestination,
                    java.lang.String selector)
Method Detail

getDelegate

public DelegateSupport getDelegate()

setDelegate

public void setDelegate(DelegateSupport delegate)

setParent

public void setParent(HierarchicalState parent)

getParent

public HierarchicalState getParent()

getVersionToUse

public Version getVersionToUse()

synchronizeWith

public void synchronizeWith(HierarchicalState ns)
                     throws java.lang.Exception
Description copied from interface: HierarchicalState
Update my own state based on the new state.

Throws:
java.lang.Exception

getJmsDestination

public JBossDestination getJmsDestination()

getMessageSelector

public java.lang.String getMessageSelector()


Copyright © 2006 JBoss Inc. All Rights Reserved.