org.mockejb

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 » Testing » MockEJB » org.mockejb 
org.mockejb
Java Source File NameTypeComment
BasicEjbDescriptor.javaClass Provides the information that MockEJB needs to "deploy" this EJB.
BasicEjbHome.javaClass Base class for concrete Home implementations.
BMPFinderHandler.javaClass Intercepts the calls to the BMP find methods, checks if the returned PK (or elements of the pk collection) is in the EntityDatabase, if not, creates a new entity and calls "ejbLoad", and adds it to the EntityDatabase.
CMPFindByPrimaryKeyHandler.javaClass Handles calls to findByPrimaryKey for CMP beans. Checks if the requested PK is in the EntityDatabase, if it is, gets the entity from the EntityDatabase and returns it to the client. Otherwise, proceeds to the next interceptor in the chain.
DummyCMPBean.javaClass Dummmy object used to trigger "must be intercepted" exception when an attempt was made to call finder or ejbSelect that MockEJB does not handle.
EjbBeanAccess.javaInterface Proivides access to the bean (instance of the EJB implementation class) and its context.
EjbExceptionHandler.javaClass Performs exception logging and chaining according to the EJB spec.
EntityBeanDescriptor.javaClass Contains entity bean-specific data used for EJB deployment.
EntityBeanHome.javaClass Supports invocations of the home methods specific for entity beans, such as finders and ejbHome.
EntityBeanSubclass.javaClass Provides mock subclass of the CMP entity abstract class. The subclass gets created dynamically using CGLIB. The behavior is the following: CMP field getters return null if the corresponding set was not called, otherwise it returns the previously set value.
EntityDatabase.javaInterface Provides in-memory entity database implementation suitable for setting up test mock data. Entities can be searched only by the primary key. Users should populate EntityDatabase with the mock entities for their test.
EntityDatabaseImpl.javaClass Provides rudimentary in-memory entity database implementation. Entities can be searched only by the primary key. Users should populate EntityDatabase with the mock entities for their test.
GenericHome.javaInterface You can cast any home to this interface and call its create method. Create method will create a new bean's instance and set the context. For session beans, it will call the parameterless ejbCreate if it exists for.
MDBDescriptor.javaClass Provides the information that MockEJB needs to "deploy" MDB. This includes JNDI names of the connection factory and destination.
MDBHome.javaClass
MDBHomeIface.javaInterface
MethodContainer.javaClass
MethodNotImplementedException.javaClass Indicates that the method defined by one of the standard interfaces is not implemented by the framework.
MockContainer.javaClass Provides methods to "deploy" EJBs.
MockEjbContext.javaClass Provides implementation of javax.ejb.SessionContext, javax.ejb.MessageDrivenContext and javax.ejb.EntityContext as well as some extra convenience methods.
MockEjbMetaData.javaClass
MockEjbObject.javaClass Serves as a proxy for all calls to the bean.
MockEjbSystemException.javaClass Indicates system error in MockEJB framework.
MockUser.javaClass Provides simple implementation of java.security.Principal.
MustBeInterceptedException.javaClass Indicates that the method you're trying to call must be intercepted, MockEJB itself does not support this method.
OptionalCactusTestCase.javaClass Runs the test case on the server side under cactus or standalone on the client side.
SessionBeanDescriptor.javaClass Provides Session bean-specific information required by MockContainer to deploy session EJB. The only piece if session-bean specific data is isStateful flag.
SessionBeanHome.javaClass
TransactionManager.javaClass Provides the support for the container-managed transactions according to EJB spec (chapter 18).

Note that RequiredNew is not fully supported since TransactionManager does not know how to suspend transactions.

TransactionPolicy.javaClass Enumeration of possible values of the transaction attribute (transaction policy) as per EJB spec.
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.