for (ListenerMetaData metaData : this.getMetaDataValues()) { if (!metaDataMap.containsKey(metaData.getPropertyName())) { boolean synthetic = false; for (Entry<String, String> entry : metaDataMap.entrySet()) { final ListenerMetaData metaData = this.getMetaDataFromPropertyName(entry.getKey()); Set<MethodInvoker> invokers = new HashSet<>(); invoker = getMethodInvokerByName(entry.getValue(), delegate, metaData.getParamTypes()); if (invoker != null) { invokers.add(invoker); listenerInterfaces.add(this.getDefaultListenerClass());
/** * 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()); } }
for (ListenerMetaData metaData : this.getMetaDataValues()) { if (!metaDataMap.containsKey(metaData.getPropertyName())) { final ListenerMetaData metaData = this.getMetaDataFromPropertyName(entry.getKey()); Set<MethodInvoker> invokers = new NullIgnoringSet<MethodInvoker>(); invokers.add(getMethodInvokerByName(entry.getValue(), delegate, metaData.getParamTypes())); invokers.add(getMethodInvokerForInterface(metaData.getListenerInterface(), metaData.getMethodName(), delegate, metaData.getParamTypes())); listenerInterfaces.add(this.getDefaultListenerClass());
/** * 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()); } }
for (ListenerMetaData metaData : this.getMetaDataValues()) { if (!metaDataMap.containsKey(metaData.getPropertyName())) { boolean synthetic = false; for (Entry<String, String> entry : metaDataMap.entrySet()) { final ListenerMetaData metaData = this.getMetaDataFromPropertyName(entry.getKey()); Set<MethodInvoker> invokers = new HashSet<MethodInvoker>(); invoker = getMethodInvokerByName(entry.getValue(), delegate, metaData.getParamTypes()); if (invoker != null) { invokers.add(invoker); listenerInterfaces.add(this.getDefaultListenerClass());
/** * 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()); } }
for (ListenerMetaData metaData : this.getMetaDataValues()) { if (!metaDataMap.containsKey(metaData.getPropertyName())) { boolean synthetic = false; for (Entry<String, String> entry : metaDataMap.entrySet()) { final ListenerMetaData metaData = this.getMetaDataFromPropertyName(entry.getKey()); Set<MethodInvoker> invokers = new HashSet<MethodInvoker>(); invoker = getMethodInvokerByName(entry.getValue(), delegate, metaData.getParamTypes()); if (invoker != null) { invokers.add(invoker); listenerInterfaces.add(this.getDefaultListenerClass());
/** * 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()); } }
for (ListenerMetaData metaData : this.getMetaDataValues()) { if (!metaDataMap.containsKey(metaData.getPropertyName())) { boolean synthetic = false; for (Entry<String, String> entry : metaDataMap.entrySet()) { final ListenerMetaData metaData = this.getMetaDataFromPropertyName(entry.getKey()); Set<MethodInvoker> invokers = new HashSet<MethodInvoker>(); invoker = getMethodInvokerByName(entry.getValue(), delegate, metaData.getParamTypes()); if (invoker != null) { invokers.add(invoker); listenerInterfaces.add(this.getDefaultListenerClass());
/** * 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()); } }
/** * 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()); } }