Java Doc for Ejb3UnitCfg.java in  » Testing » Ejb3Unit » com » bm » cfg » 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 » Testing » Ejb3Unit » com.bm.cfg 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   com.bm.cfg.Ejb3UnitCfg

Ejb3UnitCfg
final public class Ejb3UnitCfg (Code)
This class reads and holds the ejb3unit configuration.
author:
   Daniel Wiese


Field Summary
final public static  StringEJB3UNIT_PROPERTIES_NAME
     Konfiguration key.
final public static  StringKEY_AUTOMATIC_SCHEMA_UPDATE
     Konfiguration key.
final public static  StringKEY_CACHE_PROVIDER
     Konfiguration key.
final public static  StringKEY_CONNECTION_DRIVER_CLASS
     Konfiguration key.
final public static  StringKEY_CONNECTION_PASSWORD
     Konfiguration key.
final public static  StringKEY_CONNECTION_URL
     Konfiguration key.
final public static  StringKEY_CONNECTION_USERNAME
     Konfiguration key.
final public static  StringKEY_IN_MEMORY_TEST
     Konfiguration key.
final public static  StringKEY_SHOW_SQL
     Konfiguration key.
final public static  StringKEY_SQL_DIALECT
     Konfiguration key.
final public static  StringKEY_USE_QUERY_CACHE
     Konfiguration key.
final public static  StringKEY_USE_SECOND_LEVEL_CACHE
     Konfiguration key.


Method Summary
public static synchronized  voidaddEntytiesToTest(Class... entytiesToTest)
     Add entities to test to the configuration.
public static synchronized  voidaddEntytiesToTest(Collection<Class<?>> entytiesToTest)
     Add entities to test to the configuration.
public static synchronized  Ejb3UnitCfggetConfiguration()
     Creates / returns a singelton instance of the configuration.
public  Ejb3ConfigurationgetEJB3Configuration()
     Returns the hibernate configuration settings which will be converted form ejb3configaration settings.
public  EntityManagerFactorygetEntityManagerFactory()
     Returns the entityManagerFactory.
public static  List<JndiProperty>getJndiBindings()
     Liefert die properties der Jndi rules.
public  StringgetSchemaGenScript(DBDialect dialect)
     Returns the schema gen script.
public  StringgetValue(String key)
     Retruns a value of a config key.
public  booleanisInMemory()
     Returns the inMemory.
public static  booleanisInitialized()
     Checks if the configuration was initialized.

Field Detail
EJB3UNIT_PROPERTIES_NAME
final public static String EJB3UNIT_PROPERTIES_NAME(Code)
Konfiguration key. *



KEY_AUTOMATIC_SCHEMA_UPDATE
final public static String KEY_AUTOMATIC_SCHEMA_UPDATE(Code)
Konfiguration key. *



KEY_CACHE_PROVIDER
final public static String KEY_CACHE_PROVIDER(Code)
Konfiguration key. *



KEY_CONNECTION_DRIVER_CLASS
final public static String KEY_CONNECTION_DRIVER_CLASS(Code)
Konfiguration key. *



KEY_CONNECTION_PASSWORD
final public static String KEY_CONNECTION_PASSWORD(Code)
Konfiguration key. *



KEY_CONNECTION_URL
final public static String KEY_CONNECTION_URL(Code)
Konfiguration key. *



KEY_CONNECTION_USERNAME
final public static String KEY_CONNECTION_USERNAME(Code)
Konfiguration key. *



KEY_IN_MEMORY_TEST
final public static String KEY_IN_MEMORY_TEST(Code)
Konfiguration key. *



KEY_SHOW_SQL
final public static String KEY_SHOW_SQL(Code)
Konfiguration key. *



KEY_SQL_DIALECT
final public static String KEY_SQL_DIALECT(Code)
Konfiguration key. *



KEY_USE_QUERY_CACHE
final public static String KEY_USE_QUERY_CACHE(Code)
Konfiguration key. *



KEY_USE_SECOND_LEVEL_CACHE
final public static String KEY_USE_SECOND_LEVEL_CACHE(Code)
Konfiguration key. *





Method Detail
addEntytiesToTest
public static synchronized void addEntytiesToTest(Class... entytiesToTest)(Code)
Add entities to test to the configuration.
Parameters:
  entytiesToTest - -the used entity beans



addEntytiesToTest
public static synchronized void addEntytiesToTest(Collection<Class<?>> entytiesToTest)(Code)
Add entities to test to the configuration.
Parameters:
  entytiesToTest - -the used entity beans



getConfiguration
public static synchronized Ejb3UnitCfg getConfiguration()(Code)
Creates / returns a singelton instance of the configuration. - a singelton instance



getEJB3Configuration
public Ejb3Configuration getEJB3Configuration()(Code)
Returns the hibernate configuration settings which will be converted form ejb3configaration settings. hibernate entity manager Ejb3Configuration



getEntityManagerFactory
public EntityManagerFactory getEntityManagerFactory()(Code)
Returns the entityManagerFactory. Returns the entityManagerFactory.



getJndiBindings
public static List<JndiProperty> getJndiBindings()(Code)
Liefert die properties der Jndi rules.
author:
   Daniel Wiese
since:
   06.07.2006
Parameters:
  key - -der key - die sell rules



getSchemaGenScript
public String getSchemaGenScript(DBDialect dialect)(Code)
Returns the schema gen script.
Parameters:
  dialect - for dialect the ddl



getValue
public String getValue(String key)(Code)
Retruns a value of a config key.
author:
   Daniel Wiese
since:
   08.11.2005
Parameters:
  key - -the key - a value of an config key



isInMemory
public boolean isInMemory()(Code)
Returns the inMemory. Returns the inMemory.



isInitialized
public static boolean isInitialized()(Code)
Checks if the configuration was initialized. - a singelton instance



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.