org.automon.aspects.AspectJBase.aj Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of automon Show documentation
Show all versions of automon Show documentation
Automon combines the power of AOP (AspectJ) with any monitoring or logging tools you already use to declaratively monitor
your Java code, the JDK, and dependent libraries. This module generates the core automon aspect library.
package org.automon.aspects;
/**
* This class contains pointcut syntax that might not compatible with Spring. Use this as your Base class if you AspectJ directly.
* Because it is not limited in its pointcut syntax it is more powerful.
*
* Note when a developer makes a concrete instance of this class they should provide pointcuts that they want to monitor
* by implementing {@link #user_monitor()} and {@link #user_exceptions()}
*/
public abstract aspect AspectJBase extends AutomonAspect {
public pointcut _sys_monitor() : _sys_pointcut();
public pointcut _sys_exceptions() : _sys_pointcut();
public pointcut _sys_pointcut() : within(java.lang.Object+) && !within(AutomonAspect+);
}