public class JobListenerFactoryBean extends AbstractListenerFactoryBean
AbstractListenerFactoryBean implementation is used to create a
JobExecutionListener.AbstractListenerFactoryBean,
JobListenerMetaData| Constructor and Description |
|---|
JobListenerFactoryBean() |
| Modifier and Type | Method and Description |
|---|---|
protected Class<?> |
getDefaultListenerClass() |
static JobExecutionListener |
getListener(Object delegate)
Convenience method to wrap any object and expose the appropriate
JobExecutionListener interfaces. |
protected ListenerMetaData |
getMetaDataFromPropertyName(String propertyName) |
protected ListenerMetaData[] |
getMetaDataValues() |
Class<?> |
getObjectType() |
static boolean |
isListener(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(String propertyName)
getMetaDataFromPropertyName in class AbstractListenerFactoryBeanprotected ListenerMetaData[] getMetaDataValues()
getMetaDataValues in class AbstractListenerFactoryBeanprotected Class<?> getDefaultListenerClass()
getDefaultListenerClass in class AbstractListenerFactoryBeanpublic Class<?> getObjectType()
public static JobExecutionListener getListener(Object delegate)
JobExecutionListener interfaces.delegate - a delegate objectpublic static boolean isListener(Object delegate)
JobExecutionListener.delegate - the object to checkJobExecutionListener, or contains the marker annotationsCopyright © 2013. All rights reserved.