public enum JobListenerMetaData extends 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(String propertyName)
Return the relevant meta data for the provided property name.
|
Class<? extends Annotation> |
getAnnotation() |
Class<?> |
getListenerInterface() |
String |
getMethodName() |
Class<?>[] |
getParamTypes() |
String |
getPropertyName() |
static JobListenerMetaData |
valueOf(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(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant
with the specified nameNullPointerException - if the argument is nullpublic String getMethodName()
getMethodName in interface ListenerMetaDatapublic Class<? extends Annotation> getAnnotation()
getAnnotation in interface ListenerMetaDatapublic Class<?> getListenerInterface()
getListenerInterface in interface ListenerMetaDatapublic String getPropertyName()
getPropertyName in interface ListenerMetaDatapublic Class<?>[] getParamTypes()
getParamTypes in interface ListenerMetaDatapublic static JobListenerMetaData fromPropertyName(String propertyName)
propertyName - Copyright © 2013. All rights reserved.