public class ConcludesBatchParameterResolverFactory extends AbstractAnnotatedParameterResolverFactory<ConcludesBatch,Boolean> implements ParameterResolver<Boolean>
ConcludesBatch. If the event
 is processed in the context of a BatchingUnitOfWork and is the last of the batch the resolver injects a
 value of true. If the event is processed in another unit of work it is always assumed to be the last of a
 batch.| Constructor and Description | 
|---|
| ConcludesBatchParameterResolverFactory()Initialize a ConcludesBatchParameterResolverFactory. | 
| Modifier and Type | Method and Description | 
|---|---|
| protected ParameterResolver<Boolean> | getResolver() | 
| boolean | matches(Message<?> message)Indicates whether this resolver is capable of providing a value for the given  message. | 
| Boolean | resolveParameterValue(Message<?> message)Resolves the parameter value to use for the given  message, ornullif no suitable
 parameter value can be resolved. | 
createInstanceclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsupportedPayloadTypepublic ConcludesBatchParameterResolverFactory()
protected ParameterResolver<Boolean> getResolver()
getResolver in class AbstractAnnotatedParameterResolverFactory<ConcludesBatch,Boolean>public Boolean resolveParameterValue(Message<?> message)
ParameterResolvermessage, or null if no suitable
 parameter value can be resolved.resolveParameterValue in interface ParameterResolver<Boolean>message - The message to resolve the value frompublic boolean matches(Message<?> message)
ParameterResolvermessage.matches in interface ParameterResolver<Boolean>message - The message to evaluatetrue if this resolver can provide a value for the message, otherwise falseCopyright © 2010–2020. All rights reserved.