[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Factory Method




Sounds like instead of using the factory method pattern, you should be 
using the factory object pattern.

Calvin


On Fri, 21 Mar 2003 09:10:29 -0800 (PST), Kevin O'Neill Stoll 
<kevinostoll@yahoo.com> wrote:

> Hey all,
>
> I have a set of objects that would make a good canidate in
> using the factory method design pattern. The problem I'm
> having at the moment is determining which object to use.
> All of my object extend a super class called SearchBean but
> I determine which form of searchbean to use by passing a
> search-type parameter in from the requesting page.
>
> My question is, how do I convert a querystring parameter
> that identifies the type of search to invoke into an object
> in which a factory method function could use?
>
>
>
> =====
> Kevin Stoll
> http://kevinstoll.com/
>
> OpenSource Software...FREE!
> Angering Bill Gates...priceless.
> ============================================================
>
> __________________________________________________
> Do you Yahoo!?
> Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop!
> http://platinum.yahoo.com
>



-- 
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/