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

de.tsl2.nano.h5.ISystemConnector Maven / Gradle / Ivy

Go to download

TSL2 Framework Html5 Extensions (WebServer, Html5Presentation, RuleCover, BeanConfigurator, LogicTable-Sheet, Expression-Descriptors for Actions, Rules, URLs, Queries)

There is a newer version: 2.5.3
Show newest version
/*
 * File: $HeadURL$
 * Id  : $Id$
 * 
 * created by: Tom, Thomas Schneider
 * created on: 17.05.2014
 * 
 * Copyright: (c) Thomas Schneider 2014, all rights reserved
 */
package de.tsl2.nano.h5;

import java.io.Serializable;

import de.tsl2.nano.bean.def.BeanDefinition;

/**
 * is able to create an object that holds all needed information to connect to a back-end.
 * 
 * @author Tom, Thomas Schneider
 * @version $Revision$
 */
public interface ISystemConnector {
    /**
     * getAuthenticationBean
     * 
     * @return authentication bean
     */
    PERSISTENCE createConnectionInfo();

    /**
     * connect to backend through a persistence provider
     * 
     * @return result - normally a list of available entity beans
     */
    BeanDefinition connect(PERSISTENCE connectionInfo);
    /** does some cleaning on dis-connection */
    void disconnect(PERSISTENCE connectionEnd);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy