This annotation is for use with the hk2-xml configuration system
| Modifier and Type | Method and Description |
|---|---|
| public boolean | Returns: true if an unknown method called on a bean at runtime which does not have a mirrored method on the customizer should raise a RuntimeExceptionIf true then if a bean method is not mirrored in the customizer a RuntimeException will be thrown. |
| public String[] | Returns: the name of the customizer for this beanThe name of the customizer to lookup for this bean |
| public Class | Returns: the class of the customizer for this beanThe class of the customizer to lookup for this bean |
| failWhenMethodNotFound | back to summary |
|---|---|
| public boolean failWhenMethodNotFound() If true then if a bean method is not mirrored in the customizer a RuntimeException will be thrown. Otherwise unknown methods are treated as a no-op. Setting this to false must be used with care as any method with a scalar return will throw a null pointer exception if no method can be found in the customizer methods since converting null to a scalar value does not work
| |
| name | back to summary |
|---|---|
| public String[] name() The name of the customizer to lookup for this bean
| |
| value | back to summary |
|---|---|
| public Class The class of the customizer to lookup for this bean
| |