public class RuleAspect extends Object
Rule.init(SimulationContext), Rule.preAction(SimulationContext, TimeStep, Metier),
Rule.postAction(SimulationContext, TimeStep, Metier) et memoriser
le temps mit.| Modifier and Type | Class and Description |
|---|---|
protected static class |
RuleAspect.State
State phase to register.
|
| Constructor and Description |
|---|
RuleAspect() |
| Modifier and Type | Method and Description |
|---|---|
Object |
initCall(org.codehaus.aspectwerkz.joinpoint.JoinPoint jp)
Aspect around
Rule.init(SimulationContext) in packages "rules". |
Object |
initPostCall(org.codehaus.aspectwerkz.joinpoint.JoinPoint jp)
Aspect around
Rule.postAction(SimulationContext, TimeStep, Metier) in packages "rules". |
Object |
initPreCall(org.codehaus.aspectwerkz.joinpoint.JoinPoint jp)
Aspect around
Rule.preAction(SimulationContext, TimeStep, Metier) in packages "rules". |
protected Object |
makeTimedCall(org.codehaus.aspectwerkz.joinpoint.JoinPoint jp,
RuleAspect.State state)
Effectue l'appel reel en calculant le temps pris.
|
protected void |
registerTime(org.codehaus.aspectwerkz.joinpoint.JoinPoint jp,
RuleAspect.State state,
long timeTaken)
Add time (init/pre/post) to simulation information in
current
SimulationContext. |
public Object initCall(org.codehaus.aspectwerkz.joinpoint.JoinPoint jp) throws Throwable
Rule.init(SimulationContext) in packages "rules".jp - join pointThrowablepublic Object initPreCall(org.codehaus.aspectwerkz.joinpoint.JoinPoint jp) throws Throwable
Rule.preAction(SimulationContext, TimeStep, Metier) in packages "rules".jp - join pointThrowablepublic Object initPostCall(org.codehaus.aspectwerkz.joinpoint.JoinPoint jp) throws Throwable
Rule.postAction(SimulationContext, TimeStep, Metier) in packages "rules".jp - join pointThrowableprotected Object makeTimedCall(org.codehaus.aspectwerkz.joinpoint.JoinPoint jp, RuleAspect.State state) throws Throwable
jp - join pointstate - stateThrowableprotected void registerTime(org.codehaus.aspectwerkz.joinpoint.JoinPoint jp,
RuleAspect.State state,
long timeTaken)
SimulationContext.jp - join pointstate - statetimeTaken - time taken by stateCopyright © 1999-2013 CodeLutin. All Rights Reserved.