T
- type of messagepublic class MessageLookup<T> extends Object implements ContextDataLookupFunction<MessageContext,T>
ContextDataLookupFunction
that returns the message from a MessageContext
.Modifier and Type | Field and Description |
---|---|
private Class<T> |
messageType
Child context type to look up.
|
Constructor and Description |
---|
MessageLookup(Class<T> type)
Constructor.
|
@Nullable public T apply(@Nullable MessageContext input)
apply
in interface com.google.common.base.Function<MessageContext,T>
Copyright © 1999–2015. All rights reserved.