You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@turbine.apache.org by Mitch Christensen <mi...@informatixinc.com> on 2002/10/22 16:00:36 UTC

Extending TurbineUser w/ TDK 2.2b3

Hey,

We need to extend TurbineUser almost exactly as the How-to describes.
Unfortunately, the How-to is 2.1 specific.  Can someone tell me what I have
to do differently with the advent of 2.2b3?

Thanks,
Mitch

RE: Extending TurbineUser w/ TDK 2.2b3

Posted by Chris K Chew <ch...@fenetics.com>.
I haven't done it in b3, but extending turbineuser in b2 required just two
little changes.  Hopefully this will be enough to get you working or started
on a solution.  Since you aren't terribly far into your project, you might
also consider using T3 or Plexus, since the developers seem pretty pleased
with them.

1. In the Peer Adaptor:  the howto line
private static final TurbineMapBuilderAdapter mapBuilder =
  (TurbineMapBuilderAdapter) getMapBuilder();
Becomes:
private static final TurbineMapBuilderAdapter mapBuilder =

(TurbineMapBuilderAdapter)getMapBuilder("com.myco.util.db.map.TurbineMapBuil
derAdapter");

2. The include "org.apache.turbine.util.db.map.TableMap" in the
MapBuilderAdaptor becomes "org.apache.torque.map.TableMap" as part of the
effort to decouple torque.


Good luck, and let me/us know how it goes.

Chris

>  -----Original Message-----
> From: 	Mitch Christensen [mailto:mitch.christensen@informatixinc.com]
> Sent:	Tuesday, October 22, 2002 8:01 AM
> To:	turbine-user@jakarta.apache.org
> Subject:	Extending TurbineUser w/ TDK 2.2b3
>
> Hey,
>
> We need to extend TurbineUser almost exactly as the How-to describes.
Unfortunately, the How-to is 2.1 specific.  Can someone tell me what I have
to do differently with the advent of 2.2b3?
>
> Thanks,
> Mitch << File: ATT00012.txt >>


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>