net.walend.lyophil
Interface ClassDigger

All Superinterfaces:
Digger
All Known Implementing Classes:
EJBClassDigger, JDBCClassDigger, MemClassDigger

public interface ClassDigger
extends Digger

This optional interface returns Sets and Iterators of Freezables that implement a given interface or subinterface.

Since:
20010111
Author:
David Walend

Method Summary
 int countByClass(java.lang.Class interf)
          Count the number of freezables that implement this interf.
 SetOfFreezables findByClass(java.lang.Class interf)
          Returns the Set of Freezables in the Freezer that can be cast to interf.
 

Method Detail

countByClass

public int countByClass(java.lang.Class interf)
Count the number of freezables that implement this interf.


findByClass

public SetOfFreezables findByClass(java.lang.Class interf)
Returns the Set of Freezables in the Freezer that can be cast to interf.

Throws:
PersistenceFailureException


Copyright (c) 2000, 2001, David Walend