[Jboss-cvs] JBossAS SVN: r55202 - in branches/MC_VDF_WORK: system/src/main/org/jboss/system/server system-jmx/src/main/org/jboss/system/server
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Fri Aug 4 12:27:13 EDT 2006
Author: scott.stark at jboss.org
Date: 2006-08-04 12:27:06 -0400 (Fri, 04 Aug 2006)
New Revision: 55202
Added:
branches/MC_VDF_WORK/system-jmx/src/main/org/jboss/system/server/ServerImplMBean.java
Removed:
branches/MC_VDF_WORK/system/src/main/org/jboss/system/server/ServerImplMBean.java
Log:
Move jmx related code to the system-jmx module
Deleted: branches/MC_VDF_WORK/system/src/main/org/jboss/system/server/ServerImplMBean.java
===================================================================
--- branches/MC_VDF_WORK/system/src/main/org/jboss/system/server/ServerImplMBean.java 2006-08-04 16:25:55 UTC (rev 55201)
+++ branches/MC_VDF_WORK/system/src/main/org/jboss/system/server/ServerImplMBean.java 2006-08-04 16:27:06 UTC (rev 55202)
@@ -1,123 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2005, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software 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 GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-package org.jboss.system.server;
-
-import java.util.Date;
-
-import javax.management.ObjectName;
-
-import org.jboss.mx.util.ObjectNameFactory;
-
-/**
- * MBean interface.
- */
-public interface ServerImplMBean
-{
- /** The default object name */
- ObjectName OBJECT_NAME = ObjectNameFactory.create("jboss.system:type=Server");
-
- // Attributes ----------------------------------------------------
-
- /** The server start date */
- Date getStartDate();
-
- /** The server version */
- String getVersion();
-
- /** The server version code name */
- String getVersionName();
-
- /** The date the server was build (compiled) */
- String getBuildNumber();
-
- /** The JVM used to build the server */
- String getBuildJVM();
-
- /** The Operating System used to build the server */
- String getBuildOS();
-
- /** The build id */
- String getBuildID();
-
- /** The date the server was build */
- String getBuildDate();
-
- /** The server state, true if started, false otherwise */
- boolean isStarted();
-
- /** A flag indicating if shutdown has been called */
- boolean isInShutdown();
-
- // Operations ----------------------------------------------------
-
- /**
- * Shutdown the Server instance and run shutdown hooks.
- *
- * If the exit on shutdown flag is true, then {@link #exit} is called,
- * else only the shutdown hook is run.
- * @throws IllegalStateException No started.
- */
- void shutdown() throws IllegalStateException;
-
- /**
- * Shutdown the server, the JVM and run shutdown hooks.
- * @param exitcode The exit code returned to the operating system.
- */
- void exit(int exitcode);
-
- /**
- * Shutdown the server, the JVM and run shutdown hooks. Exits with code 1.
- */
- void exit();
-
- /**
- * Forcibly terminates the currently running Java virtual machine.
- * @param exitcode The exit code returned to the operating system.
- */
- void halt(int exitcode);
-
- /**
- * Forcibly terminates the currently running Java virtual machine. Exits with code 1.
- */
- void halt();
-
- /**
- * Hint to the JVM to run the garbage collector.
- */
- void runGarbageCollector();
-
- /**
- * Hint to the JVM to run any pending object finailizations.
- */
- void runFinalization();
-
- /**
- * Enable or disable tracing method calls at the Runtime level.
- */
- void traceMethodCalls(Boolean flag);
-
- /**
- * Enable or disable tracing instructions the Runtime level.
- */
- void traceInstructions(Boolean flag);
-
-}
Copied: branches/MC_VDF_WORK/system-jmx/src/main/org/jboss/system/server/ServerImplMBean.java (from rev 55201, branches/MC_VDF_WORK/system/src/main/org/jboss/system/server/ServerImplMBean.java)
More information about the jboss-cvs-commits
mailing list