Annotation Interface 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 the org.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
    The unique name of the module.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    The set of optional dependencies (module names).
    The set of required dependencies (module names).
  • Element Details

    • name

      String name
      The unique name of the module.
    • requiredModules

      String[] requiredModules
      The set of required dependencies (module names).
      Default:
      {}
    • optionalModules

      String[] optionalModules
      The set of optional dependencies (module names).
      Default:
      {}