net.walend.lyophil.ejb.ejbbeans
Class ClassDiggerEJBBean

java.lang.Object
  |
  +--net.walend.lyophil.ejb.ejbbeans.ClassDiggerEJBBean
All Implemented Interfaces:
javax.ejb.EnterpriseBean, java.io.Serializable, javax.ejb.SessionBean

public class ClassDiggerEJBBean
extends java.lang.Object
implements javax.ejb.SessionBean

Since:
20010905
Author:
David Walend

Field Summary
private  ClassDigger classDigger
           
private  javax.ejb.SessionContext ctx
           
static java.lang.String EJBCLASSDIGGERDELEGATE
           
 
Constructor Summary
ClassDiggerEJBBean()
           
 
Method Summary
 int countByClass(java.lang.Class interf)
          Count the number of freezables that implement this interf.
 void ejbActivate()
           
 void ejbCreate()
           
 void ejbPassivate()
           
 void ejbRemove()
           
 SetOfFreezables findByClass(java.lang.Class interf)
          Returns the Set of Freezables in the Freezer that can be cast to interf.
 void setSessionContext(javax.ejb.SessionContext context)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

EJBCLASSDIGGERDELEGATE

public static final java.lang.String EJBCLASSDIGGERDELEGATE

classDigger

private ClassDigger classDigger

ctx

private javax.ejb.SessionContext ctx
Constructor Detail

ClassDiggerEJBBean

public ClassDiggerEJBBean()
Method Detail

setSessionContext

public void setSessionContext(javax.ejb.SessionContext context)
Specified by:
setSessionContext in interface javax.ejb.SessionBean

ejbActivate

public void ejbActivate()
Specified by:
ejbActivate in interface javax.ejb.SessionBean

ejbPassivate

public void ejbPassivate()
Specified by:
ejbPassivate in interface javax.ejb.SessionBean

ejbRemove

public void ejbRemove()
Specified by:
ejbRemove in interface javax.ejb.SessionBean

ejbCreate

public void ejbCreate()
               throws javax.ejb.CreateException

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