@Evicts(value="class") @Named(value="groovy") public class GroovyScriptResourceBundleLoader extends ClassResourceBundleLoader
Modifier and Type | Field and Description |
---|---|
protected static String |
GROOVY_SUFFIX |
CLASS_SUFFIX, instantiator, resourceBundleReader
ERROR_FILENAME_BLANK, ERROR_RESOURCE_HANDLER_NULL, ERROR_SUFFIX_BLANK, resourceHandler
Constructor and Description |
---|
GroovyScriptResourceBundleLoader(Instantiator instantiator,
ResourceHandler resourceHandler,
ResourceBundleReader resourceBundleReader,
griffon.util.ConfigReader configReader) |
Modifier and Type | Method and Description |
---|---|
Collection<ResourceBundle> |
load(String name) |
loadClass, newInstance
getResourceAsURL, getResourceHandler, getResources
protected static final String GROOVY_SUFFIX
@Inject public GroovyScriptResourceBundleLoader(@Nonnull Instantiator instantiator, @Nonnull ResourceHandler resourceHandler, @Nonnull ResourceBundleReader resourceBundleReader, @Nonnull griffon.util.ConfigReader configReader)
@Nonnull public Collection<ResourceBundle> load(@Nonnull String name)
load
in interface ResourceBundleLoader
load
in class ClassResourceBundleLoader