- Show message with new captcha code when a captcha has failed - Requires implementation of circular dependency handler (initial draft)
22 lines
724 B
Java
22 lines
724 B
Java
package fr.xephi.authme.initialization.circulardependency;
|
|
|
|
import java.lang.annotation.ElementType;
|
|
import java.lang.annotation.Retention;
|
|
import java.lang.annotation.RetentionPolicy;
|
|
import java.lang.annotation.Target;
|
|
|
|
/**
|
|
* Marks a method that should be invoked once injection has taken place.
|
|
* This is a fix for circular dependencies.
|
|
* <p>
|
|
* Methods with this annotation must have exactly one parameter whose type is a singleton
|
|
* registered in the injector. Classes with such methods must implement the {@link HasCircularDependency}
|
|
* marker interface.
|
|
*
|
|
* @see CircularDependencyInitializer
|
|
*/
|
|
@Retention(RetentionPolicy.RUNTIME)
|
|
@Target(ElementType.METHOD)
|
|
public @interface InjectAfterInitialization {
|
|
}
|