Annotation Type InfinispanModule
-
@Target(TYPE) @Retention(CLASS) public @interface InfinispanModule
Mechanism for specifying the name and dependencies of Infinispan modules.There must be exactly one
InfinispanModule
annotation in each module, placed on an implementation of theorg.infinispan.lifecycle.ModuleLifecycle
interface.It would have been nice to put the annotation on a package, but package-info.java source files are excluded from compilation because of MCOMPILER-205.
- Since:
- 10.0
- Author:
- Dan Berindei
-
-
Required Element Summary
Required Elements Modifier and Type Required Element Description java.lang.String
name
The unique name of the module.
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description java.lang.String[]
optionalModules
The set of optional dependencies (module names).java.lang.String[]
requiredModules
The set of required dependencies (module names).
-