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

de.tsl2.nano.resource.fs.FsConnectionFactory Maven / Gradle / Ivy

Go to download

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, )

There is a newer version: 2.5.4b
Show newest version
/*
 * 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