@Target(value=FIELD) @Retention(value=RUNTIME) public @interface Resource
Procedure methods as a resource for the procedures to use.
What this means is that before the procedure is called, fields with this annotation will be automatically
populated with the appropriate resource.
In fact, apart from static fields, only fields with this annotation are allowed in classses that
define procedure. Each of the fields must be public and non-final.ProcedureCopyright © 2002–2016 The Neo4j Graph Database Project. All rights reserved.