How to create a jandex index for a jar so that JBoss EAP 6 or EAP 7 modules will scan a modules annotations
Issue
- How to create a jandex index for a jar so that JBoss EAP 6 modules will scan a modules annotations?
- I have a custom module in the modules directory, when I depend on the module I can see the classes, but the annotations are being ignored, how do I fix this?
- I use inheritance in my application and the super class is located in a module, it seems that the annotations are not scanned here
- The @PostConstruct method of an abstract super class within a static JBoss module is not called.
- When the
annotationsflag is added to a module in EAP 7 the deployment time of my application increases and a lot of CPU is consumed.
Environment
- Red Hat JBoss Enterprise Application Platform (EAP)
- 6.x
- 7.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
