org.jboss.jms.client.state
Interface HierarchicalState
- All Known Implementing Classes:
- HierarchicalStateSupport
- public interface HierarchicalState
Any state that is Hierarchical in nature implements this interface (e.g. a connection has child
sessions). Or, a session has child consumers, producers and browsers.
- Version:
- $Revision: 2686 $
$Id: HierarchicalState.java 2686 2007-05-15 08:47:20Z timfox $
- Author:
- Tim Fox, Clebert Suconic, Ovidiu Feodorov
getChildren
public java.util.Set getChildren()
getDelegate
public DelegateSupport getDelegate()
setDelegate
public void setDelegate(DelegateSupport delegate)
getParent
public HierarchicalState getParent()
setParent
public void setParent(HierarchicalState parent)
getVersionToUse
public Version getVersionToUse()
synchronizeWith
public void synchronizeWith(HierarchicalState newState)
throws java.lang.Exception
- Update my own state based on the new state.
- Throws:
java.lang.Exception
Copyright © 2006 JBoss Inc. All Rights Reserved.