Hey Ludwig,

sorry but that's not what I meant.

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

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

Does anyone know a good way or did an extension for the generation 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 we
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ån: Christoph Engelbert [mailto:c.engelb...@u-form.de]
Skickat: den 4 april 2011 08:21
Till: Apache Torque Users List
Ämne: Interface-Driven Design

Hey guys,

does anyone of you have a good solution to use Torque in an interface driven
design environment?

Cheers Chris

---------------------------------------------------------------------
To unsubscribe, e-mail: torque-user-unsubscr...@db.apache.org
For additional commands, e-mail: torque-user-h...@db.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: torque-user-unsubscr...@db.apache.org
For additional commands, e-mail: torque-user-h...@db.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: torque-user-unsubscr...@db.apache.org
For additional commands, e-mail: torque-user-h...@db.apache.org

Reply via email to