The Spring Framework

org.springframework.aop.aspectj.annotation
Interface MetadataAwareAspectInstanceFactory

All Superinterfaces:
AspectInstanceFactory, Ordered
All Known Implementing Classes:
BeanFactoryAspectInstanceFactory, LazySingletonAspectInstanceFactoryDecorator, PrototypeAspectInstanceFactory, SingletonMetadataAwareAspectInstanceFactory

public interface MetadataAwareAspectInstanceFactory
extends AspectInstanceFactory

Subinterface of AspectInstanceFactory that returns AspectMetadata associated with AspectJ 5 annotated classes.

Ideally, AspectInstanceFactory would include this method, but because AspectMetadata uses Java-5-only AJType, we need to split out this interface.

Since:
2.0
Author:
Rod Johnson

Field Summary
 
Fields inherited from interface org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
 
Method Summary
 AspectMetadata getAspectMetadata()
          Return the AspectJ AspectMetadata for this factory.
 
Methods inherited from interface org.springframework.aop.aspectj.AspectInstanceFactory
getAspectInstance
 
Methods inherited from interface org.springframework.core.Ordered
getOrder
 

Method Detail

getAspectMetadata

AspectMetadata getAspectMetadata()
Return the AspectJ AspectMetadata for this factory.


The Spring Framework

Copyright © 2002-2007 The Spring Framework.