/** * Micro kernel. */ @Imports("jadex.commons.*") @ProvidedServices({@ProvidedService(type=IComponentFactory.class, implementation=@Implementation( expression="new MicroAgentFactory($component.getServiceProvider(), SUtil.createHashMap(new String[]{\"debugger.panels\"},new Object[]{\"jadex.tools.debugger.micro.MicroDebuggerPanel\"}))")) }) public class KernelMicroAgent extends MicroAgent { }
/** * Default monitoring agent. */ @Agent @ProvidedServices(@ProvidedService(type=IMonitoringService.class, implementation=@Implementation(MonitoringService.class))) public class MonitoringAgent { }
/** * Agent that provides a service only within the own platform. */ @Agent @ProvidedServices(@ProvidedService(type = IMessageService.class, implementation = @Implementation(MessageService.class), scope = RequiredServiceInfo.SCOPE_PLATFORM)) public class SecondAgent { }
@Agent @Service @ProvidedServices(@ProvidedService(type = ITestService.class)) public class ProviderAgent implements ITestService { }
/** * Agent that publishes the rs publication service. */ @Agent @ProvidedServices( { @ProvidedService(name="publish_rs", type=IPublishService.class, implementation=@Implementation(DefaultRestServicePublishService.class)) }) public class RSPublishAgent { }
/** * Agent that publishes the ws publication service. */ @Agent @ProvidedServices( { @ProvidedService(name="publish_ws", type=IPublishService.class, implementation=@Implementation(DefaultWebServicePublishService.class)) }) public class WSPublishAgent { }
@Agent @Service @ProvidedServices(@ProvidedService(type=IInfoService.class)) public class MicroProviderAgent implements IInfoService { /** * Get some info. * @return Some info. */ public IFuture<String> getInfo() { return new Future<String>("some info"); } }
@Agent @Service @ProvidedServices(@ProvidedService(type=IInfoService.class)) public class PojoProviderAgent implements IInfoService { /** * Get some info. * @return Some info. */ public IFuture<String> getInfo() { return new Future<String>("some info"); } }
/** * Agent that provides the example service. */ @Agent @Service @ProvidedServices(@ProvidedService(type=IExampleService.class))//, scope=RequiredServiceInfo.SCOPE_APPLICATION)) public class ProviderAgent implements IExampleService { /** * An example method. */ public IFuture<String> getInfo() { return new Future<String>("info"); } }
/** * Agent that provides the example service. */ @Agent @Service @ProvidedServices(@ProvidedService(type=IExampleService.class, scope=RequiredServiceInfo.SCOPE_APPLICATION)) public class ProviderAgent implements IExampleService { /** * An example method. */ public IFuture<String> getInfo() { return new Future<String>("info"); } }
/** * Component kernel. */ @Properties({ @NameValue(name="kernel.types", value="new String[] { \"component.xml\"}") }) @ProvidedServices({ @ProvidedService(type=IComponentFactory.class, implementation=@Implementation(expression="new jadex.component.ComponentComponentFactory($component.getServiceProvider())")) }) public class KernelComponentAgent extends MicroAgent { }
/** * Chat micro agent with a registry service. */ @Description("This agent provides a registry service.") @Agent @ProvidedServices(@ProvidedService(type=IRegistryServiceE3.class, implementation=@Implementation(RegistryServiceE3.class))) public class RegistryE3Agent { }
/** * Component kernel. */ @Properties(@NameValue(name="kernel.types", value="new String[]{\"BDI.class\"}")) @ProvidedServices({ @ProvidedService(type=IComponentFactory.class, implementation=@Implementation( // expression="new jadex.bdiv3.BDIAgentFactory($component.getServiceProvider())")) expression="new jadex.bdiv3.BDIAgentFactory($component.getServiceProvider(), jadex.commons.SUtil.createHashMap(new String[]{\"debugger.panels\"},new Object[]{\"jadex.tools.debugger.bdiv3.BDIViewerDebuggerPanel\"}))")) }) public class KernelBDIV3Agent extends MicroAgent { }
@Agent @Service @ProvidedServices({ @ProvidedService(type=IInjectionTestService.class, implementation = @Implementation(InjectionTestService.class)) }) public class ProviderAgent { }
@ProvidedServices(@ProvidedService(type=ITestService.class)) @Service public class ProviderAgent implements ITestService
@ProvidedServices({@ProvidedService(type=ITestService.class)}) public class ProviderAgent implements ITestService
/** * */ @Agent @ProvidedServices(@ProvidedService(type=ITransportAddressService.class, implementation=@Implementation(TransportAddressService.class))) @Properties(value=@NameValue(name="system", value="true")) public class TransportAddressAgent { }
/** * Agent that provides the simulation service. */ @Agent @ProvidedServices(@ProvidedService(type=ISimulationService.class, implementation=@Implementation(SimulationService.class))) @Properties(value=@NameValue(name="system", value="true")) public class SimulationAgent { }
/** * Agent that provides the file transfer service. */ @Agent @ProvidedServices(@ProvidedService(type=IFileTransferService.class, implementation=@Implementation(FileTransferService.class))) @Properties(value=@NameValue(name="system", value="true")) public class FileTransferAgent { }
/** * Default monitoring agent. */ @Agent @ProvidedServices(@ProvidedService(type=IMonitoringService.class, implementation=@Implementation(MonitoringService.class))) @Properties(value=@NameValue(name="system", value="true")) public class MonitoringAgent { }