|
Anyframe Core | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectanyframe.common.aop.aspects.AbstractAspects
public abstract class AbstractAspects
Abstract aspect class that supports for collecting performance information and sending these information to agent server which is provided by infrared solutions This aspect is to modify Infrared's AbstractAspects for applying Spring AOP
| Constructor Summary | |
|---|---|
AbstractAspects()
|
|
| Method Summary | |
|---|---|
boolean |
isMonitoringEnabled()
Check whether current configuration support performance monitoring or not |
boolean |
isMonitoringEnabled(net.sf.infrared.agent.MonitorFacade facade)
Check whether current configuration support performance monitoring or not with given monitor facade |
Object |
recordExecution(net.sf.infrared.base.model.ExecutionContext ctx,
org.aopalliance.intercept.MethodInvocation sjp)
Helper method for logging execution information |
Object |
recordExecution(net.sf.infrared.base.model.ExecutionContext ctx,
org.aopalliance.intercept.MethodInvocation sjp,
net.sf.infrared.agent.MonitorFacade facade)
Helper method for logging execution information with given monitor facade |
void |
setMonitorFacade(net.sf.infrared.agent.MonitorFacade monitorFacade)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.aopalliance.intercept.MethodInterceptor |
|---|
invoke |
| Constructor Detail |
|---|
public AbstractAspects()
| Method Detail |
|---|
public Object recordExecution(net.sf.infrared.base.model.ExecutionContext ctx,
org.aopalliance.intercept.MethodInvocation sjp)
throws Throwable
executionContext - methodInvocation -
Throwable
public Object recordExecution(net.sf.infrared.base.model.ExecutionContext ctx,
org.aopalliance.intercept.MethodInvocation sjp,
net.sf.infrared.agent.MonitorFacade facade)
throws Throwable
executionContext - methodInvocation - monitorFacade -
Throwablepublic boolean isMonitoringEnabled()
public boolean isMonitoringEnabled(net.sf.infrared.agent.MonitorFacade facade)
monitorFacade -
public void setMonitorFacade(net.sf.infrared.agent.MonitorFacade monitorFacade)
|
Anyframe Core | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||