Hi,
it seems that i found an issue in using petite & proxetta.
following situation given:
external bean (with petite inject anno)
|
| (reference on)
|
Petite Bean #1
|
| (reference on)
|
Petite Bean #2
Bean #2 has a proxetta advice on one public method and a reference on Bean #2 (petite inject anno).
I have used advanced petite container from (
http://jodd.org/doc/proxetta/proxy.html) and shipped ProxettaAwarePetiteContainer.
With both ones the Bean#2 reference is not injected into proxified Bean #1 instance after wiring the external bean.
External Bean externalBean = new ExternalBean();
petiteContainer.wire(externalbean);
externalBean.callMethod() -> NPE thrown
example is added as attachment (maven / intellij project).
Is this a failure or wrong usage?
Thank you!
Greetz
Sascha