@Retention(value=RUNTIME)
@Target(value=TYPE)
public @interface Repository
Indicates to Google Guice where that the java class is a Repository.
This enables us to automatically fetch the connection before a method is invoked.
Only works for methods that are public, package-private or protected (https://github.com/google/guice/wiki/AOP)
- See Also:
User: andy
Date: 1/19/12
Time: 12:03 PM