/** * Convenience method to check whether the given object is or can be made * into a {@link StepListener}. * * @param delegate the object to check * @return true if the delegate is an instance of any of the * {@link StepListener} interfaces, or contains the marker * annotations */ public static boolean isListener(Object delegate) { return AbstractListenerFactoryBean.isListener(delegate, StepListener.class, StepListenerMetaData.values()); } }
/** * Convenience method to check whether the given object is or can be made * into a {@link JobExecutionListener}. * * @param delegate the object to check * @return true if the delegate is an instance of * {@link JobExecutionListener}, or contains the marker annotations */ public static boolean isListener(Object delegate) { return AbstractListenerFactoryBean.isListener(delegate, JobExecutionListener.class, JobListenerMetaData .values()); } }
/** * Convenience method to check whether the given object is or can be made * into a {@link JobExecutionListener}. * * @param delegate the object to check * @return true if the delegate is an instance of * {@link JobExecutionListener}, or contains the marker annotations */ public static boolean isListener(Object delegate) { return AbstractListenerFactoryBean.isListener(delegate, JobExecutionListener.class, JobListenerMetaData .values()); } }
/** * Convenience method to check whether the given object is or can be made * into a {@link StepListener}. * * @param delegate the object to check * @return true if the delegate is an instance of any of the * {@link StepListener} interfaces, or contains the marker * annotations */ public static boolean isListener(Object delegate) { return AbstractListenerFactoryBean.isListener(delegate, StepListener.class, StepListenerMetaData.values()); } }
/** * Convenience method to check whether the given object is or can be made * into a {@link StepListener}. * * @param delegate the object to check * @return true if the delegate is an instance of any of the * {@link StepListener} interfaces, or contains the marker * annotations */ public static boolean isListener(Object delegate) { return AbstractListenerFactoryBean.isListener(delegate, StepListener.class, StepListenerMetaData.values()); } }
/** * Convenience method to check whether the given object is or can be made * into a {@link JobExecutionListener}. * * @param delegate the object to check * @return true if the delegate is an instance of * {@link JobExecutionListener}, or contains the marker annotations */ public static boolean isListener(Object delegate) { return AbstractListenerFactoryBean.isListener(delegate, JobExecutionListener.class, JobListenerMetaData .values()); } }
/** * Convenience method to check whether the given object is or can be made * into a {@link JobExecutionListener}. * * @param delegate the object to check * @return true if the delegate is an instance of * {@link JobExecutionListener}, or contains the marker annotations */ public static boolean isListener(Object delegate) { return AbstractListenerFactoryBean.isListener(delegate, JobExecutionListener.class, JobListenerMetaData .values()); } }
/** * Convenience method to check whether the given object is or can be made * into a {@link StepListener}. * * @param delegate the object to check * @return true if the delegate is an instance of any of the * {@link StepListener} interfaces, or contains the marker * annotations */ public static boolean isListener(Object delegate) { return AbstractListenerFactoryBean.isListener(delegate, StepListener.class, StepListenerMetaData.values()); } }
/** * Convenience method to check whether the given object is or can be made * into a {@link JobExecutionListener}. * * @param delegate the object to check * @return true if the delegate is an instance of * {@link JobExecutionListener}, or contains the marker annotations */ public static boolean isListener(Object delegate) { return AbstractListenerFactoryBean.isListener(delegate, JobExecutionListener.class, JobListenerMetaData .values()); } }
/** * Convenience method to check whether the given object is or can be made * into a {@link StepListener}. * * @param delegate the object to check * @return true if the delegate is an instance of any of the * {@link StepListener} interfaces, or contains the marker * annotations */ public static boolean isListener(Object delegate) { return AbstractListenerFactoryBean.isListener(delegate, StepListener.class, StepListenerMetaData.values()); } }