Java Doc for JDBCStoreManager.java in  » EJB-Server-JBoss-4.2.1 » server » org » jboss » ejb » plugins » cmp » jdbc » 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 » EJB Server JBoss 4.2.1 » server » org.jboss.ejb.plugins.cmp.jdbc 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager

JDBCStoreManager
final public class JDBCStoreManager implements JDBCEntityPersistenceStore(Code)
JDBCStoreManager manages storage of persistence data into a table. Other then loading the initial jbosscmp-jdbc.xml file this class does very little. The interesting tasks are performed by the command classes. Life-cycle: Tied to the life-cycle of the entity container. Multiplicity: One per cmp entity bean. This could be less if another implementaion of EntityPersistenceStore is created and thoes beans use the implementation
author:
   Dain Sundstrom
author:
   Alex Loubyansky
See Also:   org.jboss.ejb.EntityPersistenceStore
version:
   $Revision: 57209 $




Method Summary
public  voidactivateEntity(EntityEnterpriseContext ctx)
    
public  voidcreate()
     Does almost nothing because other services such as JDBC data sources may not have been started.
public  ObjectcreateBeanClassInstance()
     Returns a new instance of a class which implemnts the bean class.
public  ObjectcreateEntity(Method createMethod, Object[] args, EntityEnterpriseContext ctx)
    
public  voiddestroy()
    
public  CollectionfindEntities(Method finderMethod, Object[] args, EntityEnterpriseContext ctx, GenericEntityObjectFactory factory)
    
public  ObjectfindEntity(Method finderMethod, Object[] args, EntityEnterpriseContext ctx, GenericEntityObjectFactory factory)
    
public  ObjectgetApplicationData(Object key)
    
public  MapgetApplicationDataMap()
    
public  ObjectgetApplicationTxData(Object key)
    
public  CataloggetCatalog()
    
public  JDBCCommandFactorygetCommandFactory()
    
public  EntityContainergetContainer()
     Gets the container for this entity.
public  JDBCAbstractEntityBridgegetEntityBridge()
    
public  ObjectgetEntityTxData(Object key)
    
public  JDBCTypeFactorygetJDBCTypeFactory()
    
public  JDBCEntityMetaDatagetMetaData()
    
public  JDBCQueryManagergetQueryManager()
    
public  ReadAheadCachegetReadAheadCache()
    
public  voidinitEntity(EntityEnterpriseContext ctx)
    
public  booleanisModified(EntityEnterpriseContext ctx)
    
public  booleanisStoreRequired(EntityEnterpriseContext ctx)
    
public  voidloadEntity(EntityEnterpriseContext ctx)
     Loads entity.
public  booleanloadEntity(EntityEnterpriseContext ctx, boolean failIfNotFound)
    
public  voidloadField(JDBCCMPFieldBridge field, EntityEnterpriseContext ctx)
    
public  CollectionloadRelation(JDBCCMRFieldBridge cmrField, Object pk)
    
public  voidpassivateEntity(EntityEnterpriseContext ctx)
    
public  ObjectpostCreateEntity(Method createMethod, Object[] args, EntityEnterpriseContext ctx)
    
public  voidputApplicationData(Object key, Object value)
    
public  voidputApplicationTxData(Object key, Object value)
    
public  voidputEntityTxData(Object key, Object value)
    
public  voidremoveEntity(EntityEnterpriseContext ctx)
    
public  voidremoveEntityTxData(Object key)
    
public  voidscheduleCascadeDelete(List pks)
    
public  voidsetContainer(Container container)
     Sets the container for this entity.
public  voidstart()
    
public  voidstop()
    
public  voidstoreEntity(EntityEnterpriseContext ctx)
    
public  booleanunscheduledCascadeDelete(Object pk)
     Unschedules instance cascade delete.
Parameters:
  pk - instance primary key.



Method Detail
activateEntity
public void activateEntity(EntityEnterpriseContext ctx)(Code)



