Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[sisu-users] watching injected components

Say I have a couple of components, ComponentA and ComponentB

   @Named
   class ComponentA {}

   @Named
   class ComponentB {
      @Inject
      ComponentA a;
   }

Does sisu (or guice for that matter) provide a way to observe injection
of ComponentA instances into ComponentB instances?

To give some context, I develop a maven extension that needs to track
what objects are injected in Mojo instances and it needs to have
per-Mojo breakdown of all injected components.

--
Regards,
Igor


Back to the top