Thanks for your attention.
I've created a custom service, but I've problem on injecting the service
@InjectObject("service:MyService"). The configuration goes here.
<service-point id="MyService" interface="IService">
<invoke-factory>
<construct class="impl.MyServiceImpl">
<set-object property="linkFactory" value="infrastructure:linkFactory"
/>
</construct>
</invoke-factory>
</service-point>
I've tried to register it under infrastructure and it works, im inject the
service with @InjectObject("infrastructure:myservice"). The configuration
goes here.
<contribution configuration-id="tapestry.Infrastructure">
<property name="myservice" object="service:MyService" />
</contribution>
Im wondering if there's any possibilities to have it register under
"service" to form "service:MyService" everytime i want to inject it? Im
prefer to Not using Registry to get the service, any ideas?
Regards,