org.springframework.config.java.aspect
Class RequiredMethodInvocationTracker

java.lang.Object
  extended by org.springframework.config.java.aspect.RequiredMethodInvocationTracker

public class RequiredMethodInvocationTracker
extends java.lang.Object

Aspect that weaves tracking logic into methods annotated with Spring's @Required annotation. Requires AspectJ bytecode (load-time or build-time) weaving to function.

Author:
Chris Beams
See Also:
Configuration.checkRequired(), META-INF/aop.xml

Constructor Summary
RequiredMethodInvocationTracker()
           
 
Method Summary
static RequiredMethodInvocationRegistry getInvocationRegistry()
           
 void logRequiredMethodInvocation(org.aspectj.lang.JoinPoint jp)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RequiredMethodInvocationTracker

public RequiredMethodInvocationTracker()
Method Detail

logRequiredMethodInvocation

public void logRequiredMethodInvocation(org.aspectj.lang.JoinPoint jp)

getInvocationRegistry

public static RequiredMethodInvocationRegistry getInvocationRegistry()