hi there,

at startup of cocoon i'd like to connect to all
databases configured in cocon.xconf and get data to
configure the system.

I've written a "ThreadSafe,Sevicable" Component for
this task, but i can only get one datasourceconnection
at a time and i have to know the name of the pool.
(this would mean, i needed another configfile, with
all the names of the datasources, which is just 100%
redundant)

Is there a possibility to get all those dbs at once? 

i use:
this.dbSelector = (ComponentSelector)
manager.lookup(DataSourceComponent.ROLE + "Selector");
DataSourceComponent datasource = (DataSourceComponent)
this.dbSelector.select(poolId);

i'd like to get e.g. an Enumerator of all Datasources

any ideas.

TIA

andi

__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com

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

Reply via email to