org.objectweb.fractal.fraclet.annotation.generator.template
Class LifeCycleTemplateStop
java.lang.Object
org.objectweb.fractal.fraclet.annotation.generator.template.LifeCycleTemplateStop
- All Implemented Interfaces:
- LifeCycleController, spoon.template.Template
public class LifeCycleTemplateStop
- extends Object
- implements LifeCycleController, spoon.template.Template
A template code to manage the LifeCycle annotation. This template introdudes
the implementation of the LifeCycle controller and then call the annotated
method in the start or stop method (depending on the parameter of the
annotation).
- Author:
- Nicolas Pessemier
Method Summary |
String |
getFcState()
(non-Javadoc) Method automatically generated with Spoon |
void |
startFc()
(non-Javadoc) Method automatically generated with Spoon |
void |
stopFc()
(non-Javadoc) Method automatically generated with Spoon |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LifeCycleTemplateStop
public LifeCycleTemplateStop(spoon.reflect.declaration.CtMethod<?> processedMethod)
getFcState
public String getFcState()
- (non-Javadoc) Method automatically generated with Spoon
- Specified by:
getFcState
in interface LifeCycleController
- See Also:
LifeCycleController.getFcState()
startFc
public void startFc()
throws IllegalLifeCycleException
- (non-Javadoc) Method automatically generated with Spoon
- Specified by:
startFc
in interface LifeCycleController
- Throws:
IllegalLifeCycleException
- See Also:
LifeCycleController.startFc()
stopFc
public void stopFc()
throws IllegalLifeCycleException
- (non-Javadoc) Method automatically generated with Spoon
- Specified by:
stopFc
in interface LifeCycleController
- Throws:
IllegalLifeCycleException
- See Also:
LifeCycleController.stopFc()