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]

Reply via email to