1 22 package org.jboss.jdbc; 23 24 import javax.management.ObjectName ; 25 26 import org.jboss.mx.util.ObjectNameFactory; 27 import org.jboss.system.ServiceMBean; 28 29 46 public interface HypersonicDatabaseMBean extends ServiceMBean 47 { 48 49 ObjectName OBJECT_NAME = ObjectNameFactory.create("jboss:service=Hypersonic"); 50 51 53 54 boolean getSilent(); 55 void setSilent(boolean silent); 56 57 58 boolean getTrace(); 59 void setTrace(boolean trace); 60 61 62 String getDatabase(); 63 void setDatabase(String name); 64 65 66 int getPort(); 67 void setPort(int port); 68 69 70 String getBindAddress(); 71 void setBindAddress(String address); 72 73 75 boolean getNo_system_exit(); 76 void setNo_system_exit(boolean no_system_exit); 77 78 79 boolean getPersist(); 80 void setPersist(boolean persist); 81 82 83 boolean isInProcessMode(); 84 void setInProcessMode(boolean b); 85 86 87 String getUser(); 88 void setUser(String user); 89 90 91 String getPassword(); 92 void setPassword(String password); 93 94 95 String getShutdownCommand(); 96 void setShutdownCommand(String string); 97 98 99 String getDatabaseManagerClass(); 100 void setDatabaseManagerClass(String databaseManagerClass); 101 102 103 String getDatabasePath(); 104 105 107 110 void startDatabaseManager(); 111 112 } 113 | Popular Tags |