public class RuleAspect extends Object
Rule.init(SimulationContext), Rule.preAction(SimulationContext, TimeStep, Metier),
Rule.postAction(SimulationContext, TimeStep, Metier) et mémoriser
le temps mit.| Constructor and Description |
|---|
RuleAspect() |
| Modifier and Type | Method and Description |
|---|---|
Object |
initCall(org.aspectj.lang.ProceedingJoinPoint jp)
Aspect around
Rule.init(SimulationContext) in packages "rules". |
Object |
initPostCall(org.aspectj.lang.ProceedingJoinPoint jp)
Aspect around
Rule.postAction(SimulationContext, TimeStep, Metier) in packages "rules". |
Object |
initPreCall(org.aspectj.lang.ProceedingJoinPoint jp)
Aspect around
Rule.preAction(SimulationContext, TimeStep, Metier) in packages "rules". |
protected Object |
makeTimedCall(org.aspectj.lang.ProceedingJoinPoint jp,
int state)
Effectue l'appel reel en calculant le temps pris.
|
protected void |
registerTime(org.aspectj.lang.JoinPoint jp,
int state,
long timeTaken)
Add time (init/pre/post) to simulation information in
current
SimulationContext. |
public Object initCall(org.aspectj.lang.ProceedingJoinPoint jp) throws Throwable
Rule.init(SimulationContext) in packages "rules".jp - join pointThrowablepublic Object initPreCall(org.aspectj.lang.ProceedingJoinPoint jp) throws Throwable
Rule.preAction(SimulationContext, TimeStep, Metier) in packages "rules".jp - join pointThrowablepublic Object initPostCall(org.aspectj.lang.ProceedingJoinPoint jp) throws Throwable
Rule.postAction(SimulationContext, TimeStep, Metier) in packages "rules".jp - join pointThrowableprotected Object makeTimedCall(org.aspectj.lang.ProceedingJoinPoint jp, int state) throws Throwable
jp - join pointstate - stateThrowableprotected void registerTime(org.aspectj.lang.JoinPoint jp,
int state,
long timeTaken)
SimulationContext.jp - join pointstate - statetimeTaken - time taken by stateCopyright © 1999–2015 CodeLutin. All rights reserved.