Annotation Interface UltiToolsModule
UltiTools module annotation.
- See Also:
-
Optional Element Summary
Optional Elements
-
Element Details
-
scanBasePackages
String[] scanBasePackages- Returns:
- scan base packages
- Default:
{}
-
scanBasePackageClasses
Class<?>[] scanBasePackageClasses- Returns:
- scan base package classes
- Default:
{}
-
eventListener
boolean eventListener- Returns:
- whether auto register event listener
- Default:
true
-
cmdExecutor
boolean cmdExecutor- Returns:
- whether auto register command executor
- Default:
true
-
config
boolean config- Returns:
- whether auto register config entity
- Default:
true
-
i18n
String[] i18n- Returns:
- i18n code
- See Also:
- Default:
{}
-
additionalEntities
Class<?>[] additionalEntitiesEntity classes this module owns that live outside its own JAR -- a shared library JAR, a multi-module build's common artifact, or a plugin suite's shared JAR. The module's own JAR is always scanned for@Tableclasses automatically; this attribute is additive to that scan, not a replacement for it. Equivalent to JPA's<jar-file>persistence-unit element.Validated, not trusted (02-14). Each class must live on this module's own classpath -- either its own JAR, or a jar/module not already known to belong to a different, already-discovered module. A class that structurally belongs to a DIFFERENT module (its own JAR, or one already recorded as owned by another module) fails plugin registration with a
com.ultikits.ultitools.exceptions.PluginModuleExceptioninstead of silently granting this module a workingDataOperatorfor another module's entity.- Returns:
- additional entity classes
- Since:
- 6.3.0
- Default:
{}
-