org.jboss.jms.client.state
Class HierarchicalStateSupport

java.lang.Object
  extended by org.jboss.jms.client.state.HierarchicalStateSupport
All Implemented Interfaces:
HierarchicalState
Direct Known Subclasses:
BrowserState, ConnectionState, ConsumerState, ProducerState, SessionState

public abstract class HierarchicalStateSupport
extends java.lang.Object
implements HierarchicalState

Base implementation of HierarchicalState. State is created and maintained by the StateCreationAspect. The state is placed in the meta data for the invocation, so that it is available in any of the interceptors/aspects, this enables each interceptor/aspect to access the state for it's delegate without having to add multiple get/set methods on the delegate API.

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

Field Summary
protected  java.util.Set children
           
 
Constructor Summary
HierarchicalStateSupport(HierarchicalState parent, DelegateSupport delegate)
           
 
Method Summary
 java.util.Set getChildren()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.jboss.jms.client.state.HierarchicalState
getDelegate, getParent, getVersionToUse, setDelegate, setParent, synchronizeWith
 

Field Detail

children

protected java.util.Set children
Constructor Detail

HierarchicalStateSupport

public HierarchicalStateSupport(HierarchicalState parent,
                                DelegateSupport delegate)
Method Detail

getChildren

public java.util.Set getChildren()
Specified by:
getChildren in interface HierarchicalState
Returns:
Set


Copyright © 2006 JBoss Inc. All Rights Reserved.