Java Doc for PersistenceBrokerImpl.java in  » Database-ORM » db-ojb » org » apache » ojb » broker » core » 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 » Database ORM » db ojb » org.apache.ojb.broker.core 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.apache.ojb.broker.core.PersistenceBrokerAbstractImpl
      org.apache.ojb.broker.core.PersistenceBrokerImpl

All known Subclasses:   org.apache.ojb.broker.prevayler.PBPrevaylerImpl,
PersistenceBrokerImpl
public class PersistenceBrokerImpl extends PersistenceBrokerAbstractImpl implements PBState(Code)
The PersistenceBrokerImpl is an implementation of the PersistenceBroker Interface that specifies a persistence mechanism for Java objects. This Concrete implementation provides an object relational mapping and allows to store and retrieve arbitrary objects in/from relational databases accessed by JDBC.
author:
   Thomas Mahler
author:
  
Leandro Rodrigo Saad Cruz
author:
  
Matthew Baird
author:
  
Jakob Braeuchi
version:
   $Id: PersistenceBrokerImpl.java,v 1.83.2.30 2005/12/13 18:21:23 arminw Exp $


Field Summary
protected  BrokerHelperbrokerHelper
    
protected  MtoNBrokermtoNBroker
    
protected  PersistenceBrokerFactoryIFpbf
    
protected  QueryReferenceBrokerreferencesBroker
    

Constructor Summary
public  PersistenceBrokerImpl(PBKey key, PersistenceBrokerFactoryIF pbf)
     Constructor used by PersistenceBrokerFactoryIF implementation.

Method Summary
public synchronized  voidabortTransaction()
     Abort and close the transaction.
public  voidaddMtoNImplementor(MtoNImplementor m2n)
    
public synchronized  voidbeginTransaction()
     begin a transaction against the underlying RDBMS.
public  voidcheckRefreshRelationships(Object obj, Identity oid, ClassDescriptor cld)
     Check if the references of the specified object have enabled the refresh attribute and refresh the reference if set true.
public  voidclearCache()
     clears the brokers internal cache. removing is recursive.
public  booleanclose()
    
public synchronized  voidcommitTransaction()
     Commit and close the transaction.
public  ObjectcreateProxy(Class baseClassForProxy, Identity realSubjectsIdentity)
     Creates a proxy instance.
Parameters:
  baseClassForProxy - The base class that the Proxy should extend.
public  voiddelete(Object obj, boolean ignoreReferences)
     Deletes the concrete representation of the specified object in the underlying persistence system.
public  voiddelete(Object obj)
    
public  voiddeleteByQuery(Query query)
    
public  voiddeleteMtoNImplementor(MtoNImplementor m2nImpl)
    
public  voiddestroy()
     Release all resources used by this class - CAUTION: No further operations can be done with this instance after calling this method.
public  ObjectdoGetObjectByIdentity(Identity id)
     Internal used method to retrieve object based on Identity.
protected  voidfinalize()
    
public  ClassDescriptorgetClassDescriptor(Class clazz)
     returns a ClassDescriptor for the persistence capable class clazz. throws a PersistenceBrokerException if clazz is not persistence capable, i.e.
public  ManageableCollectiongetCollectionByQuery(Class collectionClass, Query query)
    
public  CollectiongetCollectionByQuery(Query query)
    
public  intgetCount(Query query)
    
public  DescriptorRepositorygetDescriptorRepository()
    
public  MaterializationCachegetInternalCache()
    
public  IteratorgetIteratorByQuery(Query query)
     returns an Iterator that iterates Objects of class c if calling the .next() method.
protected  OJBIteratorgetIteratorFromQuery(Query query, ClassDescriptor cld)
    
public  ObjectgetObjectByIdentity(Identity id)
    
public  ObjectgetObjectByQuery(Query query)
     retrieve an Object by query I.e perform a SELECT ...
public  PBKeygetPBKey()
    
public  EnumerationgetPKEnumerationByQuery(Class primaryKeyClass, Query query)
     returns an Enumeration of PrimaryKey Objects for objects of class DataClass. The Elements returned come from a SELECT ...
public  ProxyFactorygetProxyFactory()
    
public  QueryReferenceBrokergetReferenceBroker()
    
public  RelationshipPrefetcherFactorygetRelationshipPrefetcherFactory()
    
public  IteratorgetReportQueryIteratorByQuery(Query query)
    
public  ClassgetTopLevelClass(Class clazz)
    
public  booleanhasClassDescriptor(Class clazz)
    
public  booleanisClosed()
    
public  booleanisInTransaction()
     returns true if the broker is currently running a transaction.
public  booleanisManaged()
     If true this instance is handled by a managed environment - registered within a JTA transaction.
public  voidlink(Object targetObject, ClassDescriptor cld, ObjectReferenceDescriptor rds, Object referencedObject, boolean insert)
     Assign FK value to target object by reading PK values of referenced object.
public  voidlinkMtoN(Object obj, CollectionDescriptor cod, boolean insert)
     Assign FK values and store entries in indirection table for all objects referenced by given object.
public  voidlinkOneToMany(Object obj, CollectionDescriptor cod, boolean insert)
     Assign FK value to all n-side objects referenced by given object.
public  voidlinkOneToOne(Object obj, ClassDescriptor cld, ObjectReferenceDescriptor rds, boolean insert)
     Assign FK value of main object with PK values of the reference object.
public  org.odbms.Queryquery()
    
public  voidrefresh()
     Lookup the current DescriptorRepository for this class.
public  voidremoveFromCache(Object objectOrIdentity)
    
public  voidretrieveAllReferences(Object pInstance)
     Retrieve all References (also Collection-attributes) of a given instance.
public  voidretrieveReference(Object pInstance, String pAttributeName)
     retrieve a single reference- or collection attribute of a persistent instance.
public  BrokerHelperserviceBrokerHelper()
    
public  ConnectionManagerIFserviceConnectionManager()
    
public  IdentityFactoryserviceIdentity()
    
public  JdbcAccessserviceJdbcAccess()
    
public  ObjectCacheserviceObjectCache()
    
public  SequenceManagerserviceSequenceManager()
    
public  SqlGeneratorserviceSqlGenerator()
    
public  StatementManagerIFserviceStatementManager()
    
public  voidsetClosed(boolean closed)
    
public  voidsetInTransaction(boolean inTransaction)
    
public  voidsetManaged(boolean managed)
     Set true if this instance is registered within a JTA transaction.
public  voidsetPBKey(PBKey key)
    
public  voidstore(Object obj)
     Store an Object.
public  voidstore(Object obj, Identity oid, ClassDescriptor cld, boolean insert, boolean ignoreReferences)
     Method which start the real store work (insert or update) and is intended for use by top-level api or internal calls.
Parameters:
  obj - The object to store.
Parameters:
  oid - The Identity of the object to store.
Parameters:
  cld - The org.apache.ojb.broker.metadata.ClassDescriptor of the object.
Parameters:
  insert - If true an insert operation will be performed, else update operation.
Parameters:
  ignoreReferences - With this flag the automatic storing/linkingof references can be suppressed (independent of the used auto-update setting in metadata),except org.apache.ojb.broker.metadata.SuperReferenceDescriptorthese kind of reference (descriptor) will always be performed.
protected  voidstore(Object obj, Identity oid, ClassDescriptor cld, boolean insert)
     Internal used method which start the real store work.
public  voidstore(Object obj, ObjectModification mod)
     Makes object obj persistent in the underlying persistence system. E.G.
public  voidunlinkFK(Object targetObject, ClassDescriptor cld, ObjectReferenceDescriptor rds)
     Unkink FK fields of target object.
public  voidunlinkXtoN(Object obj, CollectionDescriptor col)
    

Field Detail
brokerHelper
protected BrokerHelper brokerHelper(Code)



mtoNBroker
protected MtoNBroker mtoNBroker(Code)



pbf
protected PersistenceBrokerFactoryIF pbf(Code)



referencesBroker
protected QueryReferenceBroker referencesBroker(Code)




Constructor Detail
PersistenceBrokerImpl
public PersistenceBrokerImpl(PBKey key, PersistenceBrokerFactoryIF pbf)(Code)
Constructor used by PersistenceBrokerFactoryIF implementation.




Method Detail
abortTransaction
public synchronized void abortTransaction() throws TransactionNotInProgressException(Code)
Abort and close the transaction. Calling abort abandons all persistent object modifications and releases the associated locks. If transaction is not in progress a TransactionNotInProgressException is thrown



addMtoNImplementor
public void addMtoNImplementor(MtoNImplementor m2n) throws PersistenceBrokerException(Code)

See Also:   org.apache.ojb.broker.PersistenceBroker.addMtoNImplementor



beginTransaction
public synchronized void beginTransaction() throws TransactionInProgressException, TransactionAbortedException(Code)
begin a transaction against the underlying RDBMS. Calling beginTransaction multiple times, without an intervening call to commitTransaction or abortTransaction, causes the exception TransactionInProgressException to be thrown on the second and subsequent calls.



checkRefreshRelationships
public void checkRefreshRelationships(Object obj, Identity oid, ClassDescriptor cld)(Code)
Check if the references of the specified object have enabled the refresh attribute and refresh the reference if set true.
throws:
  PersistenceBrokerException - if there is a error refreshing collections or references
Parameters:
  obj - The object to check.
Parameters:
  oid - The Identity of the object.
Parameters:
  cld - The org.apache.ojb.broker.metadata.ClassDescriptor of the object.



clearCache
public void clearCache() throws PersistenceBrokerException(Code)
clears the brokers internal cache. removing is recursive. That is referenced Objects are also removed from the cache, if the auto-retrieve flag is set for obj.getClass() in the metadata repository.



close
public boolean close()(Code)

See Also:   org.apache.ojb.broker.PersistenceBroker.close



commitTransaction
public synchronized void commitTransaction() throws TransactionNotInProgressException, TransactionAbortedException(Code)
Commit and close the transaction. Calling commit commits to the database all UPDATE, INSERT and DELETE statements called within the transaction and releases any locks held by the transaction. If beginTransaction() has not been called before a TransactionNotInProgressException exception is thrown. If the transaction cannot be commited a TransactionAbortedException exception is thrown.



createProxy
public Object createProxy(Class baseClassForProxy, Identity realSubjectsIdentity)(Code)
Creates a proxy instance.
Parameters:
  baseClassForProxy - The base class that the Proxy should extend. For dynamic Proxies, the method of generation is dependent on the ProxyFactory implementation.
Parameters:
  realSubjectsIdentity - The identity of the subject An instance of the proxy subclass
throws:
  PersistenceBrokerException - If there is an error creating the proxy object



delete
public void delete(Object obj, boolean ignoreReferences) throws PersistenceBrokerException(Code)
Deletes the concrete representation of the specified object in the underlying persistence system. This method is intended for use in top-level api or by internal calls.
Parameters:
  obj - The object to delete.
Parameters:
  ignoreReferences - With this flag the automatic deletion/unlinkingof references can be suppressed (independent of the used auto-delete setting in metadata),except org.apache.ojb.broker.metadata.SuperReferenceDescriptorthese kind of reference (descriptor) will always be performed. If trueall "normal" referenced objects will be ignored, only the specified object is handled.
throws:
  PersistenceBrokerException -



delete
public void delete(Object obj) throws PersistenceBrokerException(Code)

See Also:   org.apache.ojb.broker.PersistenceBroker.delete



deleteByQuery
public void deleteByQuery(Query query) throws PersistenceBrokerException(Code)

See Also:   org.apache.ojb.broker.PersistenceBroker.deleteByQuery(Query)



deleteMtoNImplementor
public void deleteMtoNImplementor(MtoNImplementor m2nImpl) throws PersistenceBrokerException(Code)

See Also:   org.apache.ojb.broker.PersistenceBroker.deleteMtoNImplementor



destroy
public void destroy()(Code)
Release all resources used by this class - CAUTION: No further operations can be done with this instance after calling this method.



doGetObjectByIdentity
public Object doGetObjectByIdentity(Identity id) throws PersistenceBrokerException(Code)
Internal used method to retrieve object based on Identity.
Parameters:
  id -
