org.jboss.aop.microcontainer.integration
Class AOPDependencyBuilder

java.lang.Object
  extended by org.jboss.kernel.spi.dependency.helpers.AbstractDependencyBuilder
      extended by org.jboss.aop.microcontainer.integration.AOPDependencyBuilder
All Implemented Interfaces:
DependencyBuilder

public class AOPDependencyBuilder
extends AbstractDependencyBuilder

Finds all managed aspects that apply to the bean and includes their dependencies as dependencies of the bean

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

Constructor Summary
AOPDependencyBuilder()
           
 
Method Summary
protected  boolean bypassAOP(org.jboss.beans.info.spi.BeanInfo beanInfo, org.jboss.metadata.spi.MetaData metaData, DisabledType disabledType)
          Should we bypass AOP.
 List<DependencyBuilderListItem> getDependencies(org.jboss.beans.info.spi.BeanInfo beanInfo, org.jboss.metadata.spi.MetaData metaData)
          Get the dependencies for this instance
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AOPDependencyBuilder

public AOPDependencyBuilder()
Method Detail

bypassAOP

protected boolean bypassAOP(org.jboss.beans.info.spi.BeanInfo beanInfo,
                            org.jboss.metadata.spi.MetaData metaData,
                            DisabledType disabledType)
Should we bypass AOP.

Parameters:
beanInfo - the bean info
metaData - the metadata instance
disabledType - The type we want to check if is disabled
Returns:
true if we should bypass aop, false otherwise

getDependencies

public List<DependencyBuilderListItem> getDependencies(org.jboss.beans.info.spi.BeanInfo beanInfo,
                                                       org.jboss.metadata.spi.MetaData metaData)
Description copied from interface: DependencyBuilder
Get the dependencies for this instance

Specified by:
getDependencies in interface DependencyBuilder
Overrides:
getDependencies in class AbstractDependencyBuilder
Parameters:
beanInfo - the bean info
metaData - the metadata
Returns:
the dependencies


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