public enum JobListenerMetaData extends java.lang.Enum<JobListenerMetaData> implements ListenerMetaData
JobExecutionListener
meta data, which ties together the names
of methods, their interfaces, annotation, and expected arguments.JobListenerFactoryBean
Enum Constant and Description |
---|
AFTER_JOB |
BEFORE_JOB |
Modifier and Type | Method and Description |
---|---|
static JobListenerMetaData |
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 JobListenerMetaData |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static JobListenerMetaData[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JobListenerMetaData BEFORE_JOB
public static final JobListenerMetaData AFTER_JOB
public static JobListenerMetaData[] values()
for (JobListenerMetaData c : JobListenerMetaData.values()) System.out.println(c);
public static JobListenerMetaData 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 ListenerMetaData
public java.lang.Class<? extends java.lang.annotation.Annotation> getAnnotation()
getAnnotation
in interface ListenerMetaData
public java.lang.Class<?> getListenerInterface()
getListenerInterface
in interface ListenerMetaData
public java.lang.String getPropertyName()
getPropertyName
in interface ListenerMetaData
public java.lang.Class<?>[] getParamTypes()
getParamTypes
in interface ListenerMetaData
public static JobListenerMetaData fromPropertyName(java.lang.String propertyName)
propertyName
-