public class JobListenerFactoryBean extends AbstractListenerFactoryBean<JobExecutionListener>
AbstractListenerFactoryBean implementation is used to create a
JobExecutionListener.AbstractListenerFactoryBean,
JobListenerMetaData| Constructor and Description |
|---|
JobListenerFactoryBean() |
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.Class<?> |
getDefaultListenerClass() |
static JobExecutionListener |
getListener(java.lang.Object delegate)
Convenience method to wrap any object and expose the appropriate
JobExecutionListener interfaces. |
protected ListenerMetaData |
getMetaDataFromPropertyName(java.lang.String propertyName) |
protected ListenerMetaData[] |
getMetaDataValues() |
java.lang.Class<?> |
getObjectType() |
static boolean |
isListener(java.lang.Object delegate)
Convenience method to check whether the given object is or can be made
into a
JobExecutionListener. |
afterPropertiesSet, getMethodInvokerByName, getObject, isListener, isSingleton, setDelegate, setMetaDataMapprotected ListenerMetaData getMetaDataFromPropertyName(java.lang.String propertyName)
getMetaDataFromPropertyName in class AbstractListenerFactoryBean<JobExecutionListener>protected ListenerMetaData[] getMetaDataValues()
getMetaDataValues in class AbstractListenerFactoryBean<JobExecutionListener>protected java.lang.Class<?> getDefaultListenerClass()
getDefaultListenerClass in class AbstractListenerFactoryBean<JobExecutionListener>public java.lang.Class<?> getObjectType()
public static JobExecutionListener getListener(java.lang.Object delegate)
JobExecutionListener interfaces.delegate - a delegate objectpublic static boolean isListener(java.lang.Object delegate)
JobExecutionListener.delegate - the object to checkJobExecutionListener, or contains the marker annotations