create
public void create() throws Exception(Code)
Does almost nothing because other services such as JDBC data sources may not have been started.



createBeanClassInstance
public Object createBeanClassInstance() throws Exception(Code)
Returns a new instance of a class which implemnts the bean class. the new instance



createEntity
public Object createEntity(Method createMethod, Object[] args, EntityEnterpriseContext ctx) throws CreateException(Code)



destroy
public void destroy()(Code)



findEntities
public Collection findEntities(Method finderMethod, Object[] args, EntityEnterpriseContext ctx, GenericEntityObjectFactory factory) throws FinderException(Code)



findEntity
public Object findEntity(Method finderMethod, Object[] args, EntityEnterpriseContext ctx, GenericEntityObjectFactory factory) throws FinderException(Code)



getApplicationData
public Object getApplicationData(Object key)(Code)



getApplicationDataMap
public Map getApplicationDataMap()(Code)



getApplicationTxData
public Object getApplicationTxData(Object key)(Code)



getCatalog
public Catalog getCatalog()(Code)



getCommandFactory
public JDBCCommandFactory getCommandFactory()(Code)



getContainer
public EntityContainer getContainer()(Code)
Gets the container for this entity. the container for this entity; null if container has not been set



getEntityBridge
public JDBCAbstractEntityBridge getEntityBridge()(Code)



getEntityTxData
public Object getEntityTxData(Object key)(Code)



getJDBCTypeFactory
public JDBCTypeFactory getJDBCTypeFactory()(Code)



getMetaData
public JDBCEntityMetaData getMetaData()(Code)



getQueryManager
public JDBCQueryManager getQueryManager()(Code)



getReadAheadCache
public ReadAheadCache getReadAheadCache()(Code)



initEntity
public void initEntity(EntityEnterpriseContext ctx)(Code)



isModified
public boolean isModified(EntityEnterpriseContext ctx)(Code)



isStoreRequired
public boolean isStoreRequired(EntityEnterpriseContext ctx)(Code)



loadEntity
public void loadEntity(EntityEnterpriseContext ctx)(Code)
Loads entity. If entity not found NoSuchEntityException is thrown.
Parameters:
  ctx - - entity context.



loadEntity
public boolean loadEntity(EntityEnterpriseContext ctx, boolean failIfNotFound)(Code)



loadField
public void loadField(JDBCCMPFieldBridge field, EntityEnterpriseContext ctx)(Code)



loadRelation
public Collection loadRelation(JDBCCMRFieldBridge cmrField, Object pk)(Code)



passivateEntity
public void passivateEntity(EntityEnterpriseContext ctx)(Code)



postCreateEntity
public Object postCreateEntity(Method createMethod, Object[] args, EntityEnterpriseContext ctx)(Code)



putApplicationData
public void putApplicationData(Object key, Object value)(Code)



putApplicationTxData
public void putApplicationTxData(Object key, Object value)(Code)



putEntityTxData
public void putEntityTxData(Object key, Object value)(Code)



removeEntity
public void removeEntity(EntityEnterpriseContext ctx) throws RemoveException, RemoteException(Code)



removeEntityTxData
public void removeEntityTxData(Object key)(Code)



scheduleCascadeDelete
public void scheduleCascadeDelete(List pks)(Code)
Schedules instances for cascade-delete



setContainer
public void setContainer(Container container)(Code)
Sets the container for this entity.
Parameters:
  container - the container for this entity
throws:
  ClassCastException - if the container is not an instance ofEntityContainer



start
public void start() throws Exception(Code)
Bring the store to a fully initialized state



stop
public void stop()(Code)



storeEntity
public void storeEntity(EntityEnterpriseContext ctx)(Code)



unscheduledCascadeDelete
public boolean unscheduledCascadeDelete(Object pk)(Code)
Unschedules instance cascade delete.
Parameters:
  pk - instance primary key. true if the instance was scheduled for cascade deleted.



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.