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, setMetaDataMap
protected ListenerMetaData getMetaDataFromPropertyName(String propertyName)
getMetaDataFromPropertyName
in class AbstractListenerFactoryBean
protected ListenerMetaData[] getMetaDataValues()
getMetaDataValues
in class AbstractListenerFactoryBean
protected Class<?> getDefaultListenerClass()
getDefaultListenerClass
in class AbstractListenerFactoryBean
public 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 © 2014 Pivotal. All rights reserved.