@Service(value="cuba_ResourceService") public class ResourceServiceBean extends java.lang.Object implements ResourceService
Modifier and Type | Field and Description |
---|---|
protected Resources |
resources |
NAME
Constructor and Description |
---|
ResourceServiceBean() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getResourceAsString(java.lang.String name)
Fetches a resource from the core layer.
|
@Inject protected Resources resources
public java.lang.String getResourceAsString(java.lang.String name)
ResourceService
getResourceAsString
in interface ResourceService
name
- resource name in the ScriptingProvider notation