Hello,

I'ld like to write my bindings in XML following "standard"...

I read about OSGI RFC 124 because I have simple bindings of my object model
and bindings for my services...

What do you think about this? RFC124 is Spring-oriented... :-/

<?xml version="1.0" encoding="UTF-8"?>
<components>
    <component id="com.sap.i051610.mybundle.model.IMyObject"
class="com.sap.i051610.mybundle.model.impl.MyObjectImpl" scope="prototype"
/>
</components>

<?xml version="1.0" encoding="UTF-8"?>
<components>
    <service interface="com.sap.i051610.mybundle.services.IMyService">
        <component
class="com.sap.i051610.mybundle.services.impl.MyServiceImpl"
scope="singleton" />
    </service>
</components>

Advantages will be that the bindings will be readeable by me (using Guice)
and a standard-osgi framework too...

Anthony

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"google-guice" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/google-guice?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to