Class SimpleMetadataAwareAspectInstanceFactory

java.lang.Object
org.springframework.aop.aspectj.SimpleAspectInstanceFactory
org.springframework.aop.aspectj.annotation.SimpleMetadataAwareAspectInstanceFactory
All Implemented Interfaces:
MetadataAwareAspectInstanceFactory, AspectInstanceFactory, org.springframework.core.Ordered

public class SimpleMetadataAwareAspectInstanceFactory extends SimpleAspectInstanceFactory implements MetadataAwareAspectInstanceFactory
Implementation of MetadataAwareAspectInstanceFactory that creates a new instance of the specified aspect class for every SimpleAspectInstanceFactory.getAspectInstance() call.
Since:
2.0.4
Author:
Juergen Hoeller
  • Constructor Details

    • SimpleMetadataAwareAspectInstanceFactory

      public SimpleMetadataAwareAspectInstanceFactory(Class<?> aspectClass, String aspectName)
      Create a new SimpleMetadataAwareAspectInstanceFactory for the given aspect class.
      Parameters:
      aspectClass - the aspect class
      aspectName - the aspect name
  • Method Details