|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.verifier.strategy.AbstractVerifier
org.jboss.verifier.strategy.AbstractEJB2xVerifier
org.jboss.verifier.strategy.EJBVerifier20
public class EJBVerifier20
EJB 2.0 bean verifier.
Field Summary |
---|
Fields inherited from class org.jboss.verifier.strategy.AbstractEJB2xVerifier |
---|
bean, cmp1XVerifier, home, local, localHome, remote, 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 | |
---|---|
EJBVerifier20(VerificationContext context)
|
Method Summary | |
---|---|
void |
checkEntity(org.jboss.metadata.EntityMetaData entity)
Does the entity check |
void |
checkMessageBean(org.jboss.metadata.MessageDrivenMetaData mdb)
Provides an empty default implementation for EJB 1.1 verifier (message beans are for EJB 2.0 and greater only). |
void |
checkSession(org.jboss.metadata.SessionMetaData session)
IMPLEMENTS VERIFICATION STRATEGY INTERFACE |
String |
getMessageBundle()
|
protected boolean |
hasLocalInterfaces(org.jboss.metadata.BeanMetaData bean)
Check whether the bean has declared local interfaces and whether we can load the defined classes |
protected boolean |
hasRemoteInterfaces(org.jboss.metadata.BeanMetaData bean)
Check whether the bean has declared local interfaces and whether we can load the defined classes |
protected boolean |
verifyBean(org.jboss.metadata.BeanMetaData theBean)
Try to load the beans class declared in the <ejb-class> element. |
protected boolean |
verifyMessageDrivenBean(org.jboss.metadata.MessageDrivenMetaData mdBean)
|
protected boolean |
verifySessionBean(org.jboss.metadata.SessionMetaData session)
|
protected boolean |
verifySessionHome(org.jboss.metadata.SessionMetaData session)
Verifies the session bean remote home interface against the EJB 2.0 specification. |
protected boolean |
verifySessionLocal(org.jboss.metadata.SessionMetaData session)
|
protected boolean |
verifySessionLocalHome(org.jboss.metadata.SessionMetaData session)
Verifies the session bean local home interface against the EJB 2.0 specification. |
protected boolean |
verifySessionRemote(org.jboss.metadata.SessionMetaData session)
|
Methods inherited from class org.jboss.verifier.strategy.AbstractEJB2xVerifier |
---|
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 EJBVerifier20(VerificationContext context)
Method Detail |
---|
public String getMessageBundle()
getMessageBundle
in class AbstractVerifier
public void checkSession(org.jboss.metadata.SessionMetaData session)
public void checkEntity(org.jboss.metadata.EntityMetaData entity)
VerificationStrategy
public void checkMessageBean(org.jboss.metadata.MessageDrivenMetaData mdb)
AbstractVerifier
checkMessageBean
in interface VerificationStrategy
checkMessageBean
in class AbstractVerifier
mdb
- the message bean to verifyprotected boolean verifyBean(org.jboss.metadata.BeanMetaData theBean)
true
if everything went alrightprotected boolean hasRemoteInterfaces(org.jboss.metadata.BeanMetaData bean)
true
if everything went alrightprotected boolean hasLocalInterfaces(org.jboss.metadata.BeanMetaData bean)
true
if everything went alrightprotected boolean verifySessionHome(org.jboss.metadata.SessionMetaData session)
session
- XML metadata of the session beanprotected boolean verifySessionLocalHome(org.jboss.metadata.SessionMetaData session)
session
- parsed metadata of the session beanprotected boolean verifySessionRemote(org.jboss.metadata.SessionMetaData session)
protected boolean verifySessionLocal(org.jboss.metadata.SessionMetaData session)
protected boolean verifySessionBean(org.jboss.metadata.SessionMetaData session)
protected boolean verifyMessageDrivenBean(org.jboss.metadata.MessageDrivenMetaData mdBean)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |