Re: SV: Interface-Driven Design

Christoph Engelbert <[email protected]> Mon, 4 Apr 2011 11:12:26 +0200
Newsgroups gmane.comp.jakarta.turbine.torque.user
Message-ID <[email protected]>
Hey Ludwig,

sorry but that's not what I meant.

I thought about interfaces for the generated classes that have getter /=20
setter for all of the properties. I need to use them in a=20
multi-classloader environment. The idea was to create an OSGi like=20
interface / implementation system. That means you have a JAR with the=20
interfaces and a JAR with the implementations (in this case the=20
generated classes from Torque).

Torque is able to "generate" interface classes (if they not exist) but=20
this are plain interfaces with no methods defined at all. It would be=20
great if there is a way to generate full interfaces, as well for OSGi=20
environments.

Does anyone know a good way or did an extension for the generation=20
process to handle generation of interfaces?

Cheers Chris

Am 04.04.2011 09:29, schrieb Ludwig Magnusson:
> Not quite sure what you mean. But we do use torque on a daily basis and w=
e
> are focused on producing a good interface.
> I assume you mean user interface.
>
> Perhaps if you specify your question more, I could help.
> /Ludwig
>
> -----Ursprungligt meddelande-----
> Fr=E5n: Christoph Engelbert [mailto:[email protected]]
> Skickat: den 4 april 2011 08:21
> Till: Apache Torque Users List
> =C4mne: Interface-Driven Design
>
> Hey guys,
>
> does anyone of you have a good solution to use Torque in an interface dri=
ven
> design environment?
>
> Cheers Chris
>
> ---------------------------------------------------------------------
> 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]
>