You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ofbiz.apache.org by Prashant Punekar <Pr...@mindtree.com> on 2010/08/18 04:05:11 UTC

factory implementation !

Hi,

Factory Implementation details:

I have

1)      MyInterface (java interface) with method1(), method2(), method3()

2)      MyImpl1 implements MyInterface, so it will have implementations for methods method1(), method2() and method3()

3)      MyImpl2 implements MyInterface, so it will have implementations for methods method1(), method2() and method3()

4)      Class FactoryMethod based on some attribute will instantiate either MyImpl1 or MyImpl2 class and invoke method1, method2 and method3().

Each implementation needs to be an ofbiz service.

How do I design the above stuff using ofbiz interface framework.

Regards,
Prashant




________________________________
http://www.mindtree.com/email/disclaimer.html

Re: factory implementation !

Posted by Michał Cukierman <mc...@partbook.eu>.
Cant you use FactoryMethod as an Ofbiz service?


Dnia 2010-08-18, śro o godzinie 07:35 +0530, Prashant Punekar pisze:
> FactoryMethod