[Jboss-cvs] JBossAS SVN: r55233 - branches/MC_VDF_WORK/system/src/main/org/jboss/system/server

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Fri Aug 4 14:13:25 EDT 2006


Author: scott.stark at jboss.org
Date: 2006-08-04 14:13:24 -0400 (Fri, 04 Aug 2006)
New Revision: 55233

Removed:
   branches/MC_VDF_WORK/system/src/main/org/jboss/system/server/ServerConfigImpl.java
   branches/MC_VDF_WORK/system/src/main/org/jboss/system/server/ServerConfigImplMBean.java
Log:
Move jmx related code to the system-jmx module

Deleted: branches/MC_VDF_WORK/system/src/main/org/jboss/system/server/ServerConfigImpl.java
===================================================================
--- branches/MC_VDF_WORK/system/src/main/org/jboss/system/server/ServerConfigImpl.java	2006-08-04 18:11:32 UTC (rev 55232)
+++ branches/MC_VDF_WORK/system/src/main/org/jboss/system/server/ServerConfigImpl.java	2006-08-04 18:13:24 UTC (rev 55233)
@@ -1,72 +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.io.File;
-import java.io.IOException;
-import java.net.MalformedURLException;
-import java.net.URL;
-import java.util.Properties;
-
-import org.jboss.util.NestedRuntimeException;
-import org.jboss.util.Null;
-import org.jboss.util.Primitives;
-import org.jboss.util.platform.Java;
-
-/**
- * A container for the basic configuration elements required to create
- * a Server instance.
- *
- * <p>MalformedURLException are rethrown as NestedRuntimeExceptions, so that
- *    code that needs to access these values does not have to directly
- *    worry about problems with lazy construction of final URL values.
- *
- * <p>Most values are determined durring first call to getter.  All values
- *    when determined will have equivilent system properties set.
- *
- * <p>Clients are not meant to use this class directly.  Instead use
- *    {@link ServerConfigLocator} to get an instance of {@link ServerConfig}
- *    and then use it to get the server's configuration bits.
- *
- * @jmx:mbean name="jboss.system:type=ServerConfig"
- *
- * @author <a href="mailto:jason at planet57.com">Jason Dillon</a>
- * @author <a href="mailto:dimitris at jboss.org">Dimitris Andreadis</a>
- * @author Scott.Stark at jboss.org
- * @version <tt>$Revision$</tt>
- */
-public class ServerConfigImpl extends BaseServerConfig
-      implements ServerConfigImplMBean
-{
-   /**
-    * Construct a new <tt>ServerConfigImpl</tt> instance.
-    *
-    * @param props    Configuration properties.
-    *
-    * @throws Exception    Missing or invalid configuration.
-    */
-   public ServerConfigImpl(final Properties props) throws Exception
-   {
-      super(props);
-   }
-
-}

