Jean-Marc Orliaguet wrote:

Hi,

I've started working on http://jira.nuxeo.org/browse/NXP-165 to associate local themes to document uuids using the placeful annotation service.

how is the PlacefulServiceBean supposed to be instantiated, or be looked up? there is a JNDILookupHelper in org.nuxeo.ecm.core.api.ejb but it's deprecated.

Pls take a look at NotificationServiceBusinessDelegate for example. The binding to ejb should be done with something like : PlacefulServiceRemote service = ECM.getPlatform().getService(PlacefulServiceRemote.class);

Also for this to work a configuration like in PlatformBindings.xml files is needed.

Dragos
thanks
/JM
_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm


_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm

Reply via email to