@Documented
@Retention(value=RUNTIME)
@Target(value=FIELD)
public @interface Inject
Inject
annotation allows injection of
IronJacamar beans into the test case.
The list of beans available can be seen in the configuration
files, or through the Kernel
bean in the management
console
Example:
@Inject(name = "MDR") private MetadataRepository mdr;
Modifier and Type | Required Element and Description |
---|---|
java.lang.String |
name
Name of the bean
|
Copyright © 2014 IronJacamar (http://www.ironjacamar.org)