本文整理了Java中jadex.micro.annotation.Arguments
类的一些代码示例,展示了Arguments
类的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Arguments
类的具体详情如下:
包路径:jadex.micro.annotation.Arguments
类名称:Arguments
暂无
代码示例来源:origin: net.sourceforge.jadex/jadex-platform-base
@Arguments(
代码示例来源:origin: net.sourceforge.jadex/jadex-kernel-micro
Argument[] vals = val.value();
argsdone = val.replace();
代码示例来源:origin: org.activecomponents.jadex/jadex-kernel-micro
Argument[] vals = val.value();
argsdone = val.replace();
代码示例来源:origin: net.sourceforge.jadex/jadex-platform
@Arguments(
代码示例来源:origin: org.activecomponents.jadex/jadex-applications-micro
/**
* Agent providing a decoupled service.
*/
@Arguments(@Argument(name=TagProperty.NAME, clazz=String.class, defaultvalue="\"decoupled\""))
@ProvidedServices(@ProvidedService(type=IServiceCallService.class,
implementation=@Implementation(value=ServiceCallService.class,
proxytype=Implementation.PROXYTYPE_DECOUPLED)))
@Agent
public class DecoupledServiceAgent
{
}
代码示例来源:origin: org.activecomponents.jadex/jadex-applications-micro
/**
* Agent providing a direct service.
*/
@Arguments(@Argument(name=TagProperty.NAME, clazz=String.class, defaultvalue="\"direct\""))
@ProvidedServices(@ProvidedService(type=IServiceCallService.class,
implementation=@Implementation(value=ServiceCallService.class,
proxytype=Implementation.PROXYTYPE_DIRECT)))
@Agent
public class DirectServiceAgent
{
}
代码示例来源:origin: org.activecomponents.jadex/jadex-applications-micro
@Arguments(replace=false, value=@Argument(name="filename", clazz=String.class, defaultvalue="\"jadex/micro/testcases/stream/test.jpg\""))
代码示例来源:origin: org.activecomponents.jadex/jadex-applications-micro
/**
* Agent providing a raw service.
*/
@Arguments(@Argument(name=TagProperty.NAME, clazz=String.class, defaultvalue="\"raw\""))
@ProvidedServices(@ProvidedService(type=IServiceCallService.class,
implementation=@Implementation(expression="new RawServiceCallService($component.getComponentIdentifier())",
proxytype=Implementation.PROXYTYPE_RAW)))
@Agent
public class RawServiceAgent
{
// @Agent
// protected IInternalAccess agent;
//
// @AgentKilled
// public void killed()
// {
// System.out.println("killing: "+agent.getComponentIdentifier());
// }
}
代码示例来源:origin: org.activecomponents.jadex/jadex-platform
/**
* Agent that provides the context service.
*/
@Agent
@Arguments(@Argument(name="contextserviceclass", clazz=Class.class))
@ProvidedServices(@ProvidedService(type=IContextService.class, implementation=@Implementation(expression="$args.contextserviceclass!=null ? jadex.commons.SReflect.classForName0($args.contextserviceclass, jadex.commons.SReflect.class.getClassLoader()).newInstance() : jadex.commons.SReflect.isAndroid() ? jadex.platform.service.context.AndroidContextService.class.getConstructor(new Class[]{jadex.bridge.IComponentIdentifier.class}).newInstance(new Object[]{$component.getComponentIdentifier()}): jadex.platform.service.context.ContextService.class.getConstructor(new Class[]{jadex.bridge.IComponentIdentifier.class}).newInstance(new Object[]{$component.getComponentIdentifier()})")))
@Properties(value=@NameValue(name="system", value="true"))
public class ContextAgent
{
}
代码示例来源:origin: org.activecomponents.jadex/jadex-platform
/**
* Agent that provides the clock service.
*/
@Agent
@Arguments(@Argument(name="simulation", clazz=boolean.class, defaultvalue="false"))
@ProvidedServices(@ProvidedService(type=IClockService.class, implementation=@Implementation(
expression="$args.simulation==null || !$args.simulation.booleanValue()? new jadex.platform.service.clock.ClockService(new jadex.platform.service.clock.ClockCreationInfo(jadex.bridge.service.types.clock.IClock.TYPE_SYSTEM, \"system_clock\", System.currentTimeMillis(), 100), $component, $args.simulation): new jadex.platform.service.clock.ClockService(new jadex.platform.service.clock.ClockCreationInfo(jadex.bridge.service.types.clock.IClock.TYPE_EVENT_DRIVEN, \"simulation_clock\", System.currentTimeMillis(), 100), $component, $args.simulation)", proxytype=Implementation.PROXYTYPE_RAW)))
@Properties(value=@NameValue(name="system", value="true"))
public class ClockAgent
{
}
代码示例来源:origin: org.activecomponents.jadex/jadex-applications-bdiv3
@Arguments(
代码示例来源:origin: net.sourceforge.jadex/jadex-platform
@Imports(
{
"jadex.bridge.service.types.factory.*",
"jadex.bridge.service.types.cms.*"
})
@Arguments(@Argument(name="extensions", clazz=String.class))
@ProvidedServices(@ProvidedService(type=IExtensionLoaderService.class, implementation=@Implementation(ExtensionLoaderService.class)))
@RequiredServices(@RequiredService(name="cms", type=IComponentManagementService.class, binding=@Binding(scope=Binding.SCOPE_PLATFORM)))
@Agent
public class ExtensionsAgent
{
}
代码示例来源:origin: org.activecomponents.jadex/jadex-applications-micro
@Arguments(@Argument(name="welcome text", description= "This parameter is the text printed by the agent.",
clazz=String.class, defaultvalue="\"Hello world, this is a Jadex micro agent.\""))
public class PojoHelloWorldAgent
代码示例来源:origin: net.sourceforge.jadex/jadex-platform-base
@Imports(
{
"jadex.bridge.service.types.factory.*",
"jadex.bridge.service.types.cms.*"
})
@Arguments(@Argument(name="extensions", clazz=String.class))
@ProvidedServices(@ProvidedService(type=IExtensionLoaderService.class, implementation=@Implementation(ExtensionLoaderService.class)))
@RequiredServices(@RequiredService(name="cms", type=IComponentManagementService.class, binding=@Binding(scope=Binding.SCOPE_PLATFORM)))
@Agent
public class ExtensionsAgent
{
}
代码示例来源:origin: org.activecomponents.jadex/jadex-applications-bdiv3
@Agent
@Service
@Arguments(@Argument(name="wordpair", clazz=String[].class,
defaultvalue="new String[]{\"bugger\", \"Flegel\"}"))
public class TranslationBDI
代码示例来源:origin: org.activecomponents.jadex/jadex-applications-bdiv3
@Arguments(
代码示例来源:origin: org.activecomponents.jadex/jadex-applications-bdiv3
@Agent
@Service
@Arguments(@Argument(name="wordpair", clazz=String[].class,
defaultvalue="new String[]{\"bugger\", \"Flegel\"}"))
public class TranslationBDI
代码示例来源:origin: net.sourceforge.jadex/jadex-platform-base
@Arguments(
代码示例来源:origin: net.sourceforge.jadex/jadex-platform-base
@Arguments(@Argument(name="component", clazz=IComponentIdentifier.class, defaultvalue="null", description="The component id of the remote component/platform."))
@ProvidedServices(@ProvidedService(type=IProxyAgentService.class, implementation=@Implementation(expression="$component")))
@Service
代码示例来源:origin: org.activecomponents.jadex/jadex-applications-micro
@Agent
@Arguments(
内容来源于网络,如有侵权,请联系作者删除!