|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Target(value=TYPE) @Retention(value=RUNTIME) @Documented public @interface AlternativeImplementation
Only for the config and SPI of CODI!
Annotate a bean which implements a SPI of CODI or extends a config class of CODI.
In case of implementing a SPI it's required to register the custom class.
So it will be checked by the ServiceLoader
.
In case of extending a config class of CODI, you have to do the same.
However, since the config classes aren't abstract or have a special interface,
it's required to register the custom class in a file called:
META-INF/services/org.apache.myfaces.extensions.cdi.core.api.config.CodiConfig
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |