Java Doc for EJBVerifier21.java in  » EJB-Server-JBoss-4.2.1 » server » org » jboss » verifier » strategy » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » EJB Server JBoss 4.2.1 » server » org.jboss.verifier.strategy 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.jboss.verifier.strategy.AbstractVerifier
      org.jboss.verifier.strategy.AbstractEJB2xVerifier
         org.jboss.verifier.strategy.EJBVerifier21

EJBVerifier21
public class EJBVerifier21 extends AbstractEJB2xVerifier (Code)
EJB 2.1 bean verifier.
author:
   Christoph G. Jung
author:
   Thomas.Diesler@jboss.org
version:
   $Revision: 57209 $
since:
   02.12.2003



Constructor Summary
public  EJBVerifier21(VerificationContext context)
    

Method Summary
public  voidcheckEntity(EntityMetaData entity)
    
public  voidcheckMessageBean(MessageDrivenMetaData mdb)
    
public  voidcheckSession(SessionMetaData session)
    
public  StringgetMessageBundle()
    
protected  booleanhasLegalJAXRPCArguments(Method method)
    
protected  booleanhasLegalJAXRPCReturnType(Method method)
    
protected  booleanhasLocalInterfaces(BeanMetaData bean)
    
protected  booleanhasRemoteInterfaces(BeanMetaData bean)
    
protected  booleanhasServiceEndpointInterfaces(SessionMetaData bean)
    
protected  booleanisJAXRPCType(Class class1)
    
protected  booleanverifyBean(BeanMetaData theBean)
     Try to load the beans class declared in the <ejb-class> element.
protected  booleanverifyMessageDrivenBean(MessageDrivenMetaData mdBean)
    
protected  booleanverifyServiceEndpoint(SessionMetaData session)
    
protected  booleanverifySessionBean(SessionMetaData session)
    
protected  booleanverifySessionHome(SessionMetaData session)
     Verifies the session bean remote home interface against the EJB 2.1 specification.
protected  booleanverifySessionLocal(SessionMetaData session)
    
protected  booleanverifySessionLocalHome(SessionMetaData session)
     Verifies the session bean local home interface against the EJB 2.1 specification.
protected  booleanverifySessionRemote(SessionMetaData session)
    


Constructor Detail
EJBVerifier21
public EJBVerifier21(VerificationContext context)(Code)




Method Detail
checkEntity
public void checkEntity(EntityMetaData entity)(Code)



checkMessageBean
public void checkMessageBean(MessageDrivenMetaData mdb)(Code)



checkSession
public void checkSession(SessionMetaData session)(Code)
IMPLEMENTS VERIFICATION STRATEGY INTERFACE



getMessageBundle
public String getMessageBundle()(Code)



hasLegalJAXRPCArguments
protected boolean hasLegalJAXRPCArguments(Method method)(Code)

Parameters:
  method -



hasLegalJAXRPCReturnType
protected boolean hasLegalJAXRPCReturnType(Method method)(Code)

Parameters:
  method -



hasLocalInterfaces
protected boolean hasLocalInterfaces(BeanMetaData bean)(Code)
Check whether the bean has declared local interfaces and whether we can load the defined classes true if everything went alright



hasRemoteInterfaces
protected boolean hasRemoteInterfaces(BeanMetaData bean)(Code)
Check whether the bean has declared local interfaces and whether we can load the defined classes true if everything went alright



hasServiceEndpointInterfaces
protected boolean hasServiceEndpointInterfaces(SessionMetaData bean)(Code)
Check whether the bean has declared service endpoint interfaces and whether we can load the defined classes
Parameters:
  bean - true if everything went alright



isJAXRPCType
protected boolean isJAXRPCType(Class class1)(Code)

Parameters:
  class1 -



verifyBean
protected boolean verifyBean(BeanMetaData theBean)(Code)
Try to load the beans class declared in the <ejb-class> element. true if everything went alright



verifyMessageDrivenBean
protected boolean verifyMessageDrivenBean(MessageDrivenMetaData mdBean)(Code)



verifyServiceEndpoint
protected boolean verifyServiceEndpoint(SessionMetaData session)(Code)
Verify Session Bean Service Endpoint
Parameters:
  session -



verifySessionBean
protected boolean verifySessionBean(SessionMetaData session)(Code)



verifySessionHome
protected boolean verifySessionHome(SessionMetaData session)(Code)
Verifies the session bean remote home interface against the EJB 2.1 specification.
Parameters:
  session - XML metadata of the session bean



verifySessionLocal
protected boolean verifySessionLocal(SessionMetaData session)(Code)



