/** {@inheritDoc} */ @Override public Status start(KernelService kernel) { this.logger.log( Level.INFO, Locale.getString( GroovySimpleMessageActivator.class, "GROOVYSIMPLEMESSAGE_START")); // $NON-NLS-1$ GroovyAgentReceiver receiver = new GroovyAgentReceiver(); AgentAddress arec = kernel.launchLightAgent(receiver, "receiver"); // $NON-NLS-1$ GroovyAgentSender sender = new GroovyAgentSender(arec); kernel.launchLightAgent(sender, "sender"); // $NON-NLS-1$ return StatusFactory.ok(this); }
/** {@inheritDoc} */ @Override public Status stop(KernelService kernel) { return StatusFactory.ok(this); }
/** {@inheritDoc} */ @Override public Status live() { this.isRun = true; return StatusFactory.ok(this); }
/** {@inheritDoc} */ @Override public Status end() { this.isDestroy = true; return StatusFactory.ok(this); }
/** {@inheritDoc} */ @Override public Status activate(Object... parameters) { this.isInit = true; return StatusFactory.ok(this); }