public interface PersistenceBrokerAware
PBLifeCycleListener interface
to be notified of persistence broker operations.| Modifier and Type | Method and Description |
|---|---|
void |
afterDelete(PersistenceBroker broker)
Is called as the last operation after an object was deleted in the underlying
persistence system.
|
void |
afterInsert(PersistenceBroker broker)
Is called as the last operation after an object was inserted into the underlying
persistence system.
|
void |
afterLookup(PersistenceBroker broker)
Is called as the last operation after an object was retrieved from the underlying
persistence system via a call to the
getObjectByXXX() or
getCollectionByXXX()/getIteratorByXXX() methods in
PersistenceBroker. |
void |
afterUpdate(PersistenceBroker broker)
Is called as the last operation after an object was updated in the underlying
persistence system.
|
void |
beforeDelete(PersistenceBroker broker)
Is called as the first operation before an object is deleted in the underlying
persistence system.
|
void |
beforeInsert(PersistenceBroker broker)
Is called as the first operation before an object is inserted into the underlying
persistence system.
|
void |
beforeUpdate(PersistenceBroker broker)
Is called as the first operation before an object is updated in the underlying
persistence system.
|
void beforeUpdate(PersistenceBroker broker) throws PersistenceBrokerException
broker - The persistence broker performing the persistence operationPersistenceBrokerExceptionvoid afterUpdate(PersistenceBroker broker) throws PersistenceBrokerException
broker - The persistence broker performed the persistence operationPersistenceBrokerExceptionvoid beforeInsert(PersistenceBroker broker) throws PersistenceBrokerException
broker - The persistence broker performing the persistence operationPersistenceBrokerExceptionvoid afterInsert(PersistenceBroker broker) throws PersistenceBrokerException
broker - The persistence broker performing the persistence operationPersistenceBrokerExceptionvoid beforeDelete(PersistenceBroker broker) throws PersistenceBrokerException
broker - The persistence broker performing the persistence operationPersistenceBrokerExceptionvoid afterDelete(PersistenceBroker broker) throws PersistenceBrokerException
broker - The persistence broker performing the persistence operationPersistenceBrokerExceptionvoid afterLookup(PersistenceBroker broker) throws PersistenceBrokerException
getObjectByXXX() or
getCollectionByXXX()/getIteratorByXXX() methods in
PersistenceBroker.broker - The persistence broker performing the persistence operationPersistenceBrokerException(C) 2002 - 2005 Apache Software Foundation
All rights reserved. Published under the Apache License 2.0.
http://db.apache.org/ojb
Version: 1.0.4, 2005-12-30