verifySessionLocalHome
protected boolean verifySessionLocalHome(SessionMetaData session)(Code)
Verifies the session bean local home interface against the EJB 2.1 specification.
Parameters:
  session - parsed metadata of the session bean



verifySessionRemote
protected boolean verifySessionRemote(SessionMetaData session)(Code)



Fields inherited from org.jboss.verifier.strategy.AbstractEJB2xVerifier
protected Class bean(Code)(Java Doc)
protected EJBVerifier11 cmp1XVerifier(Code)(Java Doc)
protected Class home(Code)(Java Doc)
protected Class local(Code)(Java Doc)
protected Class localHome(Code)(Java Doc)
protected Class remote(Code)(Java Doc)
protected Class serviceEndpointInterface(Code)(Java Doc)

Methods inherited from org.jboss.verifier.strategy.AbstractEJB2xVerifier
public Iterator getEJBRemoveMethods(Class c)(Code)(Java Doc)
public Iterator getEjbHomeMethods(Class c)(Code)(Java Doc)
public Iterator getEjbSelectMethods(Class c)(Code)(Java Doc)
public Iterator getHomeMethods(Class c)(Code)(Java Doc)
public boolean hasEJBRemoveMethod(Class c)(Code)(Java Doc)
protected boolean hasMatchingQuery(Method m, EntityMetaData e)(Code)(Java Doc)
public boolean hasRemoteInterface(Class c)(Code)(Java Doc)
public boolean isCreateMethod(Method m)(Code)(Java Doc)
public boolean isEjbCreateMethod(Method m)(Code)(Java Doc)
public boolean isEjbHomeMethod(Method m)(Code)(Java Doc)
public boolean isEjbRemoveMethod(Method m)(Code)(Java Doc)
public boolean isEjbSelectMethod(Method m)(Code)(Java Doc)

Fields inherited from org.jboss.verifier.strategy.AbstractVerifier
final public static String BEAN_MANAGED_TX(Code)(Java Doc)
final public static String CONTAINER_MANAGED_TX(Code)(Java Doc)
final protected static String CREATE_METHOD(Code)(Java Doc)
final protected static String EJB_CREATE_METHOD(Code)(Java Doc)
final protected static String EJB_HOME_INTERFACE(Code)(Java Doc)
final protected static String EJB_HOME_METHOD(Code)(Java Doc)
final protected static String EJB_LOCAL_HOME_INTERFACE(Code)(Java Doc)
final protected static String EJB_LOCAL_OBJECT_INTERFACE(Code)(Java Doc)
final protected static String EJB_OBJECT_INTERFACE(Code)(Java Doc)
final protected static String EJB_REMOVE_METHOD(Code)(Java Doc)
final protected static String EJB_SELECT_METHOD(Code)(Java Doc)
final public static String STATEFUL_SESSION(Code)(Java Doc)
final public static String STATELESS_SESSION(Code)(Java Doc)
protected ClassLoader classloader(Code)(Java Doc)
final static Logger log(Code)(Java Doc)

