@Target(value={TYPE,FIELD})
@Retention(value=RUNTIME)
public @interface Agent
Modifier and Type | Optional Element and Description |
---|---|
boolean |
autoprovide
Auto-provide provided services that are directly implemented by the agent.
|
Boolean3 |
autoshutdown
Specify if the component be killed automatically when no more subcomponents exist.
|
Boolean3 |
daemon
Specify if the component is a daemon that doesn't prevent autoshutdown of its parent.
|
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.
|
Boolean3 |
master
Specify if the component is a master and leads to killing of parent when stopped.
|
IMonitoringService.PublishEventLevel |
monitoring
Specify if monitoring should be enabled on the component.
|
Boolean3 |
persistable
Specify if the component is persistable.
|
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.
|
public abstract Boolean3 keepalive
public abstract Boolean3 suspend
public abstract Boolean3 master
public abstract Boolean3 daemon
public abstract Boolean3 autoshutdown
public abstract Boolean3 synchronous
public abstract Boolean3 persistable
public abstract IMonitoringService.PublishEventLevel monitoring