The OData4J gets the Producer object using the Producer Resolver as follows:
ODataProducer producer = producerResolver.getContext(ODataProducer.class);
Here, the ProducerResolver object is nothing but the class defined by
ODataApplication.
server.setODataApplication(myODataApp.class);
This model works only if I have different Class Names for different
ODataProducers in my JVM.
If I have a generic ODataProducer implementation and I want to create multiple
instances of it to start multiple OData endpoints, I cannot use Odata4J.
Is my understanding correct? If so, are there are plans of supporting such
scenarios in odata4j? If not, how to achieve it using the existing odata4j
implementation?
Original issue reported on code.google.com by gvnan...@gmail.com on 5 Mar 2013 at 9:49
Original issue reported on code.google.com by
gvnan...@gmail.com
on 5 Mar 2013 at 9:49