|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ResourceInstanceData
Designed for provider to handle provider specific configuration data of the resource in corresponding to implementation to the ResourceUIBinding object.
Method Summary | |
---|---|
ResourceInstanceData |
clone()
Called to create a copy of this object. |
Collection<NonQualifiedEnvValue> |
getEnvValues()
Resource providers return any environment dependent values via this call. |
Set<Ref> |
getExternalReferences()
Returns a set of Ref object representing the external references found in the given data. |
Object |
getKeyValue(String keyName)
Computes the value of the key whose name is given using the data. |
byte[] |
serialize()
Serialize this object to a byte array. |
ResourceInstanceData |
setEnvValues(Collection<NonQualifiedEnvValue> envValues)
Sets the given collection of environment values in the data. |
ResourceInstanceData |
setExternalReferences(Map<Ref,Ref> mapping)
Updates references in the data according to the given map and returns the result. |
void |
validate(Diagnostics diags)
Validates the data and throws exception on validation error |
Method Detail |
---|
Object getKeyValue(String keyName)
keyName
- name of the key.
Set<Ref> getExternalReferences()
Collection<NonQualifiedEnvValue> getEnvValues()
ResourceInstanceData setEnvValues(Collection<NonQualifiedEnvValue> envValues)
envValues
- collection of environment values to set
void validate(Diagnostics diags)
diags
- the Diagnostics object to carry the validation errorsResourceInstanceData setExternalReferences(Map<Ref,Ref> mapping) throws Exception
mapping
- mapping from old references to the new ones
Exception
- on errorResourceInstanceData clone()
byte[] serialize()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |