Griffon 1.2.0

org.codehaus.griffon.runtime.core.resources
[Java] Class AbstractResourcesInjector

java.lang.Object
  org.codehaus.griffon.runtime.core.resources.AbstractResourcesInjector
All Implemented Interfaces:
ResourcesInjector

public abstract class AbstractResourcesInjector

Authors:
Andres Almiray
Since:
1.2.0


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

LOG

private static final Logger LOG


app

private final GriffonApplication app


 
Constructor Detail

AbstractResourcesInjector

public AbstractResourcesInjector(GriffonApplication app)


 
Method Detail

convertValue

protected Object convertValue(Class type, Object value)


doResourceInjection

protected boolean doResourceInjection(Class klass, Object instance)


getApp

public GriffonApplication getApp()


injectResources

@Override
public void injectResources(Object instance)


resolveResource

protected Object resolveResource(String key, String[] args)


resolveResource

protected Object resolveResource(String key, String[] args, String defaultValue)


setFieldValue

protected void setFieldValue(Object instance, Field field, Object value, String fqFieldName)


 

Groovy Documentation