org.jboss.ejb3.interceptors.aop
Class InterceptorSequencer

java.lang.Object
  extended by org.jboss.ejb3.interceptors.aop.InterceptorSequencer
All Implemented Interfaces:
org.jboss.aop.advice.Interceptor

public class InterceptorSequencer
extends Object
implements org.jboss.aop.advice.Interceptor

Invokes some interceptors in sequence.

Version:
$Revision: 68647 $
Author:
Carlo de Wolf

Constructor Summary
InterceptorSequencer(org.jboss.aop.advice.Interceptor[] interceptors)
           
InterceptorSequencer(List<org.jboss.aop.advice.Interceptor> interceptors)
           
 
Method Summary
 Object aroundInvoke(org.jboss.aop.joinpoint.Invocation invocation)
           
 String getName()
           
 Object invoke(org.jboss.aop.joinpoint.Invocation invocation)
          Deprecated. 
 Object postConstruct(org.jboss.aop.joinpoint.Invocation invocation)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

InterceptorSequencer

public InterceptorSequencer(List<org.jboss.aop.advice.Interceptor> interceptors)

InterceptorSequencer

public InterceptorSequencer(org.jboss.aop.advice.Interceptor[] interceptors)
Method Detail

aroundInvoke

public Object aroundInvoke(org.jboss.aop.joinpoint.Invocation invocation)
                    throws Throwable
Throws:
Throwable

getName

public String getName()
Specified by:
getName in interface org.jboss.aop.advice.Interceptor

invoke

@Deprecated
public Object invoke(org.jboss.aop.joinpoint.Invocation invocation)
              throws Throwable
Deprecated. 

Specified by:
invoke in interface org.jboss.aop.advice.Interceptor
Throws:
Throwable

postConstruct

public Object postConstruct(org.jboss.aop.joinpoint.Invocation invocation)
                     throws Throwable
Throws:
Throwable

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2009 JBoss, a division of Red Hat, Inc.. All Rights Reserved.