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

org.beigesoft.replicator.service.ISrvEntityWriter Maven / Gradle / Ivy

Go to download

It replicate/persist any entity according XML settings and user's requirements with a file or network (HTTP). Right now it has implemented XML format of stored/transferred data.

The newest version!
package org.beigesoft.replicator.service;

/*
 * Beigesoft ™
 *
 * Licensed under the Apache License, Version 2.0
 *
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 */

import java.util.Map;
import java.io.Writer;

/**
 * 

Service to write a replicable/persistable entity.

* * @author Yury Demidenko */ public interface ISrvEntityWriter { /** *

* Write entity into a stream (writer - file or pass it through network). *

* @param pEntity object * @param pWriter writer * @param pAddParam additional params (e.g. exclude fields set) * @throws Exception - an exception **/ void write(Object pEntity, Writer pWriter, Map pAddParam) throws Exception; }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy