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