/** * Execute the functional body of the agent. * Is only called once. */ public IFuture<Void> body() { IInternalBDIAgentFeature bdif = component.getComponentFeature(IInternalBDIAgentFeature.class); createStartBehavior().startBehavior(bdif.getBDIModel(), bdif.getRuleSystem(), bdif.getCapability()); // inited = true; return super.body(); }