/** * Creates a wrapper around the object passed in. This constructor will look for a named method specifically and * fail when it cannot find a method with the given name. * * @param target the object to wrap * @param methodName the name of the method to invoke */ public MethodInvokingMessageGroupProcessor(Object target, String methodName) { this.processor = new MethodInvokingMessageListProcessor<Object>(target, methodName); }
/** * Creates a wrapper around the object passed in. * * @param target the object to wrap * @param method the method to invoke */ public MethodInvokingMessageGroupProcessor(Object target, Method method) { this.processor = new MethodInvokingMessageListProcessor<Object>(target, method); }
/** * Creates a wrapper around the object passed in. This constructor will look for a method that can process * a list of messages. * * @param target the object to wrap */ public MethodInvokingMessageGroupProcessor(Object target) { this.processor = new MethodInvokingMessageListProcessor<Object>(target, Aggregator.class); }
public MethodInvokingReleaseStrategy(Object object, Method method) { this.adapter = new MethodInvokingMessageListProcessor<Boolean>(object, method, Boolean.class); }
public MethodInvokingReleaseStrategy(Object object, String methodName) { this.adapter = new MethodInvokingMessageListProcessor<Boolean>(object, methodName, Boolean.class); }
/** * Creates a wrapper around the object passed in. * * @param target the object to wrap * @param method the method to invoke */ public MethodInvokingMessageGroupProcessor(Object target, Method method) { this.processor = new MethodInvokingMessageListProcessor<Object>(target, method); }
/** * Creates a wrapper around the object passed in. This constructor will look for a method that can process * a list of messages. * * @param target the object to wrap */ public MethodInvokingMessageGroupProcessor(Object target) { this.processor = new MethodInvokingMessageListProcessor<Object>(target, Aggregator.class); }
/** * Creates a wrapper around the object passed in. This constructor will look for a named method specifically and * fail when it cannot find a method with the given name. * * @param target the object to wrap * @param methodName the name of the method to invoke */ public MethodInvokingMessageGroupProcessor(Object target, String methodName) { this.processor = new MethodInvokingMessageListProcessor<Object>(target, methodName); }
public MethodInvokingReleaseStrategy(Object object, String methodName) { this.adapter = new MethodInvokingMessageListProcessor<Boolean>(object, methodName, Boolean.class); }
public MethodInvokingReleaseStrategy(Object object, Method method) { this.adapter = new MethodInvokingMessageListProcessor<Boolean>(object, method, Boolean.class); }