Java Doc for BmpAllowedOperationsTests.java in  » J2EE » openejb3 » org » apache » openejb » test » entity » bmp » 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 » J2EE » openejb3 » org.apache.openejb.test.entity.bmp 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.apache.openejb.test.NamedTestCase
   org.apache.openejb.test.entity.bmp.BmpTestClient
      org.apache.openejb.test.entity.bmp.BasicBmpTestClient
         org.apache.openejb.test.entity.bmp.BmpAllowedOperationsTests

BmpAllowedOperationsTests
public class BmpAllowedOperationsTests extends BasicBmpTestClient (Code)
[9] Should be run as the nineth test suite of the BasicBmpTestClients
 =========================================================================
 Operations allowed in the methods of an entity bean
 =========================================================================
 Bean method           | Bean method can perform the following operations
 ______________________|__________________________________________________
 |
 constructor           | -
 ______________________|__________________________________________________
 |
 setEntityContext      |  EntityContext methods:
 unsetEntityContext    |     - getEJBHome
 |  JNDI access to java:comp/env
 ______________________|__________________________________________________
 |
 ejbCreate             |  EntityContext methods:
 |     - getEJBHome
 |     - getCallerPrincipal
 |     - getRollbackOnly
 |     - isCallerInRole
 |     - setRollbackOnly
 |  JNDI access to java:comp/env
 |  Resource manager access
 |  Enterprise bean access
 ______________________|__________________________________________________
 |
 ejbPostCreate         |  EntityContext methods:
 |     - getEJBHome
 |     - getCallerPrincipal
 |     - getRollbackOnly
 |     - isCallerInRole
 |     - setRollbackOnly
 |     - getEJBObject
 |     - getPrimaryKey
 |  JNDI access to java:comp/env
 |  Resource manager access
 |  Enterprise bean access
 ______________________|__________________________________________________
 |
 ejbRemove             |  EntityContext methods:
 |     - getEJBHome
 |     - getCallerPrincipal
 |     - getRollbackOnly
 |     - isCallerInRole
 |     - setRollbackOnly
 |     - getEJBObject
 |     - getPrimaryKey
 |  JNDI access to java:comp/env
 |  Resource manager access
 |  Enterprise bean access
 ______________________|__________________________________________________
 |
 ejbFind*              |  EntityContext methods:
 ejbSelect*            |     - getEJBHome
 ejbHome               |     - getCallerPrincipal
 |     - getRollbackOnly
 |     - isCallerInRole
 |     - setRollbackOnly
 |  JNDI access to java:comp/env
 |  Resource manager access
 |  Enterprise bean access
 ______________________|__________________________________________________
 |
 ejbSelectInEntity*    |  EntityContext methods:
 |     - getEJBHome
 |     - getCallerPrincipal
 |     - getRollbackOnly
 |     - isCallerInRole
 |     - setRollbackOnly
 |     - getEJBObject
 |     - getPrimaryKey
 |  JNDI access to java:comp/env
 |  Resource manager access
 |  Enterprise bean access
 ______________________|__________________________________________________
 |
 ejbActivate           |  EntityContext methods:
 ejbPassivate          |     - getEJBHome
 |     - getEJBObject
 |     - getPrimaryKey
 |  JNDI access to java:comp/env
 ______________________|__________________________________________________
 |
 ejbLoad               |  EntityContext methods:
 ejbStore              |     - getEJBHome
 |     - getCallerPrincipal
 |     - getRollbackOnly
 |     - isCallerInRole
 |     - setRollbackOnly
 |     - getEJBObject
 |     - getPrimaryKey
 |  JNDI access to java:comp/env
 |  Resource manager access
 |  Enterprise bean access
 ______________________|__________________________________________________
 |
 business method       |  EntityContext methods:
 from remote interface |     - getEJBHome
 |     - getCallerPrincipal
 |     - getRollbackOnly
 |     - isCallerInRole
 |     - setRollbackOnly
 |     - getEJBObject
 |     - getPrimaryKey
 |  JNDI access to java:comp/env
 |  Resource manager access
 |  Enterprise bean access
 ______________________|__________________________________________________
 

author:
   David Blevins
author:
   Richard Monson-Haefel



Constructor Summary
public  BmpAllowedOperationsTests()
    

Method Summary
public  voidTODO_test02_unsetEntityContext()
    
protected  voidsetUp()
    
protected  voidtearDown()
    
public  voidtest01_setEntityContext()
    
public  voidtest03_ejbCreate()
    
public  voidtest04_ejbPostCreate()
    
public  voidtest05_ejbRemove()
    
public  voidtest06_ejbFind()
    
public  voidtest08_ejbHome()
    
public  voidtest10_ejbActivate()
    
public  voidtest11_ejbPassivate()
    
public  voidtest12_ejbLoad()
    
public  voidtest13_ejbStore()
    
public  voidtest14_businessMethod()
    


Constructor Detail
BmpAllowedOperationsTests
public BmpAllowedOperationsTests()(Code)




Method Detail
TODO_test02_unsetEntityContext
public void TODO_test02_unsetEntityContext()(Code)
 Bean method           | Bean method can perform the following operations
 ______________________|__________________________________________________
 |
 setEntityContext      |  EntityContext methods:
 unsetEntityContext    |     - getEJBHome
 |  JNDI access to java:comp/env
 ______________________|__________________________________________________
 



setUp
protected void setUp() throws Exception(Code)



tearDown
protected void tearDown() throws Exception(Code)



test01_setEntityContext
public void test01_setEntityContext()(Code)
 Bean method           | Bean method can perform the following operations
 ______________________|__________________________________________________
 |
 setEntityContext      |  EntityContext methods:
 unsetEntityContext    |     - getEJBHome
 |  JNDI access to java:comp/env
 ______________________|__________________________________________________
 



test03_ejbCreate
public void test03_ejbCreate()(Code)
 Bean method           | Bean method can perform the following operations
 ______________________|__________________________________________________
 |
 ejbCreate             |  EntityContext methods:
 |     - getEJBHome
 |     - getCallerPrincipal
 |     - getRollbackOnly
 |     - isCallerInRole
 |     - setRollbackOnly
 |  JNDI access to java:comp/env
 |  Resource manager access
 |  Enterprise bean access
 ______________________|__________________________________________________
 



test04_ejbPostCreate
public void test04_ejbPostCreate()(Code)
 Bean method           | Bean method can perform the following operations
 ______________________|__________________________________________________
 |
 ejbPostCreate         |  EntityContext methods:
 |     - getEJBHome
 |     - getCallerPrincipal
 |     - getRollbackOnly
 |     - isCallerInRole
 |     - setRollbackOnly
 |     - getEJBObject
 |     - getPrimaryKey
 |  JNDI access to java:comp/env
 |  Resource manager access
 |  Enterprise bean access
 ______________________|__________________________________________________
 



test05_ejbRemove
public void test05_ejbRemove()(Code)
 Bean method           | Bean method can perform the following operations
 ______________________|__________________________________________________
 |
 ejbRemove             |  EntityContext methods:
 |     - getEJBHome
 |     - getCallerPrincipal
 |     - getRollbackOnly
 |     - isCallerInRole
 |     - setRollbackOnly
 |     - getEJBObject
 |     - getPrimaryKey
 |  JNDI access to java:comp/env
 |  Resource manager access
 |  Enterprise bean access
 ______________________|__________________________________________________
 



test06_ejbFind
public void test06_ejbFind()(Code)
 Bean method           | Bean method can perform the following operations
 ______________________|__________________________________________________
 |
 ejbFind*              |  EntityContext methods:
 ejbSelect*            |     - getEJBHome
 ejbHome               |     - getCallerPrincipal
 |     - getRollbackOnly
 |     - isCallerInRole
 |     - setRollbackOnly
 |  JNDI access to java:comp/env
 |  Resource manager access
 |  Enterprise bean access
 ______________________|__________________________________________________
 



test08_ejbHome
public void test08_ejbHome()(Code)
 Bean method           | Bean method can perform the following operations
 ______________________|__________________________________________________
 |
 ejbFind*              |  EntityContext methods:
 ejbSelect*            |     - getEJBHome
 ejbHome               |     - getCallerPrincipal
 |     - getRollbackOnly
 |     - isCallerInRole
 |     - setRollbackOnly
 |  JNDI access to java:comp/env
 |  Resource manager access
 |  Enterprise bean access
 ______________________|__________________________________________________
 



test10_ejbActivate
public void test10_ejbActivate()(Code)
 Bean method           | Bean method can perform the following operations
 ______________________|__________________________________________________
 |
 ejbActivate           |  EntityContext methods:
 ejbPassivate          |     - getEJBHome
 |     - getEJBObject
 |     - getPrimaryKey
 |  JNDI access to java:comp/env
 ______________________|__________________________________________________
 



test11_ejbPassivate
public void test11_ejbPassivate()(Code)
 Bean method           | Bean method can perform the following operations
 ______________________|__________________________________________________
 |
 ejbActivate           |  EntityContext methods:
 ejbPassivate          |     - getEJBHome
 |     - getEJBObject
 |     - getPrimaryKey
 |  JNDI access to java:comp/env
 ______________________|__________________________________________________
 



test12_ejbLoad
public void test12_ejbLoad()(Code)
 Bean method           | Bean method can perform the following operations
 ______________________|__________________________________________________
 |
 ejbLoad               |  EntityContext methods:
 ejbStore              |     - getEJBHome
 |     - getCallerPrincipal
 |     - getRollbackOnly
 |     - isCallerInRole
 |     - setRollbackOnly
 |     - getEJBObject
 |     - getPrimaryKey
 |  JNDI access to java:comp/env
 |  Resource manager access
 |  Enterprise bean access
 ______________________|__________________________________________________
 



test13_ejbStore
public void test13_ejbStore()(Code)
 Bean method           | Bean method can perform the following operations
 ______________________|__________________________________________________
 |
 ejbLoad               |  EntityContext methods:
 ejbStore              |     - getEJBHome
 |     - getCallerPrincipal
 |     - getRollbackOnly
 |     - isCallerInRole
 |     - setRollbackOnly
 |     - getEJBObject
 |     - getPrimaryKey
 |  JNDI access to java:comp/env
 |  Resource manager access
 |  Enterprise bean access
 ______________________|__________________________________________________
 



test14_businessMethod
public void test14_businessMethod()(Code)
 Bean method           | Bean method can perform the following operations
 ______________________|__________________________________________________
 |
 business method       |  EntityContext methods:
 from remote interface |     - getEJBHome
 |     - getCallerPrincipal
 |     - getRollbackOnly
 |     - isCallerInRole
 |     - setRollbackOnly
 |     - getEJBObject
 |     - getPrimaryKey
 |  JNDI access to java:comp/env
 |  Resource manager access
 |  Enterprise bean access
 ______________________|__________________________________________________
 



Fields inherited from org.apache.openejb.test.entity.bmp.BasicBmpTestClient
protected BasicBmpHome ejbHome(Code)(Java Doc)
protected BasicBmpObject ejbObject(Code)(Java Doc)


Fields inherited from org.apache.openejb.test.entity.bmp.BmpTestClient
protected Handle ejbHandle(Code)(Java Doc)
protected HomeHandle ejbHomeHandle(Code)(Java Doc)
protected EJBMetaData ejbMetaData(Code)(Java Doc)
protected Object ejbPrimaryKey(Code)(Java Doc)
protected InitialContext initialContext(Code)(Java Doc)

Methods inherited from org.apache.openejb.test.entity.bmp.BmpTestClient
protected void setUp() throws Exception(Code)(Java Doc)
protected void tearDown() throws Exception(Code)(Java Doc)

Fields inherited from org.apache.openejb.test.NamedTestCase
protected String testName(Code)(Java Doc)

Methods inherited from org.apache.openejb.test.NamedTestCase
public String name()(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.