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

nyla.solutions.global.patterns.Connectable Maven / Gradle / Ivy

Go to download

Nyla Solutions Global Java API provides support for basic application utilities (application configuration, data encryption, debugger and text processing).

The newest version!
package nyla.solutions.global.patterns;

import nyla.solutions.global.exception.ConnectionException;
import nyla.solutions.global.patterns.Disposable;

/**
 * Represents a connect DAO
 * @author Gregory Green
 *
 */
public interface Connectable extends Disposable
{
	/**
	 * 
	 * @return true if is connected
	 */
	boolean isConnected();
	

	
	/**
	 * Establish a connection
	 * @throws ConnectionException
	 */
	void connect()
	throws ConnectionException;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy