|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jboss.verifier.strategy.AbstractVerifier org.jboss.verifier.strategy.AbstractEJB2xVerifier
public abstract class AbstractEJB2xVerifier
Abstract EJB 2.x bean verifier.
Field Summary | |
---|---|
protected Class |
bean
|
protected EJBVerifier11 |
cmp1XVerifier
|
protected Class |
home
|
protected Class |
local
|
protected Class |
localHome
|
protected Class |
remote
|
protected Class |
serviceEndpointInterface
|
Fields inherited from class org.jboss.verifier.strategy.AbstractVerifier |
---|
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 context)
|
Method Summary | |
---|---|
Iterator |
getEjbHomeMethods(Class c)
|
Iterator |
getEJBRemoveMethods(Class c)
Returns the ejbRemove(...) methods of a bean |
Iterator |
getEjbSelectMethods(Class c)
Return all ejbSelect methods |
Iterator |
getHomeMethods(Class c)
Home methods are any method on the home interface which is neither a create or find method. |
boolean |
hasEJBRemoveMethod(Class c)
Searches for an instance of an ejbRemove method from the class |
protected boolean |
hasMatchingQuery(Method m,
EntityMetaData e)
Check whether there is a matching <query> Element defined for the Method m |
boolean |
hasRemoteInterface(Class c)
Finds java.rmi.Remote interface from the class |
boolean |
isCreateMethod(Method m)
Check whether the given method is a create(...) method |
boolean |
isEjbCreateMethod(Method m)
|
boolean |
isEjbHomeMethod(Method m)
|
boolean |
isEjbRemoveMethod(Method m)
|
boolean |
isEjbSelectMethod(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 |
---|
checkEntity, checkSession |
Field Detail |
---|
protected EJBVerifier11 cmp1XVerifier
protected Class bean
protected Class home
protected Class remote
protected Class localHome
protected Class local
protected Class serviceEndpointInterface
Constructor Detail |
---|
public AbstractEJB2xVerifier(VerificationContext context)
Method Detail |
---|
public boolean isCreateMethod(Method m)
isCreateMethod
in class AbstractVerifier
public boolean isEjbCreateMethod(Method m)
isEjbCreateMethod
in class AbstractVerifier
public boolean isEjbRemoveMethod(Method m)
public boolean isEjbSelectMethod(Method m)
public boolean isEjbHomeMethod(Method m)
public boolean hasRemoteInterface(Class c)
public Iterator getEjbSelectMethods(Class c)
public boolean hasEJBRemoveMethod(Class c)
public Iterator getEJBRemoveMethods(Class c)
public Iterator getHomeMethods(Class c)
public Iterator getEjbHomeMethods(Class c)
protected boolean hasMatchingQuery(Method m, EntityMetaData 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 | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |