org.apache.ojb.broker.core.proxy
Interface MaterializationListener

All Known Implementing Classes:
J2EETransactionImpl, TransactionImpl

public interface MaterializationListener

This is a callback interface that allows interaction with the Materialization process of the IndirectionHandler The ODMG TransactionImpl implements this interface to provide a delayed registration mechanism for proxies.

Version:
$Id: MaterializationListener.java 365232 2005-12-21 22:36:07Z tomdz $
Author:
Thomas Mahler

Method Summary
 void afterMaterialization(IndirectionHandler handler, java.lang.Object materializedObject)
          this callback is invoked after an Object is materialized within an IndirectionHandler.
 void beforeMaterialization(IndirectionHandler handler, Identity oid)
          this callback is invoked before an Object is materialized within an IndirectionHandler.
 

Method Detail

beforeMaterialization

void beforeMaterialization(IndirectionHandler handler,
                           Identity oid)
this callback is invoked before an Object is materialized within an IndirectionHandler.

Parameters:
handler - the invoking handler
oid - the identity of the object to be materialized

afterMaterialization

void afterMaterialization(IndirectionHandler handler,
                          java.lang.Object materializedObject)
this callback is invoked after an Object is materialized within an IndirectionHandler.

Parameters:
handler - the invoking handler
materializedObject - the materialized Object


(C) 2002 - 2006 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