org.jboss.aop.microcontainer.aspects
Class AbstractIntroduction<T extends Annotation>

java.lang.Object
  extended by org.jboss.aop.microcontainer.aspects.AbstractIntroduction<T>
Type Parameters:
T - the annotation type
All Implemented Interfaces:
org.jboss.aop.advice.Interceptor

public abstract class AbstractIntroduction<T extends Annotation>
extends Object
implements org.jboss.aop.advice.Interceptor

Abstract helper class for [Aspect]Introduction.

Author:
Ales Justin

Constructor Summary
AbstractIntroduction()
           
 
Method Summary
protected abstract  Class<T> getBindingAnnotation()
           
 String getName()
           
 Object invoke(org.jboss.aop.joinpoint.Invocation invocation)
           
protected  boolean isBindingInfoPresent(org.jboss.aop.joinpoint.Invocation invocation)
           
protected  void onRegistration(org.jboss.aop.joinpoint.Invocation invocation, KernelControllerContext context)
           
protected  void onRegistration(KernelControllerContext context, T annotation)
           
protected  void onUnregistration(org.jboss.aop.joinpoint.Invocation invocation, KernelControllerContext context)
           
protected  void onUnregistration(KernelControllerContext context, T annotation)
           
protected  T resolveBindingInfo(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

AbstractIntroduction

public AbstractIntroduction()
Method Detail

getName

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

getBindingAnnotation

protected abstract Class<T> getBindingAnnotation()

isBindingInfoPresent

protected boolean isBindingInfoPresent(org.jboss.aop.joinpoint.Invocation invocation)

resolveBindingInfo

protected T resolveBindingInfo(org.jboss.aop.joinpoint.Invocation invocation)

onRegistration

protected void onRegistration(org.jboss.aop.joinpoint.Invocation invocation,
                              KernelControllerContext context)

onRegistration

protected void onRegistration(KernelControllerContext context,
                              T annotation)

onUnregistration

protected void onUnregistration(org.jboss.aop.joinpoint.Invocation invocation,
                                KernelControllerContext context)

onUnregistration

protected void onUnregistration(KernelControllerContext context,
                                T annotation)

invoke

public Object invoke(org.jboss.aop.joinpoint.Invocation invocation)
              throws Throwable
Specified by:
invoke in interface org.jboss.aop.advice.Interceptor
Throws:
Throwable


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