org.jboss.jms.client.container
Class StateCreationAspect

java.lang.Object
  extended by org.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 3748 2008-02-20 21:44:11Z timfox $

Constructor Summary
StateCreationAspect()
           
 
Method Summary
 java.lang.Object handleCreateBrowserDelegate(org.jboss.aop.joinpoint.Invocation invocation)
           
 java.lang.Object handleCreateConnectionDelegate(org.jboss.aop.joinpoint.Invocation inv)
           
 java.lang.Object handleCreateConsumerDelegate(org.jboss.aop.joinpoint.Invocation invocation)
           
 java.lang.Object handleCreateProducerDelegate(org.jboss.aop.joinpoint.Invocation invocation)
           
 java.lang.Object handleCreateSessionDelegate(org.jboss.aop.joinpoint.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(org.jboss.aop.joinpoint.Invocation inv)
                                                throws java.lang.Throwable
Throws:
java.lang.Throwable

handleCreateSessionDelegate

public java.lang.Object handleCreateSessionDelegate(org.jboss.aop.joinpoint.Invocation invocation)
                                             throws java.lang.Throwable
Throws:
java.lang.Throwable

handleCreateConsumerDelegate

public java.lang.Object handleCreateConsumerDelegate(org.jboss.aop.joinpoint.Invocation invocation)
                                              throws java.lang.Throwable
Throws:
java.lang.Throwable

handleCreateProducerDelegate

public java.lang.Object handleCreateProducerDelegate(org.jboss.aop.joinpoint.Invocation invocation)
                                              throws java.lang.Throwable
Throws:
java.lang.Throwable

handleCreateBrowserDelegate

public java.lang.Object handleCreateBrowserDelegate(org.jboss.aop.joinpoint.Invocation invocation)
                                             throws java.lang.Throwable
Throws:
java.lang.Throwable


Copyright © 2006 JBoss Inc. All Rights Reserved.