Package org.glassfish.hk2.api
Annotation Type Customize
-
@Documented @Retention(RUNTIME) @Target(METHOD) public @interface Customize
Indicates that a method should be customized. Any method marked with this annotation will be sent to the class level customizer rather than the normal "add/lookup/remove" format that it would normally be mapped to. This is useful if there is some sort of special processing that needs to be done, or if a method on an interface looks like one of the special method types but in fact is not. It is an error for this to be placed on a method where the class does not have aCustomizer
that will be detected only at runtimeThis annotation is for use with the hk2-xml configuration system
- Author:
- jwells