cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ben Anderson <benanderson...@gmail.com>
Subject static method to get a component?
Date Thu, 09 Jun 2005 15:36:34 GMT
Hi,
I need to hit the database from outside of cocoon, but within the same
webapp.  I would like to share the same datasource.  My first thought
was to follow this example:
http://cocoon.apache.org/2.1/developing/datasources.html
which is to implement the Composable interface.  However, I'm not sure
how to do this because I'll need a static hook somewhere to get my
object.  Does anyone have any pointers for doing this?
Thanks,
Ben

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message