Source Code Cross Referenced for PseudoSessionFactory.java in  » Workflow-Engines » osbl-1_0 » org » osbl » persistence » hibernate » 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 » Workflow Engines » osbl 1_0 » org.osbl.persistence.hibernate 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


001:        package org.osbl.persistence.hibernate;
002:
003:        import org.hibernate.*;
004:        import org.hibernate.engine.FilterDefinition;
005:        import org.hibernate.stat.Statistics;
006:        import org.hibernate.metadata.ClassMetadata;
007:        import org.hibernate.metadata.CollectionMetadata;
008:
009:        import javax.naming.Reference;
010:        import javax.naming.NamingException;
011:        import java.sql.Connection;
012:        import java.util.Map;
013:        import java.util.Set;
014:        import java.io.Serializable;
015:
016:        public class PseudoSessionFactory implements  SessionFactory {
017:            org.hibernate.classic.Session session;
018:
019:            public PseudoSessionFactory(org.hibernate.classic.Session session) {
020:                this .session = session;
021:            }
022:
023:            public org.hibernate.classic.Session openSession(
024:                    Connection connection) {
025:                return session;
026:            }
027:
028:            public org.hibernate.classic.Session openSession(
029:                    Interceptor interceptor) throws HibernateException {
030:                return session;
031:            }
032:
033:            public org.hibernate.classic.Session openSession(
034:                    Connection connection, Interceptor interceptor) {
035:                return session;
036:            }
037:
038:            public org.hibernate.classic.Session openSession()
039:                    throws HibernateException {
040:                return session;
041:            }
042:
043:            public org.hibernate.classic.Session getCurrentSession()
044:                    throws HibernateException {
045:                return session;
046:            }
047:
048:            public ClassMetadata getClassMetadata(Class aClass)
049:                    throws HibernateException {
050:                return null; //To change body of implemented methods use File | Settings | File Templates.
051:            }
052:
053:            public ClassMetadata getClassMetadata(String path)
054:                    throws HibernateException {
055:                return null; //To change body of implemented methods use File | Settings | File Templates.
056:            }
057:
058:            public CollectionMetadata getCollectionMetadata(String path)
059:                    throws HibernateException {
060:                return null; //To change body of implemented methods use File | Settings | File Templates.
061:            }
062:
063:            public Map getAllClassMetadata() throws HibernateException {
064:                return null; //To change body of implemented methods use File | Settings | File Templates.
065:            }
066:
067:            public Map getAllCollectionMetadata() throws HibernateException {
068:                return null; //To change body of implemented methods use File | Settings | File Templates.
069:            }
070:
071:            public Statistics getStatistics() {
072:                return null; //To change body of implemented methods use File | Settings | File Templates.
073:            }
074:
075:            public void close() throws HibernateException {
076:                //To change body of implemented methods use File | Settings | File Templates.
077:            }
078:
079:            public boolean isClosed() {
080:                return false; //To change body of implemented methods use File | Settings | File Templates.
081:            }
082:
083:            public void evict(Class aClass) throws HibernateException {
084:                //To change body of implemented methods use File | Settings | File Templates.
085:            }
086:
087:            public void evict(Class aClass, Serializable serializable)
088:                    throws HibernateException {
089:                //To change body of implemented methods use File | Settings | File Templates.
090:            }
091:
092:            public void evictEntity(String path) throws HibernateException {
093:                //To change body of implemented methods use File | Settings | File Templates.
094:            }
095:
096:            public void evictEntity(String path, Serializable serializable)
097:                    throws HibernateException {
098:                //To change body of implemented methods use File | Settings | File Templates.
099:            }
100:
101:            public void evictCollection(String path) throws HibernateException {
102:                //To change body of implemented methods use File | Settings | File Templates.
103:            }
104:
105:            public void evictCollection(String path, Serializable serializable)
106:                    throws HibernateException {
107:                //To change body of implemented methods use File | Settings | File Templates.
108:            }
109:
110:            public void evictQueries() throws HibernateException {
111:                //To change body of implemented methods use File | Settings | File Templates.
112:            }
113:
114:            public void evictQueries(String path) throws HibernateException {
115:                //To change body of implemented methods use File | Settings | File Templates.
116:            }
117:
118:            public StatelessSession openStatelessSession() {
119:                return null; //To change body of implemented methods use File | Settings | File Templates.
120:            }
121:
122:            public StatelessSession openStatelessSession(Connection connection) {
123:                return null; //To change body of implemented methods use File | Settings | File Templates.
124:            }
125:
126:            public Set getDefinedFilterNames() {
127:                return null; //To change body of implemented methods use File | Settings | File Templates.
128:            }
129:
130:            public FilterDefinition getFilterDefinition(String filterName)
131:                    throws HibernateException {
132:                return null; //To change body of implemented methods use File | Settings | File Templates.
133:            }
134:
135:            public Reference getReference() throws NamingException {
136:                return null; //To change body of implemented methods use File | Settings | File Templates.
137:            }
138:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.