Decorators and decorated classes are in different bean archives
My ear app which is running on JBoss AS 7.1.0.Final has two jars:
Both flags are CDI bean archives.
A class decorated with style is in
The decorator class is in
If decorators are declared in
, they are not included. Does this work as expected?
Since it is
developed independently of
and has no dependency on
, I would expect decorators to be declared (included) in the archive where the decorator classes are stored.
How can one include the decorator class without modifying the decorated class archive?
source to share