|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
@Contract public interface ResourceManager
Contract for all ResourceManagers
| Method Summary | |
|---|---|
ResourceStatus |
create(Resources resources,
java.util.HashMap attributes,
java.util.Properties properties,
java.lang.String target)
creates the resource as a child to the resources provided |
Resource |
createConfigBean(Resources resources,
java.util.HashMap attributes,
java.util.Properties properties,
boolean validate)
creates config-bean equivalent for the resource configuration provided as attributes and properties Does not persist the configuration |
java.lang.String |
getResourceType()
returns the resource-type |
| Method Detail |
|---|
ResourceStatus create(Resources resources,
java.util.HashMap attributes,
java.util.Properties properties,
java.lang.String target)
throws java.lang.Exception
resources - parent for the resource to be createdattributes - resource configurationproperties - propertiestarget - target
java.lang.Exception - when unable to create the resource
Resource createConfigBean(Resources resources,
java.util.HashMap attributes,
java.util.Properties properties,
boolean validate)
throws java.lang.Exception
resources - parent for the resource to be createdattributes - attributes of the resourceproperties - properties of the resourcevalidate - indicate whether config validation is required or not
java.lang.Exception - when unable to create config-bean-equivalentjava.lang.String getResourceType()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||