|
JBoss Remoting 3 3.2.0.CR6 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.remoting3.Attachments
public final class Attachments
A set of attachments for an entity.
Nested Class Summary | |
---|---|
static class |
Attachments.Key<T>
An attachment key. |
Constructor Summary | |
---|---|
Attachments()
|
Method Summary | ||
---|---|---|
|
attach(Attachments.Key<T> key,
T value)
|
|
|
attachIfAbsent(Attachments.Key<T> key,
T value)
|
|
|
getAttachment(Attachments.Key<T> key)
|
|
|
removeAttachment(Attachments.Key<T> key)
|
|
|
removeAttachment(Attachments.Key<T> key,
T value)
|
|
|
replaceAttachment(Attachments.Key<T> key,
T expect,
T replacement)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Attachments()
Method Detail |
---|
public <T> T attach(Attachments.Key<T> key, T value)
public <T> T attachIfAbsent(Attachments.Key<T> key, T value)
public <T> boolean replaceAttachment(Attachments.Key<T> key, T expect, T replacement)
public <T> T removeAttachment(Attachments.Key<T> key)
public <T> boolean removeAttachment(Attachments.Key<T> key, T value)
public <T> T getAttachment(Attachments.Key<T> key)
|
JBoss Remoting 3 3.2.0.CR6 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |