All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.prevayler.implementation.Appendix Maven / Gradle / Ivy

The newest version!
//Prevayler(TM) - The Free-Software Prevalence Layer.
//Copyright (C) 2001-2003 Klaus Wuestefeld
//This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

package org.prevayler.implementation;

import java.util.Date;

import org.prevayler.Transaction;


class Appendix implements Transaction {

	private static final long serialVersionUID = 7925676108189989759L;
	private final String appendix;
	
	public void executeOn(Object prevalentSystem, Date ignored) {
		((AppendingSystem)prevalentSystem).append(appendix);
	}

	Appendix(String appendix) {
		this.appendix = appendix;
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy