[jboss-cvs] JBossAS SVN: r111757 - branches/JBPAPP_5_1_0_Final_JBPAPP-6837/system-jmx/src/main/org/jboss/system/server/jmx.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Wed Jul 13 22:29:43 EDT 2011
Author: csams
Date: 2011-07-13 22:29:43 -0400 (Wed, 13 Jul 2011)
New Revision: 111757
Modified:
branches/JBPAPP_5_1_0_Final_JBPAPP-6837/system-jmx/src/main/org/jboss/system/server/jmx/JVMShutdown.java
branches/JBPAPP_5_1_0_Final_JBPAPP-6837/system-jmx/src/main/org/jboss/system/server/jmx/JVMShutdownMBean.java
Log:
[JBPAPP-6837] Updated Copyright Notice in Mbean file and final in the method sigs.
Modified: branches/JBPAPP_5_1_0_Final_JBPAPP-6837/system-jmx/src/main/org/jboss/system/server/jmx/JVMShutdown.java
===================================================================
--- branches/JBPAPP_5_1_0_Final_JBPAPP-6837/system-jmx/src/main/org/jboss/system/server/jmx/JVMShutdown.java 2011-07-14 01:44:33 UTC (rev 111756)
+++ branches/JBPAPP_5_1_0_Final_JBPAPP-6837/system-jmx/src/main/org/jboss/system/server/jmx/JVMShutdown.java 2011-07-14 02:29:43 UTC (rev 111757)
@@ -36,7 +36,7 @@
private JMXKernel server;
- public void exit(int exitStatus)
+ public void exit(final int exitStatus)
{
server.exit(exitStatus);
}
@@ -46,7 +46,7 @@
server.exit();
}
- public void halt(int exitStatus)
+ public void halt(final int exitStatus)
{
server.halt(exitStatus);
}
Modified: branches/JBPAPP_5_1_0_Final_JBPAPP-6837/system-jmx/src/main/org/jboss/system/server/jmx/JVMShutdownMBean.java
===================================================================
--- branches/JBPAPP_5_1_0_Final_JBPAPP-6837/system-jmx/src/main/org/jboss/system/server/jmx/JVMShutdownMBean.java 2011-07-14 01:44:33 UTC (rev 111756)
+++ branches/JBPAPP_5_1_0_Final_JBPAPP-6837/system-jmx/src/main/org/jboss/system/server/jmx/JVMShutdownMBean.java 2011-07-14 02:29:43 UTC (rev 111757)
@@ -1,5 +1,33 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2011, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file 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.jmx;
+/**
+ * Interface for an MBean that exposes through JMX the ability to shutdown the server with a particular
+ * exit code.
+ *
+ * @author <a href="mailto:csams at redhat.com">Chris Sams</a>
+ */
public interface JVMShutdownMBean {
public void exit(final int exitStatus);
More information about the jboss-cvs-commits
mailing list