|
||||||||||
PREV CLASS NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.verifier.strategy.AbstractVerifier (src)
org.jboss.verifier.strategy.AbstractEJB2xVerifier
Abstract EJB 2.x bean verifier.
Field Summary | |
protected java.lang.Class |
bean
|
protected EJBVerifier11 (src) |
cmp1XVerifier
|
protected java.lang.Class |
home
|
protected java.lang.Class |
local
|
protected java.lang.Class |
localHome
|
protected java.lang.Class |
remote
|
protected java.lang.Class |
serviceEndpointInterface
|
Fields inherited from class org.jboss.verifier.strategy.AbstractVerifier (src) |
BEAN_MANAGED_TX, classloader, CONTAINER_MANAGED_TX, CREATE_METHOD, EJB_CREATE_METHOD, EJB_HOME_INTERFACE, EJB_HOME_METHOD, EJB_LOCAL_HOME_INTERFACE, EJB_LOCAL_OBJECT_INTERFACE, EJB_OBJECT_INTERFACE, EJB_REMOVE_METHOD, EJB_SELECT_METHOD, STATEFUL_SESSION, STATELESS_SESSION |
Constructor Summary | |
AbstractEJB2xVerifier(VerificationContext (src) context)
|
Method Summary | |
java.util.Iterator |
getEjbHomeMethods(java.lang.Class c)
|
java.util.Iterator |
getEJBRemoveMethods(java.lang.Class c)
Returns the ejbRemove(...) methods of a bean |
java.util.Iterator |
getEjbSelectMethods(java.lang.Class c)
Return all ejbSelect methods |
java.util.Iterator |
getHomeMethods(java.lang.Class c)
Home methods are any method on the home interface which is neither a create or find method. |
boolean |
hasEJBRemoveMethod(java.lang.Class c)
Searches for an instance of an ejbRemove method from the class |
protected boolean |
hasMatchingQuery(java.lang.reflect.Method m,
EntityMetaData (src) e)
Check whether there is a matching <query> Element defined for the Method m |
boolean |
hasRemoteInterface(java.lang.Class c)
Finds java.rmi.Remote interface from the class |
boolean |
isCreateMethod(java.lang.reflect.Method m)
Check whether the given method is a create(...) method |
boolean |
isEjbCreateMethod(java.lang.reflect.Method m)
|
boolean |
isEjbHomeMethod(java.lang.reflect.Method m)
|
boolean |
isEjbRemoveMethod(java.lang.reflect.Method m)
|
boolean |
isEjbSelectMethod(java.lang.reflect.Method m)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.jboss.verifier.strategy.VerificationStrategy (src) |
checkEntity, checkSession |
Field Detail |
protected EJBVerifier11 (src) cmp1XVerifier
protected java.lang.Class bean
protected java.lang.Class home
protected java.lang.Class remote
protected java.lang.Class localHome
protected java.lang.Class local
protected java.lang.Class serviceEndpointInterface
Constructor Detail |
public AbstractEJB2xVerifier(VerificationContext (src) context)
Method Detail |
public boolean isCreateMethod(java.lang.reflect.Method m)
isCreateMethod
in class AbstractVerifier (src)
public boolean isEjbCreateMethod(java.lang.reflect.Method m)
isEjbCreateMethod
in class AbstractVerifier (src)
public boolean isEjbRemoveMethod(java.lang.reflect.Method m)
public boolean isEjbSelectMethod(java.lang.reflect.Method m)
public boolean isEjbHomeMethod(java.lang.reflect.Method m)
public boolean hasRemoteInterface(java.lang.Class c)
public java.util.Iterator getEjbSelectMethods(java.lang.Class c)
public boolean hasEJBRemoveMethod(java.lang.Class c)
public java.util.Iterator getEJBRemoveMethods(java.lang.Class c)
public java.util.Iterator getHomeMethods(java.lang.Class c)
public java.util.Iterator getEjbHomeMethods(java.lang.Class c)
protected boolean hasMatchingQuery(java.lang.reflect.Method m, EntityMetaData (src) e)
m
- Method to check, should be either a Finder or a Selecte
- EntityMetaData
true
if a matching <query> Element
was located.
|
||||||||||
PREV CLASS NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |