
de.tsl2.nano.resource.fs.FsConnectionFactory Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of tsl2.nano.serviceaccess Show documentation
Show all versions of tsl2.nano.serviceaccess Show documentation
TSL2 JEE Service Access (Generic Services for Entity Access, JEE File-System-Connector, Generic Featuring, Job-Scheduling, BeanContainer, Batch, Comfortable Bean Query Definitions, JAAS, Authentification, Authorization, )
/*
* File: $HeadURL$
* Id : $Id$
*
* created by: Erwin Guib, Thomas Schneider
* created on: Oct 24, 2009
*
* Copyright: (c) Thomas Schneider, all rights reserved
*/
package de.tsl2.nano.resource.fs;
import javax.resource.ResourceException;
/**
* The connection factory for a file system connection.
*
* @author Erwin Guib, Thomas Schneider
* @author Thomas Schneider, Thomas Schneider
* @version $Revision$
*/
public interface FsConnectionFactory {
/**
* constant to be used as rootDir, if no rootDir should be used, but the absolute file path of a given filename on
* {@link FsConnection#getInputStream(String)} and
* {@link FsConnection#writeFile(String, java.io.InputStream, boolean)}.
*
* the rootDirPath is configured and deployed in an fsconnection xml file.
*/
public static final String MODE_ABSOLUTE_PATH = "MODE_ABSOLUTE_PATH";
/**
* Get a connection.
*
* @return the connection.
* @throws ResourceException if failed
*/
FsConnection getConnection() throws ResourceException;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy