Identifies a field/method that needs to be injected by the dalma container.
A resource must be one of the following types:
-
EndPoint -derived type.
The container will require the user to configure an endpoint and injects the
configured endpoint.
-
String The container will inject a string that the user configured.
-
boolean The container will inject a true/false option that the user configured.
-
int The container will inject a number that the user configured.
... and it must be either a public field of the form
public T xyz or a public setter method of the form
public void setXyz(T) .
The container uses these annotations to determine what configuration is needed
by a program.
author: Kohsuke Kawaguchi |