public class LazySearchResultList
extends java.util.AbstractSequentialList
List
implementation containing RegistryBean
instances and
wrapping JAXR lazy response collection. On each iteration maps the next
registry object to RegistryBean
by reading it from the bean pool.Constructor and Description |
---|
LazySearchResultList(com.centrasite.jaxr.CentraSiteBulkResponse bulkResponse,
ManagedBeanPool beanPool,
java.util.List<java.lang.Class<? extends RegistryBean>> beanClasses)
Constructs an instance of this class.
|
Modifier and Type | Method and Description |
---|---|
java.util.ListIterator |
listIterator(int index) |
int |
size() |
add, addAll, get, iterator, remove, set
add, clear, equals, hashCode, indexOf, lastIndexOf, listIterator, subList
public LazySearchResultList(com.centrasite.jaxr.CentraSiteBulkResponse bulkResponse, ManagedBeanPool beanPool, java.util.List<java.lang.Class<? extends RegistryBean>> beanClasses) throws CSAppFrameworkException
bulkResponse
- The JAXR lazy response object holding the actual result that
will be iterated as an instance of CentraSiteBulkResponse
.beanPool
- The ManagedBeanPool
instance used for reading the
RegistryBean
instances.beanClasses
- The List
of RegistryBean Class
objectsCSAppFrameworkException
- If an error occus while trying to iterate through the bulkResponsepublic java.util.ListIterator listIterator(int index)
listIterator
in interface java.util.List
listIterator
in class java.util.AbstractSequentialList
public int size()
size
in interface java.util.Collection
size
in interface java.util.List
size
in class java.util.AbstractCollection