class DirectoryService.AttributeGetter extends DirectoryService.LockHelper
lock, name, nodeId, remapper
Constructor and Description |
---|
AttributeGetter(java.lang.String nodeId,
java.lang.String name)
Construct an instance for specified node ID and attribute name.
|
Modifier and Type | Method and Description |
---|---|
(package private) Attribute |
getAttribute()
Perform all necessary steps and return attribute value.
|
protected boolean |
lock()
Perform preliminary steps.
|
pre, pre, pre, release
AttributeGetter(java.lang.String nodeId, java.lang.String name)
nodeId
- Node ID for which operation will be performed.name
- Attribute name.protected boolean lock()
lock
in class DirectoryService.LockHelper
true
if preliminary steps were successful.Attribute getAttribute()
null
in
case of error.