@Target(value={TYPE,FIELD})
@Retention(value=RUNTIME)
public @interface Agent
Modifier and Type | Optional Element and Description |
---|---|
Boolean3 |
autoprovide
Auto-provide provided services that are directly implemented by the agent.
|
Boolean3 |
autostart
Auto-start this agent on platform startup.
|
Boolean3 |
keepalive
If the agent body has a void return value
or no body at all this flag can be used to
determine if the agent should be kept alive.
|
IMonitoringService.PublishEventLevel |
monitoring
Specify if monitoring should be enabled on the component.
|
java.lang.String |
name
Default name for the started component.
|
java.lang.String[] |
predecessors
Required predecessors (dependencies).
|
java.lang.String[] |
successors
Declared successors (dependencies).
|
Boolean3 |
suspend
Specify if the component should be suspened on creation.
|
Boolean3 |
synchronous
Specify if the subcomponent should run synchronously on its parent's thread.
|
java.lang.String |
type
The agent type.
|
public abstract Boolean3 keepalive
public abstract Boolean3 suspend
public abstract java.lang.String[] predecessors
public abstract java.lang.String[] successors
public abstract Boolean3 synchronous
public abstract IMonitoringService.PublishEventLevel monitoring
public abstract Boolean3 autoprovide
public abstract Boolean3 autostart