public enum JsrJobListenerMetaData extends java.lang.Enum<JsrJobListenerMetaData> implements ListenerMetaData
JobListener meta data, which ties together the names
of methods, their interfaces, annotation, and expected arguments.| Enum Constant and Description |
|---|
AFTER_JOB |
BEFORE_JOB |
| Modifier and Type | Method and Description |
|---|---|
static JsrJobListenerMetaData |
fromPropertyName(java.lang.String propertyName)
Return the relevant meta data for the provided property name.
|
java.lang.Class<? extends java.lang.annotation.Annotation> |
getAnnotation() |
java.lang.Class<?> |
getListenerInterface() |
java.lang.String |
getMethodName() |
java.lang.Class<?>[] |
getParamTypes() |
java.lang.String |
getPropertyName() |
static JsrJobListenerMetaData |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static JsrJobListenerMetaData[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JsrJobListenerMetaData BEFORE_JOB
public static final JsrJobListenerMetaData AFTER_JOB
public static JsrJobListenerMetaData[] values()
for (JsrJobListenerMetaData c : JsrJobListenerMetaData.values()) System.out.println(c);
public static JsrJobListenerMetaData valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant
with the specified namejava.lang.NullPointerException - if the argument is nullpublic java.lang.String getMethodName()
getMethodName in interface ListenerMetaDatapublic java.lang.Class<? extends java.lang.annotation.Annotation> getAnnotation()
getAnnotation in interface ListenerMetaDatapublic java.lang.Class<?> getListenerInterface()
getListenerInterface in interface ListenerMetaDatapublic java.lang.String getPropertyName()
getPropertyName in interface ListenerMetaDatapublic java.lang.Class<?>[] getParamTypes()
getParamTypes in interface ListenerMetaDatapublic static JsrJobListenerMetaData fromPropertyName(java.lang.String propertyName)
propertyName -