public abstract class AbstractInjectableResource extends Object
Modifier | Constructor and Description |
---|---|
protected |
AbstractInjectableResource(Key key,
String... content)
Creates the resource with a mandatory name as key and the content of injectable resource.
|
protected |
AbstractInjectableResource(String name,
String... content)
Creates the resource with a mandatory name as string and the content of injectable resource.
|
Modifier and Type | Method and Description |
---|---|
String |
getContent()
Returns the content of the item to inject.
|
String |
getName()
Returns the name of the object.
|