The Spring Framework

org.springframework.aop.aspectj.annotation
Class SingletonMetadataAwareAspectInstanceFactory

java.lang.Object
  extended by org.springframework.aop.aspectj.SingletonAspectInstanceFactory
      extended by org.springframework.aop.aspectj.annotation.SingletonMetadataAwareAspectInstanceFactory
All Implemented Interfaces:
MetadataAwareAspectInstanceFactory, AspectInstanceFactory

public class SingletonMetadataAwareAspectInstanceFactory
extends SingletonAspectInstanceFactory
implements MetadataAwareAspectInstanceFactory

Implementation of AspectInstanceFactory that wraps a singleton instance.

Since:
2.0
Author:
Rod Johnson

Constructor Summary
SingletonMetadataAwareAspectInstanceFactory(Object aspectInstance, String beanName)
           
 
Method Summary
 AspectMetadata getAspectMetadata()
           
 
Methods inherited from class org.springframework.aop.aspectj.SingletonAspectInstanceFactory
getAspectInstance, getInstantiationCount
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.springframework.aop.aspectj.AspectInstanceFactory
getAspectInstance, getInstantiationCount
 

Constructor Detail

SingletonMetadataAwareAspectInstanceFactory

public SingletonMetadataAwareAspectInstanceFactory(Object aspectInstance,
                                                   String beanName)
Method Detail

getAspectMetadata

public AspectMetadata getAspectMetadata()
Specified by:
getAspectMetadata in interface MetadataAwareAspectInstanceFactory

The Spring Framework

Copyright © 2002-2006 The Spring Framework.