public interface Extensible
| Modifier and Type | Method and Description |
|---|---|
<T> T |
addAttachment(Class<T> key,
Object value)
Add arbitrary attachments
|
<T> T |
getAttachment(Class<T> key)
Get an arbitrary attachment
|
<T> Collection<T> |
getAttachments()
Get arbitrary attachments
|
Set<String> |
getProperties()
Get the set of property names
|
Object |
getProperty(String key)
Get an property
|
<T> T |
removeAttachment(Class<T> key)
Remove arbitrary attachments
|
void |
removeProperty(String key)
Remove a property
|
void |
setProperties(Map<String,Object> props)
Set a map of properties
|
void |
setProperty(String key,
Object value)
Set a property
|
<T> T addAttachment(Class<T> key, Object value)
T - class typekey - identifiervalue - value<T> Collection<T> getAttachments()
T - class type of attachments<T> T getAttachment(Class<T> key)
T - class type of attachmentskey - identifier<T> T removeAttachment(Class<T> key)
T - class type of attachmentskey - identifierObject getProperty(String key)
key - property identifiervoid setProperty(String key, Object value)
key - property identifiervalue - property valuevoid removeProperty(String key)
key - property identifierSet<String> getProperties()
Copyright © 2015 JBoss, by Red Hat. All rights reserved.