Perhaps you should not use the Selecto pattern. Try just creating a Component that retrieves Bundles by name and Locale.
In this case it is probably the cleanest design. Neeme Praks wrote: > > Quick question about the ComponentSelector pattern. The ComponentSelector > interface defines one method to be implemented: > public Component select( Object hint ) throws ComponentException > > That is good, as long as there is one unique "hint" available. However, in > XMLResourceBundleFactory I have the main "selector" method with two hints: > > public XMLResourceBundle getBundle( String bundleName, Locale locale ) > throws MissingResourceException > > What should I do with this situation? Make a wrapper class that would wrap > together bundle name and locale? > > Neeme > > --------------------------------------------------------------------- > 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]
