Something like that, yes. I have never been a fan of inner classes,
but that is still the idea.


On Tue, 1 Feb 2005 18:55:15 +0100, PA <[EMAIL PROTECTED]> wrote:
> 
> On Feb 01, 2005, at 18:23, Larry Meadors wrote:
> 
> > I think I'd use a strategy pattern for this. Basically, one interface
> > with several implementations; the implementation is dynamically
> > selected at runtime, based on the tranaction type.
> 
> Perhaps something like this?
> 
> http://dev.alt.textdrive.com/file/pl/PLWriter.java
> 
> Check the writeObject() instance method.
> 
> Cheers
> 
> --
> PA, Onnay Equitursay
> http://alt.textdrive.com/
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to