Java Doc for Hibernate3GpsDevice.java in  » Search-Engine » compass-2.0 » org » compass » gps » device » hibernate » dep » 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 » Search Engine » compass 2.0 » org.compass.gps.device.hibernate.dep 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.compass.gps.device.hibernate.dep.AbstractHibernateGpsDevice
   org.compass.gps.device.hibernate.dep.Hibernate3GpsDevice

All known Subclasses:   org.compass.spring.device.hibernate.dep.SpringHibernate3GpsDevice,
Hibernate3GpsDevice
public class Hibernate3GpsDevice extends AbstractHibernateGpsDevice implements PassiveMirrorGpsDevice(Code)
A hibernate device which works with hibernate 3.

You must either set the Hibernate Configuration or the SessionFactory to be used by the device. Note that if the Configuration is supplied, when the device start is called, a new SessionFactory will be built.

Provides support for real time index updates using the new Hibernate 3 event system. The device uses the PostInsertEventListener, PostUpdateEventListener, and PostDeleteEventListener events.
author:
   kimchyorg.compass.gps.device.hibernate.HibernateGpsDevice


Inner Class :public class Hibernate3SessionWrapper implements HibernateSessionWrapper


Constructor Summary
public  Hibernate3GpsDevice()
    
public  Hibernate3GpsDevice(String name, SessionFactory sessionFactory)
    
public  Hibernate3GpsDevice(String name, Configuration configuration)
    

Method Summary
protected  SessionFactorydoGetActualSessionFactory()
     A helper method that returns the actual session factory for event registration.
protected  HibernateEntityInfo[]doGetHibernateEntitiesInfo()
    
protected  HibernateSessionWrapperdoGetHibernateSessionWrapper()
    
protected  ListdoGetObjects(HibernateEntityInfo info, int from, int count, HibernateSessionWrapper sessionWrapper)
    
protected  QuerydoGetQuery(HibernateEntityInfo info, Session session)
     Can be used to override query creation for a certain hibernate entity info.
protected  voiddoStart()
    
protected  voiddoStop()
    
public  booleanisIgnoreMirrorExceptions()
     Should exceptions be ignored during the mirroring operations (the Hibernate event listeners).
protected  booleanisInherited(ClassMetadata classMetadata)
    
public  booleanisMirrorDataChanges()
    
public  voidsetConfiguration(Configuration configuration)
    
public  voidsetIgnoreMirrorExceptions(boolean ignoreMirrorExceptions)
     Should exceptions be ignored during the mirroring operations (the Hibernate event listeners).
public  voidsetMirrorDataChanges(boolean mirrorDataChanges)
    
public  voidsetMirrorFilter(HibernateMirrorFilter mirrorFilter)
     Sets a mirroring filter that can filter hibernate mirror events.
public  voidsetSessionFactory(SessionFactory sessionFactory)
    


Constructor Detail
Hibernate3GpsDevice
public Hibernate3GpsDevice()(Code)



Hibernate3GpsDevice
public Hibernate3GpsDevice(String name, SessionFactory sessionFactory)(Code)



Hibernate3GpsDevice
public Hibernate3GpsDevice(String name, Configuration configuration)(Code)




Method Detail
doGetActualSessionFactory
protected SessionFactory doGetActualSessionFactory()(Code)
A helper method that returns the actual session factory for event registration. Can be used by subclasses if the SessionFactory is proxied.



doGetHibernateEntitiesInfo
protected HibernateEntityInfo[] doGetHibernateEntitiesInfo() throws HibernateGpsDeviceException(Code)



doGetHibernateSessionWrapper
protected HibernateSessionWrapper doGetHibernateSessionWrapper()(Code)



doGetObjects
protected List doGetObjects(HibernateEntityInfo info, int from, int count, HibernateSessionWrapper sessionWrapper) throws HibernateGpsDeviceException(Code)



doGetQuery
protected Query doGetQuery(HibernateEntityInfo info, Session session)(Code)
Can be used to override query creation for a certain hibernate entity info.



doStart
protected void doStart() throws CompassGpsException(Code)



doStop
protected void doStop() throws CompassGpsException(Code)



isIgnoreMirrorExceptions
public boolean isIgnoreMirrorExceptions()(Code)
Should exceptions be ignored during the mirroring operations (the Hibernate event listeners). Defaults to false.



isInherited
protected boolean isInherited(ClassMetadata classMetadata) throws HibernateGpsDeviceException(Code)



isMirrorDataChanges
public boolean isMirrorDataChanges()(Code)



setConfiguration
public void setConfiguration(Configuration configuration)(Code)



setIgnoreMirrorExceptions
public void setIgnoreMirrorExceptions(boolean ignoreMirrorExceptions)(Code)
Should exceptions be ignored during the mirroring operations (the Hibernate event listeners). Defaults to false.



setMirrorDataChanges
public void setMirrorDataChanges(boolean mirrorDataChanges)(Code)



setMirrorFilter
public void setMirrorFilter(HibernateMirrorFilter mirrorFilter)(Code)
Sets a mirroring filter that can filter hibernate mirror events. If no mirror filter is set no filtering will happen.
Parameters:
  mirrorFilter - The mirror filter handler



setSessionFactory
public void setSessionFactory(SessionFactory sessionFactory)(Code)



Fields inherited from org.compass.gps.device.hibernate.dep.AbstractHibernateGpsDevice
protected int fetchCount(Code)(Java Doc)

Methods inherited from org.compass.gps.device.hibernate.dep.AbstractHibernateGpsDevice
abstract protected HibernateEntityInfo[] doGetHibernateEntitiesInfo() throws HibernateGpsDeviceException(Code)(Java Doc)
abstract protected HibernateSessionWrapper doGetHibernateSessionWrapper()(Code)(Java Doc)
protected IndexEntity[] doGetIndexEntities() throws CompassGpsException(Code)(Java Doc)
protected IndexEntitiesIndexer doGetIndexEntitiesIndexer()(Code)(Java Doc)
abstract protected List doGetObjects(HibernateEntityInfo info, int from, int count, HibernateSessionWrapper sessionWrapper) throws HibernateGpsDeviceException(Code)(Java Doc)
public void setFetchCount(int fetchCount)(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.