public interface Augmentations
Note: Methods that receive Augmentations are required to copy the information if it is to be saved for use beyond the scope of the method. The Augmentations content is volatile, and maybe modified by any method in any component in the pipeline. Therefore, methods passed this structure should not save any reference to the structure.
Modifier and Type | Method and Description |
---|---|
Object |
getItem(String key)
Get information identified by a key from the Augmentations structure
|
Enumeration |
keys()
Returns an enumeration of the keys in the Augmentations structure
|
Object |
putItem(String key,
Object item)
Add additional information identified by a key to the Augmentations structure.
|
void |
removeAllItems()
Remove all objects from the Augmentations structure.
|
Object |
removeItem(String key)
Remove additional info from the Augmentations structure
|
Object putItem(String key, Object item)
key
- Identifier, can't be null
item
- Additional informationnull
if it did not have one.Object getItem(String key)
key
- Identifier, can't be null
null
if the key is not mapped to any value.Object removeItem(String key)
key
- Identifier, can't be null
null
if it did not have one.Enumeration keys()
void removeAllItems()
Copyright © 2016 JBoss by Red Hat. All rights reserved.