|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.s4.base.GenericKeyFinder<T>
T
- public class GenericKeyFinder<T extends Event>
Use introspection on the target Event to create the key finder. The search for the key is as follows:
Event
, find a field that matches the key name.
Event
class has arbitrary attributes, search for the key.
Constructor Summary | |
---|---|
GenericKeyFinder(java.lang.String keyName,
java.lang.Class<T> eventType)
|
Method Summary | |
---|---|
java.util.List<java.lang.String> |
get(T event)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GenericKeyFinder(java.lang.String keyName, java.lang.Class<T> eventType) throws java.lang.SecurityException
java.lang.SecurityException
Method Detail |
---|
public java.util.List<java.lang.String> get(T event)
get
in interface KeyFinder<T extends Event>
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |