Class AbstractAspect
java.lang.Object
kieker.monitoring.probe.aspectj.AbstractAspectJProbe
kieker.monitoring.probe.aspectj.flow.constructorCallObject.AbstractAspect
- All Implemented Interfaces:
kieker.monitoring.probe.IMonitoringProbe
- Direct Known Subclasses:
Annotation,FullInstrumentation
public abstract class AbstractAspect extends AbstractAspectJProbe
- Since:
- 1.10
-
Constructor Summary
Constructors Constructor Description AbstractAspect() -
Method Summary
Modifier and Type Method Description java.lang.Objectmember2constructor(java.lang.Object thisObject, java.lang.Object targetObject, org.aspectj.lang.ProceedingJoinPoint thisJoinPoint, org.aspectj.lang.JoinPoint.EnclosingStaticPart thisEnclosingJoinPoint)This is an advice used around calls from members to constructors.abstract voidmonitoredConstructor()The pointcut for the monitored constructors.java.lang.Objectstatic2constructor(java.lang.Object targetObject, org.aspectj.lang.ProceedingJoinPoint thisJoinPoint, org.aspectj.lang.JoinPoint.EnclosingStaticPart thisEnclosingJoinPoint)This is an advice used around calls from static elements to constructors.Methods inherited from class kieker.monitoring.probe.aspectj.AbstractAspectJProbe
getter, noGetterAndSetter, notWithinKieker, setter, signatureToLongString
-
Constructor Details
-
AbstractAspect
public AbstractAspect()
-
-
Method Details
-
monitoredConstructor
public abstract void monitoredConstructor()The pointcut for the monitored constructors. Inheriting classes should extend the pointcut in order to find the correct calls (e.g. all constructors or only constructors with specific annotations). -
member2constructor
public java.lang.Object member2constructor(java.lang.Object thisObject, java.lang.Object targetObject, org.aspectj.lang.ProceedingJoinPoint thisJoinPoint, org.aspectj.lang.JoinPoint.EnclosingStaticPart thisEnclosingJoinPoint) throws java.lang.ThrowableThis is an advice used around calls from members to constructors.- Parameters:
thisObject- The caller object.thisJoinPoint- The joint point of the callee.thisEnclosingJoinPoint- The joint point of the caller.- Returns:
- The result of
proceed methodof the given joint point. - Throws:
java.lang.Throwable
-
static2constructor
public java.lang.Object static2constructor(java.lang.Object targetObject, org.aspectj.lang.ProceedingJoinPoint thisJoinPoint, org.aspectj.lang.JoinPoint.EnclosingStaticPart thisEnclosingJoinPoint) throws java.lang.ThrowableThis is an advice used around calls from static elements to constructors.- Parameters:
thisJoinPoint- The joint point of the callee.thisEnclosingJoinPoint- The joint point of the caller.- Returns:
- The result of
proceed methodof the given joint point. - Throws:
java.lang.Throwable
-