org.openspaces.persistency.hibernate.iterator
Class HibernateProxyRemoverIterator
java.lang.Object
org.openspaces.persistency.hibernate.iterator.HibernateProxyRemoverIterator
- All Implemented Interfaces:
- com.gigaspaces.datasource.DataIterator, Iterator, MultiDataIterator
public class HibernateProxyRemoverIterator
- extends Object
- implements MultiDataIterator
A wrapper iterator that removes Hibernate proxies from the actual object
returned.
- Author:
- kimchy
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HibernateProxyRemoverIterator
public HibernateProxyRemoverIterator(com.gigaspaces.datasource.DataIterator iterator)
iterators
public com.gigaspaces.datasource.DataIterator[] iterators()
- Description copied from interface:
MultiDataIterator
- Returns the underlying iterators. Note, calling this method should only be performed
if no iteration has happened.
- Specified by:
iterators
in interface MultiDataIterator
close
public void close()
- Specified by:
close
in interface com.gigaspaces.datasource.DataIterator
hasNext
public boolean hasNext()
- Specified by:
hasNext
in interface Iterator
next
public Object next()
- Specified by:
next
in interface Iterator
remove
public void remove()
- Specified by:
remove
in interface Iterator
Copyright © GigaSpaces.