org.codehaus.wadi.impl
Class AbstractImmoter

java.lang.Object
  extended byorg.codehaus.wadi.impl.AbstractImmoter
All Implemented Interfaces:
Immoter, Moter
Direct Known Subclasses:
AbstractMappedImmoter, SharedStoreContextualiser.SharedJDBCImmoter

public abstract class AbstractImmoter
extends Object
implements Immoter

Abstract base for Immoters

Version:
$Revision: 1430 $
Author:
Jules Gosnell

Field Summary
protected static Log _log
           
 
Constructor Summary
AbstractImmoter()
           
 
Method Summary
 void commit(String name, Motable immotable)
           
 boolean contextualise(InvocationContext invocationContext, String id, Motable immotable, Sync motionLock)
           
 boolean prepare(String name, Motable emotable, Motable immotable)
           
 void rollback(String name, Motable immotable)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.codehaus.wadi.Immoter
nextMotable
 
Methods inherited from interface org.codehaus.wadi.Moter
getInfo
 

Field Detail

_log

protected static final Log _log
Constructor Detail

AbstractImmoter

public AbstractImmoter()
Method Detail

prepare

public boolean prepare(String name,
                       Motable emotable,
                       Motable immotable)
Specified by:
prepare in interface Moter

commit

public void commit(String name,
                   Motable immotable)
Specified by:
commit in interface Moter

rollback

public void rollback(String name,
                     Motable immotable)
Specified by:
rollback in interface Moter

contextualise

public boolean contextualise(InvocationContext invocationContext,
                             String id,
                             Motable immotable,
                             Sync motionLock)
                      throws InvocationException
Specified by:
contextualise in interface Immoter
Throws:
InvocationException


Copyright © 2004-2006 Core Developers Network Ltd.. All Rights Reserved.