public interface PBLifeCycleListener extends PBListener
PersistenceBrokerAware
interface to be notified on persistent method calls via callback.Modifier and Type | Method and Description |
---|---|
void |
afterDelete(PBLifeCycleEvent event)
Called after an object has been deleted by a persistence broker.
|
void |
afterInsert(PBLifeCycleEvent event)
Called after an object instance has been stored by a persistence broker.
|
void |
afterLookup(PBLifeCycleEvent event)
Called after an object has been looked up by a persistence broker.
|
void |
afterUpdate(PBLifeCycleEvent event)
Called after an object has been stored by a persistence broker.
|
void |
beforeDelete(PBLifeCycleEvent event)
Called before an object will be deleted by a persistence broker.
|
void |
beforeInsert(PBLifeCycleEvent event)
Called before an object will be stored by a persistence broker.
|
void |
beforeUpdate(PBLifeCycleEvent event)
Called before an object will be updated by a persistence broker.
|
void beforeInsert(PBLifeCycleEvent event) throws PersistenceBrokerException
event
- The event objectPersistenceBrokerException
void afterInsert(PBLifeCycleEvent event) throws PersistenceBrokerException
event
- The event objectPersistenceBrokerException
void beforeUpdate(PBLifeCycleEvent event) throws PersistenceBrokerException
event
- The event objectPersistenceBrokerException
void afterUpdate(PBLifeCycleEvent event) throws PersistenceBrokerException
event
- The event objectPersistenceBrokerException
void beforeDelete(PBLifeCycleEvent event) throws PersistenceBrokerException
event
- The event objectPersistenceBrokerException
void afterDelete(PBLifeCycleEvent event) throws PersistenceBrokerException
event
- The event objectPersistenceBrokerException
void afterLookup(PBLifeCycleEvent event) throws PersistenceBrokerException
event
- The event objectPersistenceBrokerException
(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