org.jboss.jms.client.state
Class HierarchicalStateSupport
java.lang.Object
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: 719 $
$Id: HierarchicalStateSupport.java 719 2006-03-10 19:46:40Z timfox $
- Author:
- Tim Fox
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
children
protected java.util.Set children
parent
protected HierarchicalState parent
delegate
protected DelegateSupport delegate
HierarchicalStateSupport
public HierarchicalStateSupport(HierarchicalState parent,
java.lang.Object delegate)
getChildren
public java.util.Set getChildren()
- Specified by:
getChildren
in interface HierarchicalState
getParent
public HierarchicalState getParent()
- Specified by:
getParent
in interface HierarchicalState
getDelegate
public DelegateSupport getDelegate()
- Specified by:
getDelegate
in interface HierarchicalState
Copyright © 2006 JBoss Inc. All Rights Reserved.