Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
   /*
   * 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(s):
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

Parameters:
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

Returns:
value of userName
Jmx:
managed-attribute
 
     public String getUserName();
    
    
    
Set the value of userName

Parameters:
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

Returns:
value of password
Jmx:
managed-attribute
 
     public String getPassword();
    
    
    
Set the value of password

Parameters:
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

Returns:
value of createOnStart
Jmx:
managed-attribute
    public boolean isCreateOnStart();
    
    
Set the value of createOnStart

Parameters:
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

Returns:
value of dropOnStop
Jmx:
managed-attribute
    public boolean isDropOnStop();
    
    
    
Set the value of dropOnStop

Parameters:
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 filenameString userString passwordthrows Exception;
    public void dropDatabase(String fileNameString userString passwordthrows Exception;
    
    public boolean isDatabaseExists(String fileNameString userString passwordthrows Exception;
New to GrepCode? Check out our FAQ X