Login  Register

factory implementation !

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options Options
Embed post
Permalink
Reply | Threaded
Open this post in threaded view
| More
Print post
Permalink

factory implementation !

prashant punekar
41 posts
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
Reply | Threaded
Open this post in threaded view
| More
Print post
Permalink

Re: factory implementation !

Michał Cukierman
15 posts
Cant you use FactoryMethod as an Ofbiz service?


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