Deleted: branches/MC_VDF_WORK/system/src/main/org/jboss/system/server/ServerConfigImplMBean.java
===================================================================
--- branches/MC_VDF_WORK/system/src/main/org/jboss/system/server/ServerConfigImplMBean.java	2006-08-04 18:11:32 UTC (rev 55232)
+++ branches/MC_VDF_WORK/system/src/main/org/jboss/system/server/ServerConfigImplMBean.java	2006-08-04 18:13:24 UTC (rev 55233)
@@ -1,187 +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.io.File;
-import java.net.URL;
-
-import javax.management.ObjectName;
-
-/**
- * MBean interface.
- */
-public interface ServerConfigImplMBean
-{
-   /** Default ObjectName */
-   static final String OBJECT_NAME_STR = "jboss.system:type=ServerConfig";
-
-   /**
-    * Get the local home directory which the server is running from.
-    */
-   File getHomeDir();
-
-   /**
-    * Get the home URL which the server is running from.
-    */
-   URL getHomeURL();
-
-   /**
-    * Get the home URL which the server is running from.
-    */
-   URL getLibraryURL();
-
-   /**
-    * Get the patch URL for the server.
-    */
-   URL getPatchURL();
-
-   /**
-    * Get the name of the server.
-    */
-   String getServerName();
-
-   /**
-    * Get the base directory for calculating server home directories.
-    */
-   File getServerBaseDir();
-
-   /**
-    * Get the server home directory.
-    */
-   File getServerHomeDir();
-
-   /**
-    * Get the directory where log files will be stored.
-    * @return the writable log directory
-    */
-   java.io.File getServerLogDir();
-
-   /**
-    * Get the directory where temporary files will be stored.
-    */
-   File getServerTempDir();
-
-   /**
-    * Get the directory where local data will be stored.
-    */
-   File getServerDataDir();
-
-   /**
-    * Get the base directory for calculating server home URLs.
-    */
-   URL getServerBaseURL();
-
-   /**
-    * Get the server home URL.
-    */
-   URL getServerHomeURL();
-
-   /**
-    * Get the server library URL.
-    */
-   URL getServerLibraryURL();
-
-   /**
-    * Get the server configuration URL.
-    */
-   URL getServerConfigURL();
-  
-   /**
-    * Get the current value of the flag that indicates if we are
-    * using the platform MBeanServer as the main jboss server.
-    * Both the {@link ServerConfig.PLATFORM_MBEANSERVER}
-    * property must be set, and the jvm must be jdk1.5+
-    */
-   boolean getPlatformMBeanServer();
-
-   /**
-    * Enable or disable exiting the JVM when {@link Server#shutdown}
-    * is called. If enabled, then shutdown calls {@link Server#exit}.
-    * If disabled, then only the shutdown hook will be run.
-    * @param flag True to enable calling exit on shutdown.
-    */
-   void setExitOnShutdown(boolean flag);
-
-   /**
-    * Get the current value of the exit on shutdown flag.
-    * @return The current value of the exit on shutdown flag.
-    */
-   boolean getExitOnShutdown();
-
-   /**
-    * Enable or disable blocking when {@link Server#shutdown} is called.
-    * If enabled, then shutdown will be called in the current thread.
-    * If disabled, then the shutdown hook will be run ansynchronously
-    * in a separate thread.
-    * @param flag True to enable blocking shutdown.
-    */
-   void setBlockingShutdown(boolean flag);
-
-   /**
-    * Get the current value of the blocking shutdown flag.
-    * @return The current value of the blocking shutdown flag.
-    */
-   boolean getBlockingShutdown();
-
-   /**
-    * Set the RequireJBossURLStreamHandlerFactory flag. if false,
-    * exceptions when setting the URLStreamHandlerFactory will
-    * be logged and ignored.
-    * @param flag True to enable blocking shutdown.
-    */
-   void setRequireJBossURLStreamHandlerFactory(boolean flag);
-
-   /**
-    * Get the current value of the requireJBossURLStreamHandlerFactory flag.
-    * @return The current value of the requireJBossURLStreamHandlerFactory flag.
-    */
-   boolean getRequireJBossURLStreamHandlerFactory();
-  
-   /**
-    * Set the filename of the root deployable that will be used to
-    * finalize the bootstrap process.
-    * @param filename The filename of the root deployable.
-    */
-   void setRootDeploymentFilename(String filename);
-
-   /**
-    * Get the filename of the root deployable that will be used to
-    * finalize the bootstrap process.
-    * @return The filename of the root deployable.
-    */
-   String getRootDeploymentFilename();
-
-   /**
-    * Get the native dir for unpacking
-    * 
-    * @return the directory    
-    */
-  File getServerNativeDir() ;
-
-   /**
-    * Get the temporary deployment dir for unpacking
-    * 
-    * @return the directory
-    */
-  File getServerTempDeployDir() ;
-
-}




More information about the jboss-cvs-commits mailing list