It's my mistake..
I have multiple copy of DefaultDataSourceManager...
confused.... :->
----- Original Message -----
From: "Peter Donald" <[EMAIL PROTECTED]>
To: "Avalon Development" <[EMAIL PROTECTED]>
Sent: Friday, March 30, 2001 6:22 PM
Subject: Re: How about DataSourceSelector block?
> At 04:39 30/3/01 +0900, Eung-ju Park wrote:
> >I need simple DataSource management block.
> >here is DataSourceSelector block. :-)
>
> Looks good except for one thing
>
> the default implementation has...
>
> public Component select( final Object hint )
> throws ComponentManagerException
> {
> final Component component = (Component)m_dataSources;
>
> shouldn't it be
>
> public Component select( final Object hint )
> throws ComponentManagerException
> {
> final Component component = (Component)m_dataSources.get( hint );
>
> ????
>
> Cheers,
>
> Pete
>
> *-----------------------------------------------------*
> | "Faced with the choice between changing one's mind, |
> | and proving that there is no need to do so - almost |
> | everyone gets busy on the proof." |
> | - John Kenneth Galbraith |
> *-----------------------------------------------------*
>
>
> ---------------------------------------------------------------------
> 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]