On Monday 15 April 2002 08:37 am, Marcus Crafter wrote: > > <role > name="org.apache.avalon.excalibur.datasource.DataSourceComponentSelector" > shorthand="datasources" > > default-class="org.apache.avalon.excalibur.component.ExcaliburComponentSele >ctor"> <hint shorthand="jdbc" > class="org.apache.avalon.excalibur.datasource.JdbcDataSource"/> <hint > shorthand="j2ee" > class="org.apache.avalon.excalibur.datasource.J2eeDataSource"/> <hint > shorthand="informix" > class="org.apache.avalon.excalibur.datasource.InformixDataSource"/> </role> > > If we extended one of the classes or implemented a new one with > specific business logic for example, is there anyway to extend the > list of selectable components the DataSourceComponentSelector is > preconfigured to provide ? (ie. is it easily possible to add > another hint without having to edit the cocoon.roles file ?).
Duplicate the role in your own custom roles file. You have to duplicate the hints though since the DefaultRoleManager doesn't cascade when looking up hints. -pete -- peter royal -> [EMAIL PROTECTED] -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
