Modifier and Type | Method and Description |
---|---|
<T> T |
AttributeStore.getAttribute(AttributeStore.AttributeKey<T> key)
Returns the value of the user-defined attribute.
|
<T> T |
AttributeStore.removeAttribute(AttributeStore.AttributeKey<T> key)
Removes the user-defined attribute
|
default <T> T |
FactoryManager.resolveAttribute(AttributeStore.AttributeKey<T> key) |
<T> T |
AttributeStore.resolveAttribute(AttributeStore.AttributeKey<T> key)
Attempts to resolve the associated value by going up the store's
hierarchy (if any)
|
static <T> T |
FactoryManager.resolveAttribute(FactoryManager manager,
AttributeStore.AttributeKey<T> key) |
<T> T |
AttributeStore.setAttribute(AttributeStore.AttributeKey<T> key,
T value)
Sets a user-defined attribute.
|
Modifier and Type | Method and Description |
---|---|
<T> T |
AbstractChannel.getAttribute(AttributeStore.AttributeKey<T> key) |
<T> T |
AbstractChannel.removeAttribute(AttributeStore.AttributeKey<T> key) |
default <T> T |
Channel.resolveAttribute(AttributeStore.AttributeKey<T> key) |
static <T> T |
Channel.resolveAttribute(Channel channel,
AttributeStore.AttributeKey<T> key)
Attempts to use the channel attribute, if not found then tries the session
|
<T> T |
AbstractChannel.setAttribute(AttributeStore.AttributeKey<T> key,
T value) |
Modifier and Type | Method and Description |
---|---|
<T> T |
AbstractFactoryManager.getAttribute(AttributeStore.AttributeKey<T> key) |
<T> T |
AbstractFactoryManager.removeAttribute(AttributeStore.AttributeKey<T> key) |
<T> T |
AbstractFactoryManager.setAttribute(AttributeStore.AttributeKey<T> key,
T value) |
Modifier and Type | Method and Description |
---|---|
default <T> T |
Session.resolveAttribute(AttributeStore.AttributeKey<T> key) |
static <T> T |
Session.resolveAttribute(Session session,
AttributeStore.AttributeKey<T> key)
Attempts to use the session's attribute, if not found then tries the factory manager
|
Modifier and Type | Method and Description |
---|---|
<T> T |
AbstractSession.getAttribute(AttributeStore.AttributeKey<T> key) |
<T> T |
AbstractSession.removeAttribute(AttributeStore.AttributeKey<T> key) |
<T> T |
AbstractSession.setAttribute(AttributeStore.AttributeKey<T> key,
T value) |
Copyright © 2008–2018 The Apache Software Foundation. All rights reserved.