|
Griffon 1.2.0 | |||||||
| FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.codehaus.griffon.runtime.core.resources.AbstractResourcesInjector
public abstract class AbstractResourcesInjector
| Field Summary | |
|---|---|
private static Logger |
LOG
|
private GriffonApplication |
app
|
| Constructor Summary | |
AbstractResourcesInjector(GriffonApplication app)
|
|
| Method Summary | |
|---|---|
protected Object
|
convertValue(Class type, Object value)
|
protected boolean
|
doResourceInjection(Class klass, Object instance)
|
GriffonApplication
|
getApp()
|
void
|
injectResources(Object instance)
|
protected Object
|
resolveResource(String key, String[] args)
|
protected Object
|
resolveResource(String key, String[] args, String defaultValue)
|
protected void
|
setFieldValue(Object instance, Field field, Object value, String fqFieldName)
|
| Methods inherited from class Object | |
|---|---|
| wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
| Field Detail |
|---|
private static final Logger LOG
private final GriffonApplication app
| Constructor Detail |
|---|
public AbstractResourcesInjector(GriffonApplication app)
| Method Detail |
|---|
protected Object convertValue(Class type, Object value)
protected boolean doResourceInjection(Class klass, Object instance)
public GriffonApplication getApp()
@Override public void injectResources(Object instance)
protected Object resolveResource(String key, String[] args)
protected Object resolveResource(String key, String[] args, String defaultValue)
protected void setFieldValue(Object instance, Field field, Object value, String fqFieldName)
Groovy Documentation