org.jboss.aop.microcontainer.integration
Class AOPConstructorJoinpoint

java.lang.Object
  extended by org.jboss.joinpoint.plugins.BasicConstructorJoinPoint
      extended by org.jboss.aop.microcontainer.integration.AOPConstructorJoinpoint
All Implemented Interfaces:
Cloneable, org.jboss.joinpoint.spi.ConstructorJoinpoint, org.jboss.joinpoint.spi.Joinpoint

public class AOPConstructorJoinpoint
extends org.jboss.joinpoint.plugins.BasicConstructorJoinPoint

An AOPConstructorJoinpoint.

Version:
$Revision: 89243 $
Author:
Adrian Brock, Ales Justin

Field Summary
 
Fields inherited from class org.jboss.joinpoint.plugins.BasicConstructorJoinPoint
arguments, constructorInfo
 
Constructor Summary
AOPConstructorJoinpoint(org.jboss.reflect.spi.ConstructorInfo constructorInfo, Object metaData)
          Create a new AOPConstructorJoinpoint.
 
Method Summary
protected  boolean bypassAOP(org.jboss.metadata.spi.MetaData metaData)
          Should we bypass AOP.
 Object dispatch()
           
protected  boolean hasMetaDataAtLevel(org.jboss.metadata.spi.MetaData metaData, org.jboss.metadata.spi.scope.ScopeLevel level)
          Check for metadata at level param.
 
Methods inherited from class org.jboss.joinpoint.plugins.BasicConstructorJoinPoint
clone, getArguments, getConstructorInfo, setArguments, toHumanReadableString
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AOPConstructorJoinpoint

public AOPConstructorJoinpoint(org.jboss.reflect.spi.ConstructorInfo constructorInfo,
                               Object metaData)
Create a new AOPConstructorJoinpoint.

Parameters:
constructorInfo - the constructor info
metaData - the metaData
Method Detail

bypassAOP

protected boolean bypassAOP(org.jboss.metadata.spi.MetaData metaData)
Should we bypass AOP.

Parameters:
metaData - the metadata instance
Returns:
true if we should bypass aop, false otherwise

dispatch

public Object dispatch()
                throws Throwable
Specified by:
dispatch in interface org.jboss.joinpoint.spi.Joinpoint
Overrides:
dispatch in class org.jboss.joinpoint.plugins.BasicConstructorJoinPoint
Throws:
Throwable

hasMetaDataAtLevel

protected boolean hasMetaDataAtLevel(org.jboss.metadata.spi.MetaData metaData,
                                     org.jboss.metadata.spi.scope.ScopeLevel level)
Check for metadata at level param.

Parameters:
metaData - the metadata
level - the scope level
Returns:
true if there is some metadata that needs to be considered


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