org.jboss.jms.client.container
Class StateCreationAspect

java.lang.Object
  extended byorg.jboss.jms.client.container.StateCreationAspect

public class StateCreationAspect
extends java.lang.Object

Maintains the hierarchy of parent and child state objects. For each delegate, this interceptor maintains a state object and it's children/parent. The state object is then made accessible to any of the aspects/interceptors in the chain. This enables the aspects/interceptors to access and make use of the state without having to resort to multiple messy get/set methods on the delegate API. This interceptor is PER_VM.

Author:
Tim Fox, Ovidiu Feodorov, Clebert Suconic $Id: StateCreationAspect.java 2686 2007-05-15 08:47:20Z timfox $

Constructor Summary
StateCreationAspect()
           
 
Method Summary
 java.lang.Object handleCreateBrowserDelegate(Invocation invocation)
           
 java.lang.Object handleCreateConnectionDelegate(Invocation inv)
           
 java.lang.Object handleCreateConsumerDelegate(Invocation invocation)
           
 java.lang.Object handleCreateProducerDelegate(Invocation invocation)
           
 java.lang.Object handleCreateSessionDelegate(Invocation invocation)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StateCreationAspect

public StateCreationAspect()
Method Detail

handleCreateConnectionDelegate

public java.lang.Object handleCreateConnectionDelegate(Invocation inv)
                                                throws java.lang.Throwable
Throws:
java.lang.Throwable

handleCreateSessionDelegate

public java.lang.Object handleCreateSessionDelegate(Invocation invocation)
                                             throws java.lang.Throwable
Throws:
java.lang.Throwable

handleCreateConsumerDelegate

public java.lang.Object handleCreateConsumerDelegate(Invocation invocation)
                                              throws java.lang.Throwable
Throws:
java.lang.Throwable

handleCreateProducerDelegate

public java.lang.Object handleCreateProducerDelegate(Invocation invocation)
                                              throws java.lang.Throwable
Throws:
java.lang.Throwable

handleCreateBrowserDelegate

public java.lang.Object handleCreateBrowserDelegate(Invocation invocation)
                                             throws java.lang.Throwable
Throws:
java.lang.Throwable


Copyright © 2006 JBoss Inc. All Rights Reserved.