Hi!

I have recently started to work with HiveMind.

Is it possible to log the parameter values used when construct is called for
invoke-factory?
May I use an interceptor? If so how?
Or do I have to implement my own BuildFactory?

I'm not sure if I make any sense, below is an example:

<service-point id="MyService" interface="com.mycompany.services.MyService">
   <invoke-factory service-id="hivemind.BuilderFactory" model="singleton">
      <construct class="com.mycompany.services.MyServiceImpl">
         <string>
            ${service/myservice/param}
         </string>
      </construct>
   </invoke-factory>
</service-point>

I want to log the value of ${service/myservice/param} and I want to log it
in production, not just when debugging.

Tanks in advance!

Best regards

Joacim Turesson

Reply via email to