Methods inherited from org.jboss.verifier.strategy.AbstractVerifier
public void checkMessageBean(MessageDrivenMetaData bean)(Code)(Java Doc)
final protected void fireBeanVerifiedEvent(BeanMetaData bean)(Code)(Java Doc)
final protected void fireBeanVerifiedEvent(BeanMetaData bean, String msg)(Code)(Java Doc)
protected void fireSpecViolationEvent(BeanMetaData bean, Section section)(Code)(Java Doc)
protected void fireSpecViolationEvent(BeanMetaData bean, Method method, Section section)(Code)(Java Doc)
public StrategyContext getContext()(Code)(Java Doc)
public Iterator getCreateMethods(Class c)(Code)(Java Doc)
public Method getDefaultCreateMethod(Class c)(Code)(Java Doc)
public Iterator getEJBCreateMethods(Class c)(Code)(Java Doc)
public Method getEJBFindByPrimaryKey(Class c)(Code)(Java Doc)
public Iterator getEJBFindMethods(Class c)(Code)(Java Doc)
public Iterator getFinderMethods(Class home)(Code)(Java Doc)
public Method getMatchingEJBCreate(Class bean, Method create)(Code)(Java Doc)
public Method getMatchingEJBFind(Class bean, Method finder)(Code)(Java Doc)
public Method getMatchingEJBPostCreate(Class bean, Method create)(Code)(Java Doc)
abstract public String getMessageBundle()(Code)(Java Doc)
public Iterator getOnMessageMethods(Class c)(Code)(Java Doc)
public boolean hasANonStaticField(Class c)(Code)(Java Doc)
public boolean hasCreateMethod(Class c)(Code)(Java Doc)
public boolean hasDefaultConstructor(Class c)(Code)(Java Doc)
public boolean hasDefaultCreateMethod(Class home)(Code)(Java Doc)
public boolean hasEJBCreateMethod(Class c, boolean isSession)(Code)(Java Doc)
public boolean hasEJBFindByPrimaryKey(Class c)(Code)(Java Doc)
public boolean hasEJBHomeInterface(Class c)(Code)(Java Doc)
public boolean hasEJBLocalHomeInterface(Class c)(Code)(Java Doc)
public boolean hasEJBLocalObjectInterface(Class c)(Code)(Java Doc)
public boolean hasEJBObjectInterface(Class c)(Code)(Java Doc)
public boolean hasEntityBeanInterface(Class c)(Code)(Java Doc)
public boolean hasFinalizer(Class c)(Code)(Java Doc)
public boolean hasFinderMethod(Class c)(Code)(Java Doc)
public boolean hasLegalRMIIIOPArguments(Method method)(Code)(Java Doc)
public boolean hasLegalRMIIIOPExceptionTypes(Method method)(Code)(Java Doc)
public boolean hasLegalRMIIIOPReturnType(Method method)(Code)(Java Doc)
public boolean hasLocalReturnType(BeanMetaData bean, Method m)(Code)(Java Doc)
public boolean hasMatchingEJBCreate(Class bean, Method create)(Code)(Java Doc)
public boolean hasMatchingEJBFind(Class bean, Method finder)(Code)(Java Doc)
public boolean hasMatchingEJBHome(Class bean, Method home)(Code)(Java Doc)
public boolean hasMatchingEJBPostCreate(Class bean, Method create)(Code)(Java Doc)
public boolean hasMatchingExceptions(Method source, Method target)(Code)(Java Doc)
public boolean hasMatchingMethod(Class bean, Method method)(Code)(Java Doc)
public boolean hasMatchingReturnType(Method a, Method b)(Code)(Java Doc)
public boolean hasMessageDrivenBeanInterface(Class c)(Code)(Java Doc)
public boolean hasMessageListenerInterface(Class c)(Code)(Java Doc)
public boolean hasMoreThanOneCreateMethods(Class c)(Code)(Java Doc)
public boolean hasNoArguments(Method method)(Code)(Java Doc)
public boolean hasOnMessageMethod(Class c)(Code)(Java Doc)
public boolean hasPrimaryKeyReturnType(EntityMetaData entity, Method m)(Code)(Java Doc)
public boolean hasRemoteReturnType(BeanMetaData bean, Method m)(Code)(Java Doc)
public boolean hasSessionBeanInterface(Class c)(Code)(Java Doc)
public boolean hasSessionSynchronizationInterface(Class c)(Code)(Java Doc)
public boolean hasSingleArgument(Method method, Class argClass)(Code)(Java Doc)
public boolean hasVoidReturnType(Method method)(Code)(Java Doc)
public boolean isAbstract(Class c)(Code)(Java Doc)
public boolean isAbstract(Method m)(Code)(Java Doc)
public boolean isAllFieldsPublic(Class c)(Code)(Java Doc)
public boolean isAssignableFrom(String className, Class assignableFromClass)(Code)(Java Doc)
public boolean isAssignableFrom(Class clazz, String assignableFromClassName)(Code)(Java Doc)
abstract public boolean isCreateMethod(Method m)(Code)(Java Doc)
abstract public boolean isEjbCreateMethod(Method m)(Code)(Java Doc)
public boolean isFinal(Member member)(Code)(Java Doc)
public boolean isFinal(Class c)(Code)(Java Doc)
public boolean isFinderMethod(Method m)(Code)(Java Doc)
public boolean isMultiObjectFinder(Method f)(Code)(Java Doc)
public boolean isOnMessageMethod(Method m)(Code)(Java Doc)
public boolean isPublic(Member member)(Code)(Java Doc)
public boolean isPublic(Class c)(Code)(Java Doc)
protected boolean isRMIIDLValueType(Class type)(Code)(Java Doc)
protected boolean isRMIIIOPType(Class type)(Code)(Java Doc)
public boolean isSingleObjectFinder(EntityMetaData entity, Method finder)(Code)(Java Doc)
public boolean isStatic(Member member)(Code)(Java Doc)
public boolean isStatic(Class c)(Code)(Java Doc)
public boolean throwsCreateException(Method method)(Code)(Java Doc)
public boolean throwsFinderException(Method method)(Code)(Java Doc)
public boolean throwsNoException(Method method)(Code)(Java Doc)
public boolean throwsRemoteException(Method method)(Code)(Java Doc)

Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.