|
Groovy Documentation | |||||||
| FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | PROPERTY | CONSTR | METHOD | DETAIL: FIELD | PROPERTY | CONSTR | METHOD | |||||||
java.lang.Objectgriffon.resourcemanager.ResourceManager
class ResourceManager extends Object
| Field Summary | |
|---|---|
private ConfigObject |
config
|
private PropertyChangeListener |
configChanged
|
private static org.springframework.beans.BeanWrapperImpl |
registry
|
private ConfigSlurper |
slurper
|
| Constructor Summary | |
ResourceManager(GriffonApplication app = null)
|
|
| Methods inherited from class Object | |
|---|---|
| wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
| Field Detail |
|---|
private ConfigObject config
private PropertyChangeListener configChanged
private static final org.springframework.beans.BeanWrapperImpl registry
private ConfigSlurper slurper
| Property Detail |
|---|
static final Map WRAPPERS
GriffonApplication app
@Bindable Class baseclass
@Bindable ObservableList basenames
ObservableMap binding
def builder
Closure componentFinder
@Bindable ObservableList customSuffixes
@Bindable String extension
@Bindable ClassLoader loader
@Bindable Locale locale
org log
@Bindable String resourceSuffix
| Constructor Detail |
|---|
ResourceManager(GriffonApplication app = null)
| Method Detail |
|---|
@Override Object clone()
private Map createMapFromArguments(def args)
protected String expandMessage(String key, Collection args, Object defaultMessage, Locale locale = null)
protected String expandMessage(String key, Object[] args, Object defaultMessage, Locale locale = null)
protected String expandMessage(String key, Map args, Object defaultMessage, Locale locale = null)
String fillIn(String template, Map data)
def getAt(String locale)
def getAt(Locale locale)
def getAt(Class cls)
def getAt(Object obj)
List getCandidateLocales()
ConfigObject getConfig()
protected ConfigObject getConfigObject(String target)
static Locale getLocaleFromString(String localeString)
String getMessage(String key)
String getMessage(String key, String defaultMessage)
String getMessage(String key, Locale locale)
String getMessage(String key, String defaultMessage, Locale locale)
String getMessage(String key, List args)
String getMessage(String key, List args, String defaultMessage)
String getMessage(String key, List args, Locale locale)
String getMessage(String key, List args, String defaultMessage, Locale locale)
String getMessage(String key, Object[] args)
String getMessage(String key, Object[] args, String defaultMessage)
String getMessage(String key, Object[] args, String defaultMessage, Locale locale)
String getMessage(String key, Object[] args, Locale locale)
String getMessage(String key, Map args)
String getMessage(String key, Map args, String defaultMessage)
String getMessage(String key, Map args, String defaultMessage, Locale locale)
String getMessage(String key, Map args, Locale locale)
MessageSource getMessageSource(Object baseclass)
Object getObject(String key, ConfigObject cfg = null, Map data = [:])
@Override Object getProperty(String property)
Object getResource(String property)
Object getResource(String property, Object defaultValue)
Object getResource(String property, Map data)
Object getResource(String property, Map data, Object defaultValue)
Object getResource(String property, Collection data)
Object getResource(String property, Collection data, Object defaultValue)
Object getResource(String property, Object[] data)
Object getResource(String property, Object[] data, Object defaultValue)
void inject(def bean, String prefix = 'injections')
Object invokeMethod(String name, ConfigObject config = null, Object args)
private ConfigObject merge(ConfigObject primary, ConfigObject secondary)
protected InputStream openPrivilegedInputStream(URL url)
private def processForName(String name, String base, ConfigObject config, List customSuffixes)
static void registerEditor(Class cls, PropertyEditor editor)
void setBasenames(Collection basenames)
void setCustomSuffixes(Collection customSuffixes)
Groovy Documentation