org.mule.streaming.processor
Class ManagedPagingDelegateAdapter<T>
java.lang.Object
org.mule.streaming.PagingDelegate<T>
org.mule.streaming.processor.ManagedPagingDelegateAdapter<T>
- All Implemented Interfaces:
- Closeable
public class ManagedPagingDelegateAdapter<T>
- extends PagingDelegate<T>
Adapter class to adapt a ProviderAwarePagingDelegate into
a PagingDelegate
Allows executing paging operations in a managed context defined by an owning ProcessTemplate
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ManagedPagingDelegateAdapter
public ManagedPagingDelegateAdapter(ProviderAwarePagingDelegate<T,Object> delegate,
ProcessTemplate<Object,Object> processTemplate,
List<Class<? extends Exception>> managedExceptions,
boolean isProtected,
MessageProcessor originalMessageProcessor,
MuleEvent originalEvent)
getPage
public List<T> getPage()
-
- Specified by:
getPage in class PagingDelegate<T>
getTotalResults
public int getTotalResults()
- Specified by:
getTotalResults in class PagingDelegate<T>
close
public void close()
throws MuleException
- Throws:
MuleException
Copyright © 2003–2014 MuleSoft, Inc.. All rights reserved.