Java Doc for MedorFactory.java in  » J2EE » JOnAS-4.8.6 » org » objectweb » jonas_ejb » container » jorm » 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 » JOnAS 4.8.6 » org.objectweb.jonas_ejb.container.jorm 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.objectweb.jonas_ejb.container.jorm.JormFactory
   org.objectweb.jonas_ejb.container.jorm.MedorFactory

All known Subclasses:   org.objectweb.jonas_ejb.container.jorm.RdbFactory,
MedorFactory
abstract public class MedorFactory extends JormFactory (Code)
This class does the initialisation of Medor and permits to access to the query. The optimisation of the query tree is done during the first time that it is used.
author:
   S.Chassande-Barrioz


Field Summary
protected  ExecPlanGeneratorindexesGenerator
    
protected  ManagermiManager
    
protected  booleanoptimizeAtInit
    
protected  QueryTransformerqueryTransformer
     This field references the query transformer which must be used to optimize the medor requests.

Constructor Summary
public  MedorFactory()
    

Method Summary
public  TupleCollectionevaluate(Object conn, int methodIndex, ParameterOperand[] parameters)
     It evaluate an optimized medor request according to the specified parameters To evalute the medor request the query evaluator is used.
public synchronized  QueryEvaluatorgetOptimizedRequest(MethodCmp2Desc methodDesc)
     It retrieves a medor request which is evaluable and optimized.
public  voidinit(EntityDesc ed, JContainer c, String mapperName)
    

Field Detail
indexesGenerator
protected ExecPlanGenerator indexesGenerator(Code)



miManager
protected Manager miManager(Code)



optimizeAtInit
protected boolean optimizeAtInit(Code)



queryTransformer
protected QueryTransformer queryTransformer(Code)
This field references the query transformer which must be used to optimize the medor requests.




Constructor Detail
MedorFactory
public MedorFactory()(Code)




Method Detail
evaluate
public TupleCollection evaluate(Object conn, int methodIndex, ParameterOperand[] parameters) throws MedorException(Code)
It evaluate an optimized medor request according to the specified parameters To evalute the medor request the query evaluator is used.
Parameters:
  conn - is the connection handle
Parameters:
  methodIndex - is method index which permits to find a medor request.
Parameters:
  parameters - is the parameters (key=parameter name / value=parametervalue) TupleCollection is the result of the request



getOptimizedRequest
public synchronized QueryEvaluator getOptimizedRequest(MethodCmp2Desc methodDesc) throws MedorException(Code)
It retrieves a medor request which is evaluable and optimized. The method index is translate into a request index, then the found request is optimized if it is not already.
Parameters:
  methodDesc - is the MethodCmp2Desc of the finder or select method. the QueryTree optimized which is associated to the method index



init
public void init(EntityDesc ed, JContainer c, String mapperName)(Code)



Fields inherited from org.objectweb.jonas_ejb.container.jorm.JormFactory
protected EntityCmp2Desc ecd(Code)(Java Doc)
protected boolean mapped(Code)(Java Doc)
protected PMapper mapper(Code)(Java Doc)
protected int relNonInit(Code)(Java Doc)

Methods inherited from org.objectweb.jonas_ejb.container.jorm.JormFactory
public void configurePnc(String n, PNamingContext pnc, JormFactory target, boolean isMultiple) throws PException(Code)(Java Doc)
protected org.objectweb.jonas_ejb.container.JEntityContext createNewContext(EntityBean bean)(Code)(Java Doc)
public Serializable decodePK(Serializable strpk)(Code)(Java Doc)
public Serializable encodePK(Serializable pk)(Code)(Java Doc)
abstract public Object getConnection(Object hints) throws PException(Code)(Java Doc)
public JEntitySwitch getJEntitySwitch()(Code)(Java Doc)
public PMapper getMapper()(Code)(Java Doc)
public void init(EntityDesc ed, JContainer c, String mapperName)(Code)(Java Doc)
abstract protected void initGenClassPrefetch(PClassMapping gcm, PClassMapping targetPCM)(Code)(Java Doc)
protected PClassMapping newGCMInstance(String mapperName) throws Exception(Code)(Java Doc)
abstract public void releaseConnection(Object conn) throws PException(Code)(Java Doc)
abstract protected void setMapper(String mapperName) throws PException(Code)(Java Doc)
public void stop()(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.