001// 002// NAME 003// ObjectNotifier.java 004// 005// COPYRIGHT 006// Confidential Property of Kabira Technologies, Inc. 007// Copyright 2007, 2009 by Kabira Technologies, Inc. 008// All rights reserved. 009// 010// DESCRIPTION 011// 012// HISTORY 013// $Revision: 1.1.2.83 $ $Date: 2012/04/03 00:11:05 $ 014// 015// WARNINGS 016// THIS FILE IS GENERATED, DO NOT EDIT 017// 018 019package com.kabira.platform.swbuiltin; 020 021import java.util.*; 022import com.kabira.platform.annotation.*; 023 024 025/** 026<p> 027 Locked object notifier 028<p> 029<p> 030This notifier is used to access all locked objects in a 031transaction. The abstract method is called once for 032each locked object in a transaction. 033<p> 034The ObjectNotifier is executed using the 035ObjectServices::runObjectNotifier static method. 036<p> 037Typically, the ObjectNotifier is used in conjunction with 038the TransactionNotifier to process objects at prepare or 039commit time. 040 041 042*/ 043 044@Managed 045public abstract class ObjectNotifier 046{ 047 private static final String _RuntimeType = "swbuiltin::ObjectNotifier"; 048 049/** 050Create a new ObjectNotifier 051 052*/ 053 public ObjectNotifier() 054 { 055 super(); 056 } 057 058 059 /** 060 <p> 061 Called for each object locked in 062 a transaction. 063 064@param obj Object that locked. 065<p> 066 Called for all objects locked 067 in a transaction. 068 069 [ const ] 070 071 */ 072 073 public abstract void inTransaction( 074 final java.lang.Object obj); 075 076}