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> Collection<T> getAttachments()
<T> T getAttachment(Class<T> key)
<T> T removeAttachment(Class<T> key)
void removeProperty(String key)
Copyright © 2014 JBoss, by Red Hat. All rights reserved.