/** * Section 4.2.2, Page 59 * * One-shot’ behaviours are designed to complete in one execution phase; * their action() method is thus executed only once. **/ import jade.core.behaviours.OneShotBehaviour; public class MyOneShotBehaviour extends OneShotBehaviour { public void action() { // perform operation X } }