org.firebirdsql.management.FBManagerMBean Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jaybird Show documentation
Show all versions of jaybird Show documentation
JDBC Driver for the Firebird RDBMS
/*
* Firebird Open Source J2ee connector - jdbc driver
*
* Distributable under LGPL license.
* You may obtain a copy of the License at http://www.gnu.org/copyleft/lgpl.html
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* LGPL License for more details.
*
* This file was created by members of the firebird development team.
* All individual contributions remain the Copyright (C) of those
* individuals. Contributors to this file are either listed here or
* can be obtained from a CVS history command.
*
* All rights reserved.
*/
package org.firebirdsql.management;
/**
* Describe interface FBManagerMBean
here.
*
* @author David Jencks
* @version 1.0
*/
public interface FBManagerMBean {
public void start()
throws Exception;
public void stop()
throws Exception;
public String getName();
public String getState();
public void setServer(String host);
public String getServer();
public void setPort(int port);
public int getPort();
public String getFileName();
/**
* Set the value of fileName
* @param fileName Value to assign to fileName
*
* @jmx:managed-attribute
*/
public void setFileName(final String fileName);
/**
* mbean get-set pair for field userName
* Get the value of userName
* @return value of userName
*
* @jmx:managed-attribute
*/
public String getUserName();
/**
* Set the value of userName
* @param userName Value to assign to userName
*
* @jmx:managed-attribute
*/
public void setUserName(final String userName);
/**
* mbean get-set pair for field password
* Get the value of password
* @return value of password
*
* @jmx:managed-attribute
*/
public String getPassword();
/**
* Set the value of password
* @param password Value to assign to password
*
* @jmx:managed-attribute
*/
public void setPassword(final String password);
/**
* mbean get-set pair for field createOnStart
* Get the value of createOnStart
* @return value of createOnStart
*
* @jmx:managed-attribute
*/
public boolean isCreateOnStart();
/**
* Set the value of createOnStart
* @param createOnStart Value to assign to createOnStart
*
* @jmx:managed-attribute
*/
public void setCreateOnStart(final boolean createOnStart);
/**
* mbean get-set pair for field dropOnStop
* Get the value of dropOnStop
* @return value of dropOnStop
*
* @jmx:managed-attribute
*/
public boolean isDropOnStop();
/**
* Set the value of dropOnStop
* @param dropOnStop Value to assign to dropOnStop
*
* @jmx:managed-attribute
*/
public void setDropOnStop(final boolean dropOnStop);
public boolean isForceCreate();
public void setForceCreate(boolean forceCreate);
public void createDatabase (String filename, String user, String password) throws Exception;
public void dropDatabase(String fileName, String user, String password) throws Exception;
public boolean isDatabaseExists(String fileName, String user, String password) throws Exception;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy