- Type Parameters:
E
-
- All Superinterfaces:
LifeCycle
- All Known Implementing Classes:
AbstractDiscriminator
,ContextBasedDiscriminator
,DefaultDiscriminator
,JNDIBasedContextDiscriminator
,MDCBasedDiscriminator
Implement this interface in order to compute a discriminating value for a
given event of type <E>.
The returned value can depend on any data available at the time of the call, including data contained within the currently running thread.
- Author:
- Ceki Gülcü
-
Method Summary
Modifier and TypeMethodDescriptionGiven event 'e' return a discriminating value.getKey()
The key or variable name under which the discriminating value should be exported into the host environment.
-
Method Details
-
getDiscriminatingValue
Given event 'e' return a discriminating value.- Parameters:
e
-- Returns:
-
getKey
The key or variable name under which the discriminating value should be exported into the host environment.- Returns:
-