Annotation Interface Implementation


@Target(TYPE) @Retention(RUNTIME) @Scope public @interface Implementation

Indicates that the annotated class is a custom implementation that should replace the default implementation.

A class annotated with Implementation will be automatically searched for with help of the ClassFinders and instantiated by guice. Following types are candidates for automatic registration.

Additionally, the following classes can be also automatically registered via their dedicated annotations.

Dependencies on other framework components

If you need access to other components of JDACommands, you can get all Properties of stage JDACScope.CONFIGURATION by either injecting (see list underneath) or using JDACIntrospection.

Please note that this could lead to cycling dependencies errors, for more information see JDACPropertyProvider.

Following components are directly injectable by Guice:

If you need other properties of stage JDACScope.CONFIGURATION, just inject the JDACIntrospection instance and retrieve them manually.