org.controlhaus.ejb
Class EJBInfo
Object
EJBInfo
public class EJBInfo
- extends Object
The EJBInfo class is a support class that derives EJB information by
reflecting on an EJB control interface. This is implemented by a
static inner class to make this functionality accesible in both static
and non-static contexts
Constructor Summary |
EJBInfo(Class controlInterface)
Derives bean attributes from the control interface |
Method Summary |
static String |
getEJBRefName(Class jcxClass)
Computes a unique local ejb ref name based upon the JCX class name |
Class |
getRoot(Class clazz,
HashMap derivesFrom)
Unwinds the results of reflecting through the interface inheritance
hierachy to find the original root class from a derived class |
protected static boolean |
isFinderMethod(Method m)
|
protected static boolean |
methodThrows(Method m,
Class exceptionClass)
|
String |
toString()
|
Methods inherited from class Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
_refName
public String _refName
_homeInterface
public Class _homeInterface
_beanInterface
public Class _beanInterface
_beanType
public String _beanType
_isLocal
public boolean _isLocal
EJBInfo
public EJBInfo(Class controlInterface)
- Derives bean attributes from the control interface
toString
public String toString()
- Overrides:
toString
in class Object
getRoot
public Class getRoot(Class clazz,
HashMap derivesFrom)
- Unwinds the results of reflecting through the interface inheritance
hierachy to find the original root class from a derived class
isFinderMethod
protected static boolean isFinderMethod(Method m)
methodThrows
protected static boolean methodThrows(Method m,
Class exceptionClass)
getEJBRefName
public static String getEJBRefName(Class jcxClass)
- Computes a unique local ejb ref name based upon the JCX class name