|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectEJBInfo
public class EJBInfo
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
Field Summary | |
---|---|
Class |
_beanInterface
Deprecated. Use the JavaBean getter / setter instead |
String |
_beanType
Deprecated. Use the JavaBean getter / setter instead |
Class |
_homeInterface
Deprecated. Use the JavaBean getter / setter instead |
boolean |
_isLocal
Deprecated. Use the JavaBean getter / setter instead |
String |
_refName
Deprecated. Use the JavaBean getter / setter instead |
Constructor Summary | |
---|---|
EJBInfo(Class controlInterface)
Derives bean attributes from the control interface |
Method Summary | |
---|---|
Class |
getBeanInterface()
|
String |
getBeanType()
|
static String |
getEJBRefName(Class jcxClass)
Computes a unique local ejb ref name based upon the JCX class name |
Class |
getHomeInterface()
|
String |
getRefName()
|
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)
|
boolean |
isLocal()
|
protected static boolean |
methodThrows(Method m,
Class exceptionClass)
|
void |
setBeanInterface(Class beanInterface)
|
void |
setBeanType(String beanType)
|
void |
setHomeInterface(Class homeInterface)
|
void |
setLocal(boolean local)
|
void |
setRefName(String refName)
|
String |
toString()
|
Methods inherited from class Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public String _refName
public Class _homeInterface
public Class _beanInterface
public String _beanType
public boolean _isLocal
Constructor Detail |
---|
public EJBInfo(Class controlInterface)
Method Detail |
---|
public Class getRoot(Class clazz, HashMap derivesFrom)
public static String getEJBRefName(Class jcxClass)
public String getRefName()
public void setRefName(String refName)
public Class getHomeInterface()
public void setHomeInterface(Class homeInterface)
public Class getBeanInterface()
public void setBeanInterface(Class beanInterface)
public String getBeanType()
public void setBeanType(String beanType)
public boolean isLocal()
public void setLocal(boolean local)
public String toString()
toString
in class Object
protected static boolean isFinderMethod(Method m)
protected static boolean methodThrows(Method m, Class exceptionClass)
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |