@Target(value={FIELD,METHOD})
@Retention(value=RUNTIME)
public @interface AgentService
RequiredService
annotation.Modifier and Type | Optional Element and Description |
---|---|
boolean |
isquery
Should be used as service query.
|
boolean |
lazy
If is lazy the service search will happen on first call.
|
java.lang.String |
name
The argument name.
|
boolean |
required
Fail at startup if no service is found?
|
RequiredService |
requiredservice
Define a required service inline.
|
public abstract boolean lazy
public abstract RequiredService requiredservice