|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.ifremer.isisfish.aspect.RuleAspect
public class RuleAspect
Aspect utiliser pour intersepecter les appels a
Rule.init(SimulationContext), Rule.preAction(SimulationContext, Date, Metier),
Rule.postAction(SimulationContext, Date, Metier) et memoriser
le temps mit.
| Nested Class Summary | |
|---|---|
protected static class |
RuleAspect.State
State phase to register. |
| Constructor Summary | |
|---|---|
RuleAspect()
|
|
| Method Summary | |
|---|---|
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, Date, Metier) in packages "rules". |
Object |
initPreCall(org.codehaus.aspectwerkz.joinpoint.JoinPoint jp)
Aspect around Rule.preAction(SimulationContext, Date, 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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RuleAspect()
| Method Detail |
|---|
public Object initCall(org.codehaus.aspectwerkz.joinpoint.JoinPoint jp)
throws Throwable
Rule.init(SimulationContext) in packages "rules".
jp - join point
Throwable
public Object initPreCall(org.codehaus.aspectwerkz.joinpoint.JoinPoint jp)
throws Throwable
Rule.preAction(SimulationContext, Date, Metier) in packages "rules".
jp - join point
Throwable
public Object initPostCall(org.codehaus.aspectwerkz.joinpoint.JoinPoint jp)
throws Throwable
Rule.postAction(SimulationContext, Date, Metier) in packages "rules".
jp - join point
Throwable
protected Object makeTimedCall(org.codehaus.aspectwerkz.joinpoint.JoinPoint jp,
RuleAspect.State state)
throws Throwable
jp - join pointstate - state
Throwable
protected void registerTime(org.codehaus.aspectwerkz.joinpoint.JoinPoint jp,
RuleAspect.State state,
long timeTaken)
SimulationContext.
jp - join pointstate - statetimeTaken - time taken by state
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||