throws:
  PersistenceBrokerException -



finalize
protected void finalize()(Code)



getClassDescriptor
public ClassDescriptor getClassDescriptor(Class clazz) throws PersistenceBrokerException(Code)
returns a ClassDescriptor for the persistence capable class clazz. throws a PersistenceBrokerException if clazz is not persistence capable, i.e. if clazz is not defined in the DescriptorRepository.



getCollectionByQuery
public ManageableCollection getCollectionByQuery(Class collectionClass, Query query) throws PersistenceBrokerException(Code)
retrieve a collection of type collectionClass matching the Query query
See Also:   org.apache.ojb.broker.PersistenceBroker.getCollectionByQuery(ClassQuery)



getCollectionByQuery
public Collection getCollectionByQuery(Query query) throws PersistenceBrokerException(Code)
retrieve a collection of itemClass Objects matching the Query query



getCount
public int getCount(Query query) throws PersistenceBrokerException(Code)

See Also:   org.apache.ojb.broker.PersistenceBroker.getCount(Query)



getDescriptorRepository
public DescriptorRepository getDescriptorRepository()(Code)
DescriptorRepository



getInternalCache
public MaterializationCache getInternalCache()(Code)



getIteratorByQuery
public Iterator getIteratorByQuery(Query query) throws PersistenceBrokerException(Code)
returns an Iterator that iterates Objects of class c if calling the .next() method. The Elements returned come from a SELECT ... WHERE Statement that is defined by the Query query. If itemProxy is null, no proxies are used.



getIteratorFromQuery
protected OJBIterator getIteratorFromQuery(Query query, ClassDescriptor cld) throws PersistenceBrokerException(Code)
Get an extent aware Iterator based on the Query
Parameters:
  query -
Parameters:
  cld - the ClassDescriptor OJBIterator



getObjectByIdentity
public Object getObjectByIdentity(Identity id) throws PersistenceBrokerException(Code)



getObjectByQuery
public Object getObjectByQuery(Query query) throws PersistenceBrokerException(Code)
retrieve an Object by query I.e perform a SELECT ... FROM ... WHERE ... in an RDBMS



getPBKey
public PBKey getPBKey()(Code)



getPKEnumerationByQuery
public Enumeration getPKEnumerationByQuery(Class primaryKeyClass, Query query) throws PersistenceBrokerException(Code)
returns an Enumeration of PrimaryKey Objects for objects of class DataClass. The Elements returned come from a SELECT ... WHERE Statement that is defined by the fields and their coresponding values of listFields and listValues. Useful for EJB Finder Methods...
Parameters:
  primaryKeyClass - the pk class for the searched objects
Parameters:
  query - the query



getProxyFactory
public ProxyFactory getProxyFactory()(Code)



getReferenceBroker
public QueryReferenceBroker getReferenceBroker()(Code)



getRelationshipPrefetcherFactory
public RelationshipPrefetcherFactory getRelationshipPrefetcherFactory()(Code)



getReportQueryIteratorByQuery
public Iterator getReportQueryIteratorByQuery(Query query) throws PersistenceBrokerException(Code)
Get an Iterator based on the ReportQuery
Parameters:
  query - Iterator



getTopLevelClass
public Class getTopLevelClass(Class clazz) throws PersistenceBrokerException(Code)

See Also:   org.apache.ojb.broker.PersistenceBroker.getTopLevelClass



hasClassDescriptor
public boolean hasClassDescriptor(Class clazz)(Code)



isClosed
public boolean isClosed()(Code)



isInTransaction
public boolean isInTransaction()(Code)
returns true if the broker is currently running a transaction. boolean



isManaged
public boolean isManaged()(Code)
If true this instance is handled by a managed environment - registered within a JTA transaction.



link
public void link(Object targetObject, ClassDescriptor cld, ObjectReferenceDescriptor rds, Object referencedObject, boolean insert)(Code)
Assign FK value to target object by reading PK values of referenced object.
Parameters:
  targetObject - real (non-proxy) target object
Parameters:
  cld - ClassDescriptor of the real target object
Parameters:
  rds - An ObjectReferenceDescriptor or CollectionDescriptorassociated with the real object.
Parameters:
  referencedObject - referenced object or proxy
Parameters:
  insert - Show if "linking" is done while insert or update.



linkMtoN
public void linkMtoN(Object obj, CollectionDescriptor cod, boolean insert)(Code)
Assign FK values and store entries in indirection table for all objects referenced by given object.
Parameters:
  obj - real object with 1:n reference
Parameters:
  cod - CollectionDescriptor of referenced 1:n objects
Parameters:
  insert - flag signal insert operation, false signals update operation



linkOneToMany
public void linkOneToMany(Object obj, CollectionDescriptor cod, boolean insert)(Code)
Assign FK value to all n-side objects referenced by given object.
Parameters:
  obj - real object with 1:n reference
Parameters:
  cod - CollectionDescriptor of referenced 1:n objects
Parameters:
  insert - flag signal insert operation, false signals update operation



linkOneToOne
public void linkOneToOne(Object obj, ClassDescriptor cld, ObjectReferenceDescriptor rds, boolean insert)(Code)
Assign FK value of main object with PK values of the reference object.
Parameters:
  obj - real object with reference (proxy) object (or real object with set FK values on insert)
Parameters:
  cld - ClassDescriptor of the real object
Parameters:
  rds - An ObjectReferenceDescriptor of real object.
Parameters:
  insert - Show if "linking" is done while insert or update.



query
public org.odbms.Query query()(Code)

See Also:   org.odbms.ObjectContainer.query



refresh
public void refresh()(Code)
Lookup the current DescriptorRepository for this class. This method is responsible to keep this PB instance in sync with MetadataManager .



removeFromCache
public void removeFromCache(Object objectOrIdentity) throws PersistenceBrokerException(Code)

See Also:   org.apache.ojb.broker.PersistenceBroker.removeFromCache



retrieveAllReferences
public void retrieveAllReferences(Object pInstance) throws PersistenceBrokerException(Code)
Retrieve all References (also Collection-attributes) of a given instance. Loading is forced, even if the collection- and reference-descriptors differ.
Parameters:
  pInstance - the persistent instance to work with



retrieveReference
public void retrieveReference(Object pInstance, String pAttributeName) throws PersistenceBrokerException(Code)
retrieve a single reference- or collection attribute of a persistent instance.
Parameters:
  pInstance - the persistent instance
Parameters:
  pAttributeName - the name of the Attribute to load



serviceBrokerHelper
public BrokerHelper serviceBrokerHelper()(Code)



serviceConnectionManager
public ConnectionManagerIF serviceConnectionManager()(Code)



serviceIdentity
public IdentityFactory serviceIdentity()(Code)



serviceJdbcAccess
public JdbcAccess serviceJdbcAccess()(Code)



serviceObjectCache
public ObjectCache serviceObjectCache()(Code)



serviceSequenceManager
public SequenceManager serviceSequenceManager()(Code)



serviceSqlGenerator
public SqlGenerator serviceSqlGenerator()(Code)



serviceStatementManager
public StatementManagerIF serviceStatementManager()(Code)



setClosed
public void setClosed(boolean closed)(Code)



setInTransaction
public void setInTransaction(boolean inTransaction)(Code)



setManaged
public void setManaged(boolean managed)(Code)
Set true if this instance is registered within a JTA transaction. On PersistenceBrokerImpl.close() call this flag was reset to false automatic.



setPBKey
public void setPBKey(PBKey key)(Code)



store
public void store(Object obj) throws PersistenceBrokerException(Code)
Store an Object.
See Also:   org.apache.ojb.broker.PersistenceBroker.store(Object)



store
public void store(Object obj, Identity oid, ClassDescriptor cld, boolean insert, boolean ignoreReferences)(Code)
Method which start the real store work (insert or update) and is intended for use by top-level api or internal calls.
Parameters:
  obj - The object to store.
Parameters:
  oid - The Identity of the object to store.
Parameters:
  cld - The org.apache.ojb.broker.metadata.ClassDescriptor of the object.
Parameters:
  insert - If true an insert operation will be performed, else update operation.
Parameters:
  ignoreReferences - With this flag the automatic storing/linkingof references can be suppressed (independent of the used auto-update setting in metadata),except org.apache.ojb.broker.metadata.SuperReferenceDescriptorthese kind of reference (descriptor) will always be performed. If trueall "normal" referenced objects will be ignored, only the specified object is handled.



store
protected void store(Object obj, Identity oid, ClassDescriptor cld, boolean insert)(Code)
Internal used method which start the real store work.



store
public void store(Object obj, ObjectModification mod) throws PersistenceBrokerException(Code)
Makes object obj persistent in the underlying persistence system. E.G. by INSERT INTO ... or UPDATE ... in an RDBMS. The ObjectModification parameter can be used to determine whether INSERT or update is to be used. This functionality is typically called from transaction managers, that track which objects have to be stored. If the object is an unmaterialized proxy the method return immediately.



unlinkFK
public void unlinkFK(Object targetObject, ClassDescriptor cld, ObjectReferenceDescriptor rds)(Code)
Unkink FK fields of target object.
Parameters:
  targetObject - real (non-proxy) target object
Parameters:
  cld - ClassDescriptor of the real target object
Parameters:
  rds - An ObjectReferenceDescriptor or CollectionDescriptorassociated with the real object.



unlinkXtoN
public void unlinkXtoN(Object obj, CollectionDescriptor col)(Code)



Fields inherited from org.apache.ojb.broker.core.PersistenceBrokerAbstractImpl
final protected PBStateEvent AFTER_BEGIN_EVENT(Code)(Java Doc)
final protected PBStateEvent AFTER_COMMIT_EVENT(Code)(Java Doc)
protected PBLifeCycleEvent AFTER_DELETE_EVENT(Code)(Java Doc)
protected PBLifeCycleEvent AFTER_LOOKUP_EVENT(Code)(Java Doc)
final protected PBStateEvent AFTER_OPEN_EVENT(Code)(Java Doc)
final protected PBStateEvent AFTER_ROLLBACK_EVENT(Code)(Java Doc)
protected PBLifeCycleEvent AFTER_STORE_EVENT(Code)(Java Doc)
protected PBLifeCycleEvent AFTER_UPDATE_EVENT(Code)(Java Doc)
final protected PBStateEvent BEFORE_BEGIN_EVENT(Code)(Java Doc)
final protected PBStateEvent BEFORE_CLOSE_EVENT(Code)(Java Doc)
final protected PBStateEvent BEFORE_COMMIT_EVENT(Code)(Java Doc)
protected PBLifeCycleEvent BEFORE_DELETE_EVENT(Code)(Java Doc)
final protected PBStateEvent BEFORE_ROLLBACK_EVENT(Code)(Java Doc)
protected PBLifeCycleEvent BEFORE_STORE_EVENT(Code)(Java Doc)
protected PBLifeCycleEvent BEFORE_UPDATE_EVENT(Code)(Java Doc)

Methods inherited from org.apache.ojb.broker.core.PersistenceBrokerAbstractImpl
public void addListener(PBListener listener) throws PersistenceBrokerException(Code)(Java Doc)
public void addListener(PBListener listener, boolean permanent) throws PersistenceBrokerException(Code)(Java Doc)
public void configure(Configuration pConfig) throws ConfigurationException(Code)(Java Doc)
protected boolean contains(PBListener[] listeners, PBListener listener)(Code)(Java Doc)
public void fireBrokerEvent(PersistenceBrokerEvent event)(Code)(Java Doc)
public void fireBrokerEvent(PBLifeCycleEvent event)(Code)(Java Doc)
public void fireBrokerEvent(PBStateEvent event)(Code)(Java Doc)
public boolean isTxCheck()(Code)(Java Doc)
public void removeAllListeners(boolean permanent) throws PersistenceBrokerException(Code)(Java Doc)
public void removeAllListeners() throws PersistenceBrokerException(Code)(Java Doc)
public void removeListener(PBListener listener) throws PersistenceBrokerException(Code)(Java Doc)
public void setTxCheck(boolean txCheck)(Code)(Java Doc)

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.