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

com.soulwarelabs.jparley.Executor Maven / Gradle / Ivy

The newest version!
/*
 * Project:  jParley-API
 * Outline:  jParley framework API components
 *
 * File:     Executor.java
 * Folder:   /.../com/soulwarelabs/jparley
 * Revision: 1.07, 14 June 2014
 * Created:  09 February 2014
 * Author:   Ilya Gubarev
 *
 * Copyright (c) 2013-2014 Soulware Labs, Ltd.
 * Contact information is available at http://www.soulwarelabs.com
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *       http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package com.soulwarelabs.jparley;

import java.sql.SQLException;

/**
 * SQL subroutines executor.
 * 

* The executor takes control of SQL stored subroutines invocation and * manages required system resources such as SQL connections. *

* Designed to be thread-safe. * * @since v1.0.0 * * @author Ilya Gubarev * @version 14 June 2014 */ public interface Executor { /** * Executes specified SQL stored subroutines. * * @param subroutines SQL subroutines to be executed. * @throws SQLException if error occurs while executing the subroutines. * * @see Subroutine * * @since v1.0.0 */ void call(Subroutine ... subroutines) throws SQLException; }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy