Hi
I've problem to inject the LogService with iPOJO.
My environment is:
Framwork 3.0.1 with Gogo Shell
org.apache.felix.log-1.0.0
iPOJO 1.6.2
I'm trying to inject the LogService with a field:
"private transient LogService logger;"
And with iPOJO metadata.xml configured
<ipojo>
<component name="disks-service"
classname="net.redrabbit.homecenter.system.DisksService">
<requires field="logger"/>
<provides />
<callback transition="validate" method="start"/>
<callback transition="invalidate" method="stop"/>
</component>
<instance name="disks-instance" component="disks-service"/>
</ipojo>
But the logger turned out to be NULL when executing.
I can't understand.
Regards
LongkerDandy
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]