|
||||||||||
PREV CLASS (src) NEXT CLASS | 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 (src)
org.jboss.verifier.strategy.EJBVerifier21
EJB 2.1 bean verifier.
Field Summary |
Fields inherited from class org.jboss.verifier.strategy.AbstractEJB2xVerifier (src) |
bean, cmp1XVerifier, home, local, localHome, remote, 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 | |
EJBVerifier21(VerificationContext (src) context)
|
Method Summary | |
void |
checkEntity(EntityMetaData (src) entity)
Does the entity check |
void |
checkMessageBean(MessageDrivenMetaData (src) mdb)
Provides an empty default implementation for EJB 1.1 verifier (message beans are for EJB 2.0 and greater only). |
void |
checkSession(SessionMetaData (src) session)
IMPLEMENTS VERIFICATION STRATEGY INTERFACE |
java.lang.String |
getMessageBundle()
|
protected boolean |
hasLegalJAXRPCArguments(java.lang.reflect.Method method)
|
protected boolean |
hasLegalJAXRPCReturnType(java.lang.reflect.Method method)
|
protected boolean |
hasLocalInterfaces(BeanMetaData (src) bean)
Check whether the bean has declared local interfaces and whether we can load the defined classes |
protected boolean |
hasRemoteInterfaces(BeanMetaData (src) bean)
Check whether the bean has declared local interfaces and whether we can load the defined classes |
protected boolean |
hasServiceEndpointInterfaces(SessionMetaData (src) bean)
Check whether the bean has declared service endpoint interfaces and whether we can load the defined classes |
protected boolean |
isJAXRPCType(java.lang.Class class1)
|
protected boolean |
verifyBean(BeanMetaData (src) theBean)
Try to load the beans class declared in the <ejb-class> element. |
protected boolean |
verifyMessageDrivenBean(MessageDrivenMetaData (src) mdBean)
|
protected boolean |
verifyServiceEndpoint(SessionMetaData (src) session)
Verify Session Bean Service Endpoint |
protected boolean |
verifySessionBean(SessionMetaData (src) session)
|
protected boolean |
verifySessionHome(SessionMetaData (src) session)
Verifies the session bean remote home interface against the EJB 2.1 specification. |
protected boolean |
verifySessionLocal(SessionMetaData (src) session)
|
protected boolean |
verifySessionLocalHome(SessionMetaData (src) session)
Verifies the session bean local home interface against the EJB 2.1 specification. |
protected boolean |
verifySessionRemote(SessionMetaData (src) session)
|
Methods inherited from class org.jboss.verifier.strategy.AbstractEJB2xVerifier (src) |
getEjbHomeMethods, getEJBRemoveMethods, getEjbSelectMethods, getHomeMethods, hasEJBRemoveMethod, hasMatchingQuery, hasRemoteInterface, isCreateMethod, isEjbCreateMethod, isEjbHomeMethod, isEjbRemoveMethod, isEjbSelectMethod |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public EJBVerifier21(VerificationContext (src) context)
Method Detail |
public java.lang.String getMessageBundle()
getMessageBundle
in class AbstractVerifier (src)
public void checkSession(SessionMetaData (src) session)
public void checkEntity(EntityMetaData (src) entity)
VerificationStrategy (src)
public void checkMessageBean(MessageDrivenMetaData (src) mdb)
AbstractVerifier (src)
checkMessageBean
in interface VerificationStrategy (src)
checkMessageBean
in class AbstractVerifier (src)
mdb
- the message bean to verifyprotected boolean verifyBean(BeanMetaData (src) theBean)
true
if everything went alrightprotected boolean hasRemoteInterfaces(BeanMetaData (src) bean)
true
if everything went alrightprotected boolean hasLocalInterfaces(BeanMetaData (src) bean)
true
if everything went alrightprotected boolean verifySessionHome(SessionMetaData (src) session)
session
- XML metadata of the session beanprotected boolean verifySessionLocalHome(SessionMetaData (src) session)
session
- parsed metadata of the session beanprotected boolean verifySessionRemote(SessionMetaData (src) session)
protected boolean verifySessionLocal(SessionMetaData (src) session)
protected boolean verifySessionBean(SessionMetaData (src) session)
protected boolean verifyMessageDrivenBean(MessageDrivenMetaData (src) mdBean)
protected boolean verifyServiceEndpoint(SessionMetaData (src) session)
session
-
protected boolean hasLegalJAXRPCReturnType(java.lang.reflect.Method method)
method
-
protected boolean isJAXRPCType(java.lang.Class class1)
class1
-
protected boolean hasLegalJAXRPCArguments(java.lang.reflect.Method method)
method
-
protected boolean hasServiceEndpointInterfaces(SessionMetaData (src) bean)
bean
-
true
if everything went alright
|
||||||||||
PREV CLASS (src) NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |