org.objectweb.cjdbc.controller.backend
Class BackendStateListener

java.lang.Object
  extended byorg.objectweb.cjdbc.controller.backend.BackendStateListener

public class BackendStateListener
extends java.lang.Object

This class defines a BackendStateListener

Version:
1.0
Author:
Nicolas Modrzyk

Field Summary
(package private)  Trace logger
           
private  RecoveryLog recoveryLog
           
private  java.lang.String virtualDatabaseName
           
 
Constructor Summary
BackendStateListener(java.lang.String vdbName, RecoveryLog recoveryLog)
          Creates a new BackendStateListener object
 
Method Summary
 void changeState(DatabaseBackend backend)
          Update the persistent state of the backend in the recovery log
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

Trace logger

virtualDatabaseName

private java.lang.String virtualDatabaseName

recoveryLog

private RecoveryLog recoveryLog
Constructor Detail

BackendStateListener

public BackendStateListener(java.lang.String vdbName,
                            RecoveryLog recoveryLog)
Creates a new BackendStateListener object

Parameters:
vdbName - virtual database name
recoveryLog - recovery log
Method Detail

changeState

public void changeState(DatabaseBackend backend)
Update the persistent state of the backend in the recovery log

Parameters:
backend - the backend to update information from


Copyright © 2002, 2005 - ObjectWeb Consortium - All Rights Reserved.