User: user57
Date: 02/01/02 20:00:55
Modified: varia/src/main/org/jboss/jdbc HypersonicDatabase.java
HypersonicDatabaseMBean.java
Log:
o migrated all components to a new JMX domain name model. jboss.system
is now where to core/spine components live. moved all components that
were in JBOSS-SYSTEM that did not move into a jboss.* domain into
jboss (where the server is now registered). The point was to limit the
members of jboss.system to core bits only.
o Created org.jboss.system.Server, which does the work of initialization
that org.jboss.Main used to do. Main now only parses the command line,
sets up basic legecy properties and creates a Server instance.
o Moved functionality of Shutdown (component not cl tool) into Server (
which is bound as jboss.system:service=Server)
o Moved more Runtime access from Info into Server. Exposed memory info
as attributes.
o Logging a WARN everywhere that uses System.getProperty("jboss.system.home")
as that should go away soon/eventually.
o Initialized the invokerMap in the harmi impl to avoid NPE
o Made getopt.jar a member of the lib/* dir instead of adding it to the
run.jar and shutdown.jars each time.
o Minor cosmetic changes along the way.
Revision Changes Path
1.8 +2 -1 contrib/varia/src/main/org/jboss/jdbc/HypersonicDatabase.java
Index: HypersonicDatabase.java
===================================================================
RCS file:
/cvsroot/jboss/contrib/varia/src/main/org/jboss/jdbc/HypersonicDatabase.java,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- HypersonicDatabase.java 2001/11/15 11:40:08 1.7
+++ HypersonicDatabase.java 2002/01/03 04:00:55 1.8
@@ -32,7 +32,7 @@
* @author <a href="mailto:[EMAIL PROTECTED]">Rickard �berg</a>
* @author <a href="mailto:[EMAIL PROTECTED]">Scott Stark</a>.
* @author <a href="mailto:[EMAIL PROTECTED]">Peter Fagerlund</a>
- * @version $Revision: 1.7 $
+ * @version $Revision: 1.8 $
*/
public class HypersonicDatabase extends ServiceMBeanSupport implements
HypersonicDatabaseMBean, MBeanRegistration {
// Constants -----------------------------------------------------
@@ -148,6 +148,7 @@
// do the right thing == use defaults
}
// Get DB directory
+ log.warn("using jboss.system.home property");
jbossHomeDir = new File(System.getProperty("jboss.system.home"));
dbName = new File(jbossHomeDir, "db" + File.separator + "hypersonic" +
File.separator + name);
// Start DB in new thread, or else it will block us
1.4 +2 -2
contrib/varia/src/main/org/jboss/jdbc/HypersonicDatabaseMBean.java
Index: HypersonicDatabaseMBean.java
===================================================================
RCS file:
/cvsroot/jboss/contrib/varia/src/main/org/jboss/jdbc/HypersonicDatabaseMBean.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- HypersonicDatabaseMBean.java 2001/11/15 11:40:08 1.3
+++ HypersonicDatabaseMBean.java 2002/01/03 04:00:55 1.4
@@ -12,13 +12,13 @@
*
* @see <related>
* @author <a href="mailto:[EMAIL PROTECTED]">Rickard �berg</a>
- * @version $Revision: 1.3 $
+ * @version $Revision: 1.4 $
*/
public interface HypersonicDatabaseMBean
extends org.jboss.system.ServiceMBean
{
// Constants -----------------------------------------------------
- public static final String OBJECT_NAME = ":service=Hypersonic";
+ public static final String OBJECT_NAME = "jboss:service=Hypersonic";
// Public --------------------------------------------------------
public void setDatabase(String name);
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development