[jboss-cvs] JBossAS SVN: r88138 - in projects/bootstrap/trunk: impl-as/src/main/java/org/jboss/bootstrap/impl/as/config and 12 other directories.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Mon May 4 02:25:28 EDT 2009


Author: ALRubinger
Date: 2009-05-04 02:25:28 -0400 (Mon, 04 May 2009)
New Revision: 88138

Added:
   projects/bootstrap/trunk/spi-as/src/main/java/org/
   projects/bootstrap/trunk/spi-as/src/main/java/org/jboss/
   projects/bootstrap/trunk/spi-as/src/main/java/org/jboss/bootstrap/
   projects/bootstrap/trunk/spi-as/src/main/java/org/jboss/bootstrap/spi/
   projects/bootstrap/trunk/spi-as/src/main/java/org/jboss/bootstrap/spi/as/
   projects/bootstrap/trunk/spi-as/src/main/java/org/jboss/bootstrap/spi/as/config/
   projects/bootstrap/trunk/spi-as/src/main/java/org/jboss/bootstrap/spi/as/config/JBossASConfigurationInitializer.java
   projects/bootstrap/trunk/spi-as/src/main/java/org/jboss/bootstrap/spi/as/config/JBossASServerConfig.java
   projects/bootstrap/trunk/spi-as/src/main/java/org/jboss/bootstrap/spi/as/server/
   projects/bootstrap/trunk/spi-as/src/main/java/org/jboss/bootstrap/spi/as/server/JBossASServer.java
Removed:
   projects/bootstrap/trunk/impl-as/src/main/java/org/jboss/bootstrap/impl/as/config/JBossASConfigurationInitializer.java
   projects/bootstrap/trunk/impl-as/src/main/java/org/jboss/bootstrap/impl/as/config/JBossASServerConfig.java
   projects/bootstrap/trunk/impl-as/src/main/java/org/jboss/bootstrap/impl/as/server/JBossASServer.java
Modified:
   projects/bootstrap/trunk/impl-as/pom.xml
   projects/bootstrap/trunk/impl-as/src/main/java/org/jboss/bootstrap/impl/as/config/BasicJBossASServerConfig.java
   projects/bootstrap/trunk/impl-as/src/main/java/org/jboss/bootstrap/impl/as/config/JBossASConfigurationInitializerImpl.java
   projects/bootstrap/trunk/impl-as/src/main/java/org/jboss/bootstrap/impl/as/config/JBossASConfigurationValidator.java
   projects/bootstrap/trunk/impl-as/src/main/java/org/jboss/bootstrap/impl/as/config/JBossASServerConfigLegacy.java
   projects/bootstrap/trunk/impl-as/src/main/java/org/jboss/bootstrap/impl/as/server/JBossASServerImpl.java
   projects/bootstrap/trunk/impl-as/src/main/java/org/jboss/bootstrap/impl/as/server/JBossASServerInitializer.java
   projects/bootstrap/trunk/impl-as/src/test/java/org/jboss/bootstrap/impl/as/config/JBossASConfigurationInitializationTestCase.java
   projects/bootstrap/trunk/impl-as/src/test/java/org/jboss/bootstrap/impl/as/config/JBossASConfigurationPropertyOverrideTestCase.java
   projects/bootstrap/trunk/impl-as/src/test/java/org/jboss/bootstrap/impl/as/config/JBossASConfigurationValidationTestCase.java
   projects/bootstrap/trunk/impl-as/src/test/java/org/jboss/bootstrap/impl/as/server/JBossASServerInitializationTestCase.java
   projects/bootstrap/trunk/impl-as/src/test/java/org/jboss/bootstrap/impl/as/server/JBossASServerVersionInformationTestCase.java
   projects/bootstrap/trunk/impl-as/src/test/java/org/jboss/bootstrap/impl/as/server/KernelEventsTestCase.java
   projects/bootstrap/trunk/impl-as/src/test/java/org/jboss/bootstrap/impl/as/server/NoOpJBossASServer.java
   projects/bootstrap/trunk/spi-as/.classpath
Log:
[JBBOOT-58] Move contracts from impl-as to spi-as

Modified: projects/bootstrap/trunk/impl-as/pom.xml
===================================================================
--- projects/bootstrap/trunk/impl-as/pom.xml	2009-05-04 06:19:25 UTC (rev 88137)
+++ projects/bootstrap/trunk/impl-as/pom.xml	2009-05-04 06:25:28 UTC (rev 88138)
@@ -20,13 +20,14 @@
   <artifactId>jboss-bootstrap-impl-as</artifactId>
   <name>JBoss Bootstrap AS Implementation</name>
   <version>0.1.2-SNAPSHOT</version>
-  <description>Application Server Implementation of JBoss Bootstrap</description>  
+  <description>Application Server Implementation of JBoss Bootstrap</description>
 
   <!-- Properties -->
   <properties>
 
     <!-- Versions -->
     <version.org.jboss.bootstrap_jboss.bootstrap.impl.mc>0.1.2-SNAPSHOT</version.org.jboss.bootstrap_jboss.bootstrap.impl.mc>
+    <version.org.jboss.bootstrap_jboss.bootstrap.spi.as>0.1.2-SNAPSHOT</version.org.jboss.bootstrap_jboss.bootstrap.spi.as>
 
   </properties>
 
@@ -34,7 +35,7 @@
   <build>
 
   </build>
-  
+
   <!-- Dependencies -->
   <dependencies>
 
@@ -50,6 +51,12 @@
     </dependency>
 
     <dependency>
+      <groupId>org.jboss.bootstrap</groupId>
+      <artifactId>jboss-bootstrap-spi-as</artifactId>
+      <version>${version.org.jboss.bootstrap_jboss.bootstrap.spi.as}</version>
+    </dependency>
+
+    <dependency>
       <groupId>org.jboss.logging</groupId>
       <artifactId>jboss-logging-log4j</artifactId>
     </dependency>

Modified: projects/bootstrap/trunk/impl-as/src/main/java/org/jboss/bootstrap/impl/as/config/BasicJBossASServerConfig.java
===================================================================
--- projects/bootstrap/trunk/impl-as/src/main/java/org/jboss/bootstrap/impl/as/config/BasicJBossASServerConfig.java	2009-05-04 06:19:25 UTC (rev 88137)
+++ projects/bootstrap/trunk/impl-as/src/main/java/org/jboss/bootstrap/impl/as/config/BasicJBossASServerConfig.java	2009-05-04 06:25:28 UTC (rev 88138)
@@ -29,6 +29,7 @@
 import java.net.URL;
 
 import org.jboss.bootstrap.impl.base.config.AbstractBasicServerConfig;
+import org.jboss.bootstrap.spi.as.config.JBossASServerConfig;
 import org.jboss.logging.Logger;
 
 /**

Deleted: projects/bootstrap/trunk/impl-as/src/main/java/org/jboss/bootstrap/impl/as/config/JBossASConfigurationInitializer.java
===================================================================
--- projects/bootstrap/trunk/impl-as/src/main/java/org/jboss/bootstrap/impl/as/config/JBossASConfigurationInitializer.java	2009-05-04 06:19:25 UTC (rev 88137)
+++ projects/bootstrap/trunk/impl-as/src/main/java/org/jboss/bootstrap/impl/as/config/JBossASConfigurationInitializer.java	2009-05-04 06:25:28 UTC (rev 88138)
@@ -1,128 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source.
- * Copyright 2009, 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.bootstrap.impl.as.config;
-
-import org.jboss.bootstrap.spi.config.ConfigurationInitializer;
-import org.jboss.bootstrap.spi.server.ServerInitializer;
-
-/**
- * JBossASConfigurationInitializer
- * 
- * Contract for a JBossAS Configuration Initializer 
- *
- * @author <a href="mailto:andrew.rubinger at jboss.org">ALR</a>
- * @version $Revision: $
- * @see {@link ServerInitializer}
- */
-public interface JBossASConfigurationInitializer extends ConfigurationInitializer<JBossASServerConfig>
-{
-   //-------------------------------------------------------------------------------||
-   // Constants --------------------------------------------------------------------||
-   //-------------------------------------------------------------------------------||
-
-   /*
-    * The following denote default values in the case
-    * a property is not explicitly-specified
-    */
-
-   /**
-    * Default address which will be set 
-    * if {@link JBossASServerConfig#getBindAddress()} or
-    * system or configuration property
-    * {@link JBossASServerConfig#PROP_KEY_JBOSSAS_BIND_ADDRESS}
-    * is not defined
-    */
-   String DEFAULT_VALUE_BIND_ADDRESS = "127.0.0.1";
-
-   /**
-    * Default server name which will be set if
-    * {@link JBossASServerConfig#getBindAddress()} or
-    * system or configuration property
-    * {@link JBossASServerConfig#PROP_KEY_JBOSSAS_SERVER_NAME}
-    * is not defined
-    */
-   String DEFAULT_VALUE_SERVER_NAME = "default";
-
-   /**
-    * The suffix used when generating the default value for 
-    * {@link JBossASServerConfig#PROP_KEY_JBOSSAS_BOOT_LIBRARY_URL},
-    * {@link JBossASServerConfig#PROP_KEY_JBOSSAS_COMMON_LIBRARY_URL} and 
-    * {@link #PROP_KEY_JBOSSAS_SERVER_LIBRARY_URL}.
-    */
-   String DEFAULT_VALUE_LIBRARY_URL_SUFFIX = "lib/";
-
-   /**
-    * The suffix used when generating the default value for 
-    * {@link JBossASServerConfig#PROP_KEY_JBOSSAS_SERVER_BASE_URL}.
-    */
-   String DEFAULT_VALUE_SERVER_BASE_URL_SUFFIX = "server/";
-
-   /**
-    * The suffix used when generating the default value for 
-    * {@link JBossASServerConfig#PROP_KEY_JBOSSAS_COMMON_BASE_URL}
-    */
-   String DEFAULT_VALUE_COMMON_BASE_URL_SUFFIX = "common/";
-
-   /**
-    * The suffix used when generating the default value for 
-    * {@link JBossASServerConfig#PROP_KEY_JBOSSAS_SERVER_LOG_DIR}.
-    */
-   String DEFAULT_VALUE_SERVER_LOG_DIR_SUFFIX = "log/";
-
-   /**
-    * The suffix used when generating the default value for 
-    * {@link JBossASServerConfig#PROP_KEY_JBOSSAS_SERVER_CONF_URL}.
-    */
-   String DEFAULT_VALUE_SERVER_CONFIG_URL_SUFFIX = "conf/";
-
-   /**
-    * The suffix used when generating the default value for 
-    * {@link JBossASServerConfig#PROP_KEY_JBOSSAS_SERVER_DATA_DIR}.
-    */
-   String DEFAULT_VALUE_SERVER_DATA_DIR_SUFFIX = "data/";
-
-   /**
-    * The suffix used when generating the default value for 
-    * {@link JBossASServerConfig#PROP_KEY_JBOSSAS_SERVER_TEMP_DIR}.
-    */
-   String DEFAULT_VALUE_SERVER_TEMP_DIR_SUFFIX = "tmp/";
-
-   /** 
-    * The partition name used as the default value for
-    * {@link JBossASServerConfig#PROP_KEY_JBOSSAS_PARTITION_NAME} 
-    */
-   String DEFAULT_VALUE_PARITION_NAME = "DefaultPartition";
-
-   /**
-    * The default value for
-    * {@link JBossASServerConfig#PROP_KEY_JBOSSAS_NATIVE_LOAD}
-    */
-   Boolean DEFAULT_VALUE_NATIVE_LOAD = false;
-
-   /**
-    * The default suffix used to construct native libaray
-    * locations, relative to the Server Temp Home
-    * (eg. $JBOSS_HOME/server/[serverName]/tmp/native/)
-    */
-   String DEFAULT_VALUE_NATIVE_DIR_SUFFIX = "native/";
-}

Modified: projects/bootstrap/trunk/impl-as/src/main/java/org/jboss/bootstrap/impl/as/config/JBossASConfigurationInitializerImpl.java
===================================================================
--- projects/bootstrap/trunk/impl-as/src/main/java/org/jboss/bootstrap/impl/as/config/JBossASConfigurationInitializerImpl.java	2009-05-04 06:19:25 UTC (rev 88137)
+++ projects/bootstrap/trunk/impl-as/src/main/java/org/jboss/bootstrap/impl/as/config/JBossASConfigurationInitializerImpl.java	2009-05-04 06:25:28 UTC (rev 88138)
@@ -27,6 +27,8 @@
 import java.util.Map;
 
 import org.jboss.bootstrap.impl.base.config.AbstractBasicConfigurationInitializer;
+import org.jboss.bootstrap.spi.as.config.JBossASConfigurationInitializer;
+import org.jboss.bootstrap.spi.as.config.JBossASServerConfig;
 import org.jboss.bootstrap.spi.config.InvalidConfigurationException;
 import org.jboss.logging.Logger;
 

Modified: projects/bootstrap/trunk/impl-as/src/main/java/org/jboss/bootstrap/impl/as/config/JBossASConfigurationValidator.java
===================================================================
--- projects/bootstrap/trunk/impl-as/src/main/java/org/jboss/bootstrap/impl/as/config/JBossASConfigurationValidator.java	2009-05-04 06:19:25 UTC (rev 88137)
+++ projects/bootstrap/trunk/impl-as/src/main/java/org/jboss/bootstrap/impl/as/config/JBossASConfigurationValidator.java	2009-05-04 06:25:28 UTC (rev 88138)
@@ -27,6 +27,7 @@
 import java.net.URLConnection;
 
 import org.jboss.bootstrap.impl.base.config.AbstractBasicConfigurationValidator;
+import org.jboss.bootstrap.spi.as.config.JBossASServerConfig;
 import org.jboss.bootstrap.spi.config.ConfigurationValidator;
 import org.jboss.bootstrap.spi.config.InvalidConfigurationException;
 import org.jboss.logging.Logger;

Deleted: projects/bootstrap/trunk/impl-as/src/main/java/org/jboss/bootstrap/impl/as/config/JBossASServerConfig.java
===================================================================
--- projects/bootstrap/trunk/impl-as/src/main/java/org/jboss/bootstrap/impl/as/config/JBossASServerConfig.java	2009-05-04 06:19:25 UTC (rev 88137)
+++ projects/bootstrap/trunk/impl-as/src/main/java/org/jboss/bootstrap/impl/as/config/JBossASServerConfig.java	2009-05-04 06:25:28 UTC (rev 88138)
@@ -1,602 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source.
- * Copyright 2008, 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.bootstrap.impl.as.config;
-
-import java.net.URL;
-
-import org.jboss.bootstrap.spi.mc.config.MCBasedServerConfig;
-
-/**
- * JBossASServerConfig
- *
- * User configuration for the JBoss Application Server.
- *
- * @author <a href="mailto:andrew.rubinger at jboss.org">ALR</a>
- * @version $Revision: $
- */
-public interface JBossASServerConfig extends MCBasedServerConfig<JBossASServerConfig>
-{
-   //-------------------------------------------------------------------------------||
-   // Constants --------------------------------------------------------------------||
-   //-------------------------------------------------------------------------------||
-
-   /**
-    * Constant that holds the name of the system or
-    * configuration property 
-    */
-   String PROP_KEY_JBOSSAS_BIND_ADDRESS = "jboss.bind.address";
-
-   /**
-    * Constant that holds the name of the system or configuration 
-    * property which specifies the name of the server which will be used to
-    * calculate the servers home directory and url.
-    */
-   String PROP_KEY_JBOSSAS_SERVER_NAME = "jboss.server.name";
-
-   /**
-    * Constant that holds the name of the environment
-    * variable which specifies the root of the AS
-    * installation
-    */
-   String ENV_VAR_JBOSSAS_HOME = "JBOSS_HOME";
-
-   /**
-    * Constant that holds the name of the system or configuration 
-    * property which specifies the root of the AS
-    * installation
-    */
-   String PROP_KEY_JBOSSAS_HOME = "jboss.home";
-
-   /**
-    * Constant that holds the name of the system property
-    * which specifies the home directory for JBossAS.
-    */
-   String PROP_KEY_JBOSSAS_HOME_DIR = "jboss.home.dir";
-
-   /**
-    * Constant that holds the name of the system property
-    * which specifies the home URL for JBossAS.
-    */
-   String PROP_KEY_JBOSSAS_HOME_URL = "jboss.home.url";
-
-   /**
-    * Constant that holds the name of the system property
-    * for specifying the URL where JBoss will read library files
-    * from.
-    */
-   String PROP_KEY_JBOSSAS_BOOT_LIBRARY_URL = "jboss.lib.url";
-
-   /**
-    * Constant that holds the name of the system property
-    * for specifying the base directory for calculating server
-    * home directories.
-    */
-   String PROP_KEY_JBOSSAS_SERVER_BASE_DIR = "jboss.server.base.dir";
-
-   /**
-    * Constant that holds the name of the system property
-    * for specifying the base URL for calculating server
-    * home URLs.
-    */
-   String PROP_KEY_JBOSSAS_SERVER_BASE_URL = "jboss.server.base.url";
-
-   /**
-    * Constant that holds the name of the system property
-    * for specifying the server home directory for JBoss.
-    */
-   String PROP_KEY_JBOSSAS_SERVER_HOME_DIR = "jboss.server.home.dir";
-
-   /**
-    * Constant that holds the name of the system property
-    * for specifying the server home URL for JBoss.
-    */
-   String PROP_KEY_JBOSSAS_SERVER_HOME_URL = "jboss.server.home.url";
-
-   /**
-    * Constant that holds the name of the system property
-    * for specifying the base URL for files and directories
-    * common to different server configurations
-    */
-   String PROP_KEY_JBOSSAS_COMMON_BASE_URL = "jboss.common.base.url";
-
-   /**
-    * Constant that holds the name of the system property
-    * for specifying a library directory URL that points to libraries
-    * shared by the various server configurations.
-    */
-   String PROP_KEY_JBOSSAS_COMMON_LIBRARY_URL = "jboss.common.lib.url";
-
-   /**
-    * Constant that holds the name of the system property
-    * for specifying the server log directory for JBoss.
-    */
-   String PROP_KEY_JBOSSAS_SERVER_LOG_DIR = "jboss.server.log.dir";
-
-   /**
-    * Constant that holds the name of the system property
-    * for specifying the server configuration URL.
-    */
-   String PROP_KEY_JBOSSAS_SERVER_CONF_URL = "jboss.server.config.url";
-
-   /**
-    * Constant that holds the name of the system property
-    * for specifying the URL where JBoss will read server specific
-    * library files from.
-    */
-   String PROP_KEY_JBOSSAS_SERVER_LIBRARY_URL = "jboss.server.lib.url";
-
-   /**
-    * Constant that holds the name of the system property
-    * for specifying the directory which JBoss will use for
-    * persistent data file storage.
-    */
-   String PROP_KEY_JBOSSAS_SERVER_DATA_DIR = "jboss.server.data.dir";
-
-   /**
-    * Constant that holds the name of the system property
-    * for specifying the directory which JBoss will use for
-    * temporary file storage.
-    */
-   String PROP_KEY_JBOSSAS_SERVER_TEMP_DIR = "jboss.server.temp.dir";
-
-   /** 
-    * Constant that holds the name of the system property
-    * for specifying the partition name for this instance in clustering
-    */
-   String PROP_KEY_JBOSSAS_PARTITION_NAME = "jboss.partition.name";
-
-   /** 
-    * Constant that holds the name of the system property
-    * for specifying the UDP Group for this instance in clustering
-    */
-   String PROP_KEY_JBOSSAS_PARTITION_UDP_GROUP = "jboss.partition.udpGroup";
-
-   /** 
-    * Constant that holds the name of the system property
-    * for specifying the UDP Port for this instance in clustering
-    */
-   String PROP_KEY_JBOSSAS_PARTITION_UDP_PORT = "jboss.jgroups.udp.mcast_port";
-
-   /** 
-    * Constant that holds the name of the system property
-    * designating whether to load native libraries
-    */
-   String PROP_KEY_JBOSSAS_NATIVE_LOAD = "jboss.native.load";
-
-   /** 
-    * Constant that holds the location of native libraries 
-    */
-   String PROP_KEY_JBOSSAS_NATIVE_DIR = "jboss.native.dir";
-
-   //-------------------------------------------------------------------------------||
-   // Contracts --------------------------------------------------------------------||
-   //-------------------------------------------------------------------------------||
-
-   /**
-    * Obtains the bind address to be used for the Server.
-    * 
-    * @return
-    */
-   String getBindAddress();
-
-   /**
-    * Sets the bind address for the server
-    * 
-    * @param bindAddress
-    * @return
-    */
-   JBossASServerConfig bindAddress(String bindAddress);
-
-   /**
-    * Obtains the name of the server configuration. 
-    *  
-    * @return
-    */
-   String getServerName();
-
-   /**
-    * Sets the name of the server configuration 
-    * 
-    * @param serverName
-    * @return
-    */
-   JBossASServerConfig serverName(String serverName);
-
-   /**
-    * Obtains the $JBOSS_HOME, the path to the
-    * root location of the JBossAS
-    * installation.
-    * 
-    * @return
-    */
-   URL getJBossHome();
-
-   /**
-    * Sets $JBOSS_HOME, the path to the root location 
-    * of the JBossAS installation.
-    * 
-    * @param jbossHome The location to $JBOSS_HOME
-    * @return This configuration
-    * @throws IllegalArgumentException If the specified argument 
-    *    is non-null and cannot be constructed into a URL
-    */
-   JBossASServerConfig jbossHome(String jbossHome) throws IllegalArgumentException;
-
-   /**
-    * Sets $JBOSS_HOME, the path to the root location 
-    * of the JBossAS installation.
-    * 
-    * @param jbossHome The location to $JBOSS_HOME
-    * @return This configuration
-    */
-   JBossASServerConfig jbossHome(URL jbossHome);
-
-   /**
-    * Obtains the location of the JBossAS
-    * Boot Libraries
-    * 
-    * @return
-    */
-   URL getBootLibraryLocation();
-
-   /**
-    * Sets the location of the JBossAS
-    * Boot Libraries
-    * 
-    * @param bootLibraryLocation
-    * @return
-    */
-   JBossASServerConfig bootLibraryLocation(URL bootLibraryLocation);
-
-   /**
-    * Sets the location of the JBossAS
-    * Boot Libraries
-    * 
-    * @param bootLibraryLocation
-    * @return
-    * @throws IllegalArgumentException If the specified argument 
-    *    is non-null and cannot be constructed into a URL
-    */
-   JBossASServerConfig bootLibraryLocation(String bootLibraryLocation) throws IllegalArgumentException;
-
-   /**
-    * Obtains the location of the server base, from
-    * which server homes (by default) decend
-    * 
-    * @return
-    */
-   URL getServerBaseLocation();
-
-   /**
-    * Sets the location of the server
-    * base, from which server homes (by default) 
-    * decend
-    * 
-    * @param serverBaseLocation
-    * @return
-    */
-   JBossASServerConfig serverBaseLocation(URL serverBaseLocation);
-
-   /**
-    * Sets the location of the server
-    * base, from which server homes (by default) 
-    * decend
-    * 
-    * @param serverBaseLocation
-    * @return
-    * @throws IllegalArgumentException If the specified argument 
-    *    is non-null and cannot be constructed into a URL
-    */
-   JBossASServerConfig serverBaseLocation(String serverBaseLocation) throws IllegalArgumentException;
-
-   /**
-    * Obtains the location of the server home
-    * 
-    * @return
-    */
-   URL getServerHomeLocation();
-
-   /**
-    * Sets the location of the server home
-    * 
-    * @param serverBaseLocation
-    * @return
-    */
-   JBossASServerConfig serverHomeLocation(URL serverHomeLocation);
-
-   /**
-    * Sets the location of the server home
-    * 
-    * @param serverHomeLocation
-    * @return
-    * @throws IllegalArgumentException If the specified argument 
-    *    is non-null and cannot be constructed into a URL
-    */
-   JBossASServerConfig serverHomeLocation(String serverHomeLocation) throws IllegalArgumentException;
-
-   /**
-    * Obtains the location of the common base
-    * 
-    * @return
-    */
-   URL getCommonBaseLocation();
-
-   /**
-    * Sets the location of the common base
-    * 
-    * @param serverBaseLocation
-    * @return
-    */
-   JBossASServerConfig commonBaseLocation(URL commonBaseLocation);
-
-   /**
-    * Sets the location of the common base
-    * 
-    * @param commonBaseLocation
-    * @return
-    * @throws IllegalArgumentException If the specified argument 
-    *    is non-null and cannot be constructed into a URL
-    */
-   JBossASServerConfig commonBaseLocation(String commonBaseLocation) throws IllegalArgumentException;
-
-   /**
-    * Obtains the location of the common lib
-    * 
-    * @return
-    */
-   URL getCommonLibLocation();
-
-   /**
-    * Sets the location of the common lib
-    * 
-    * @param commonLibLocation
-    * @return
-    */
-   JBossASServerConfig commonLibLocation(URL commonLibLocation);
-
-   /**
-    * Sets the location of the common lib
-    * 
-    * @param commonLibLocation
-    * @return
-    * @throws IllegalArgumentException If the specified argument 
-    *    is non-null and cannot be constructed into a URL
-    */
-   JBossASServerConfig commonLibLocation(String commonLibLocation) throws IllegalArgumentException;
-
-   /**
-    * Obtains the location in which the server logs reside
-    * 
-    * @return
-    */
-   URL getServerLogLocation();
-
-   /**
-    * Sets the location in which the server logs reside
-    * 
-    * @param serverLogLocation
-    * @return
-    */
-   JBossASServerConfig serverLogLocation(URL serverLogLocation);
-
-   /**
-    * Sets the location in which the server logs reside
-    * 
-    * @param serverLogLocation
-    * @return
-    * @throws IllegalArgumentException If the specified argument 
-    *    is non-null and cannot be constructed into a URL
-    */
-   JBossASServerConfig serverLogLocation(String serverLogLocation) throws IllegalArgumentException;
-
-   /**
-    * Obtains the location in which the server configuration resides
-    * 
-    * @return
-    */
-   URL getServerConfLocation();
-
-   /**
-    * Sets the location in which the server configuration resides
-    * 
-    * @param serverConfLocation
-    * @return
-    */
-   JBossASServerConfig serverConfLocation(URL serverConfLocation);
-
-   /**
-    * Sets the location in which the server configuration resides
-    * 
-    * @param serverConfLocation
-    * @return
-    * @throws IllegalArgumentException If the specified argument 
-    *    is non-null and cannot be constructed into a URL
-    */
-   JBossASServerConfig serverConfLocation(String serverConfLocation) throws IllegalArgumentException;
-
-   /**
-    * Obtains the location in which the server libraries reside
-    * 
-    * @return
-    */
-   URL getServerLibLocation();
-
-   /**
-    * Sets the location in which the server libraries reside
-    * 
-    * @param serverLibLocation
-    * @return
-    */
-   JBossASServerConfig serverLibLocation(URL serverLibLocation);
-
-   /**
-    * Sets the location in which the server libraries reside
-    * 
-    * @param serverLibLocation
-    * @return
-    * @throws IllegalArgumentException If the specified argument 
-    *    is non-null and cannot be constructed into a URL
-    */
-   JBossASServerConfig serverLibLocation(String serverLibLocation) throws IllegalArgumentException;
-
-   /**
-    * Obtains the location in which the server persistent data resides
-    * 
-    * @return
-    */
-   URL getServerDataLocation();
-
-   /**
-    * Sets the location in which the server persistent data resides
-    * 
-    * @param serverDataLocation
-    * @return
-    */
-   JBossASServerConfig serverDataLocation(URL serverDataLocation);
-
-   /**
-    * Sets the location in which the server persistent data resides
-    * 
-    * @param serverDataLocation
-    * @return
-    * @throws IllegalArgumentException If the specified argument 
-    *    is non-null and cannot be constructed into a URL
-    */
-   JBossASServerConfig serverDataLocation(String serverDataLocation) throws IllegalArgumentException;
-
-   /**
-    * Obtains the location in which the server temp data resides
-    * 
-    * @return
-    */
-   URL getServerTempLocation();
-
-   /**
-    * Sets the location in which the server temp data resides
-    * 
-    * @param serverTempLocation
-    * @return
-    */
-   JBossASServerConfig serverTempLocation(URL serverTempLocation);
-
-   /**
-    * Sets the location in which the server temp data resides
-    * 
-    * @param serverTempLocation
-    * @return
-    * @throws IllegalArgumentException If the specified argument 
-    *    is non-null and cannot be constructed into a URL
-    */
-   JBossASServerConfig serverTempLocation(String serverTempLocation) throws IllegalArgumentException;
-
-   /**
-    * Obtains the partition name for this instance in clustering
-    * 
-    * @return
-    */
-   String getPartitionName();
-
-   /**
-    * Sets the partition name for this instance in clustering
-    * 
-    * @param partitionName
-    * @return
-    */
-   JBossASServerConfig partitionName(String partitionName);
-
-   /**
-    * Obtains the UDP Group for this instance in clustering
-    * 
-    * @return
-    */
-   String getUdpGroup();
-
-   /**
-    * Sets the UDP Group for this instance in clustering
-    * 
-    * @param udpGroup
-    * @return
-    */
-   JBossASServerConfig udpGroup(String udpGroup);
-
-   /**
-    * Obtains the JGroups UDP Multicast port for use 
-    * in clustering
-    * 
-    * @return
-    */
-   Integer getUdpPort();
-
-   /**
-    * Sets the JGroups UDP Multicast port for use 
-    * in clustering
-    * 
-    * @param udpPort The port, or null to use the default
-    * @return
-    */
-   JBossASServerConfig udpPort(Integer udpPort);
-
-   /**
-    * Determines whether or not to load the native libraries
-    * 
-    * @return
-    */
-   Boolean isLoadNative();
-
-   /**
-    * Sets whether or not to load the native libraries
-    * 
-    * @param loadNative true or false, or null to use the default
-    * @return
-    */
-   JBossASServerConfig loadNative(Boolean loadNative);
-
-   /**
-    * Obtains the location of the JBossAS
-    * Native Libraries
-    * 
-    * @return
-    */
-   URL getNativeLibraryLocation();
-
-   /**
-    * Sets the location of the JBossAS
-    * Native Libraries
-    * 
-    * @param nativeLibraryLocation
-    * @return
-    */
-   JBossASServerConfig nativeLibraryLocation(URL nativeLibraryLocation);
-
-   /**
-    * Sets the location of the JBossAS
-    * Native Libraries
-    * 
-    * @param nativeLibraryLocation
-    * @return
-    * @throws IllegalArgumentException If the specified argument 
-    *    is non-null and cannot be constructed into a URL
-    */
-   JBossASServerConfig nativeLibraryLocation(String nativeLibraryLocation) throws IllegalArgumentException;
-
-}

Modified: projects/bootstrap/trunk/impl-as/src/main/java/org/jboss/bootstrap/impl/as/config/JBossASServerConfigLegacy.java
===================================================================
--- projects/bootstrap/trunk/impl-as/src/main/java/org/jboss/bootstrap/impl/as/config/JBossASServerConfigLegacy.java	2009-05-04 06:19:25 UTC (rev 88137)
+++ projects/bootstrap/trunk/impl-as/src/main/java/org/jboss/bootstrap/impl/as/config/JBossASServerConfigLegacy.java	2009-05-04 06:25:28 UTC (rev 88138)
@@ -22,6 +22,7 @@
 
 package org.jboss.bootstrap.impl.as.config;
 
+import org.jboss.bootstrap.spi.as.config.JBossASServerConfig;
 import org.jboss.bootstrap.spi.mc.config.MCBasedServerConfig;
 
 /**

Deleted: projects/bootstrap/trunk/impl-as/src/main/java/org/jboss/bootstrap/impl/as/server/JBossASServer.java
===================================================================
--- projects/bootstrap/trunk/impl-as/src/main/java/org/jboss/bootstrap/impl/as/server/JBossASServer.java	2009-05-04 06:19:25 UTC (rev 88137)
+++ projects/bootstrap/trunk/impl-as/src/main/java/org/jboss/bootstrap/impl/as/server/JBossASServer.java	2009-05-04 06:25:28 UTC (rev 88138)
@@ -1,72 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source.
- * Copyright 2009, 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.bootstrap.impl.as.server;
-
-import java.util.Date;
-
-import org.jboss.bootstrap.impl.as.config.JBossASServerConfig;
-import org.jboss.bootstrap.spi.mc.server.MCBasedServer;
-
-/**
- * JBossASServer
- * 
- * Contract of a JBossAS Server
- *
- * @author Jason Dillon
- * @author Scott.Stark at jboss.org
- * @author <a href="mailto:andrew.rubinger at jboss.org">ALR</a>
- * @version $Revision: $
- */
-public interface JBossASServer extends MCBasedServer<JBossASServer, JBossASServerConfig>
-{
-   //-------------------------------------------------------------------------------------||
-   // Contracts --------------------------------------------------------------------------||
-   //-------------------------------------------------------------------------------------||
-
-   /** @return The server start date */
-   Date getStartDate();
-
-   /** @return The server version, the underlying version expressed as a String */
-   String getVersion();
-
-   /** @return The server version code name */
-   String getVersionName();
-
-   /** @return The full server version number */
-   String getVersionNumber();
-
-   /** @return The date the server was build (compiled) */
-   String getBuildNumber();
-
-   /** @return The JVM used to build the server */
-   String getBuildJVM();
-
-   /** @return The Operating System used to build the server */
-   String getBuildOS();
-
-   /** @return The build id */
-   String getBuildID();
-
-   /** @return The date the server was build */
-   String getBuildDate();
-}

Modified: projects/bootstrap/trunk/impl-as/src/main/java/org/jboss/bootstrap/impl/as/server/JBossASServerImpl.java
===================================================================
--- projects/bootstrap/trunk/impl-as/src/main/java/org/jboss/bootstrap/impl/as/server/JBossASServerImpl.java	2009-05-04 06:19:25 UTC (rev 88137)
+++ projects/bootstrap/trunk/impl-as/src/main/java/org/jboss/bootstrap/impl/as/server/JBossASServerImpl.java	2009-05-04 06:25:28 UTC (rev 88138)
@@ -25,13 +25,14 @@
 import java.util.Date;
 
 import org.jboss.bootstrap.impl.as.config.BasicJBossASServerConfig;
-import org.jboss.bootstrap.impl.as.config.JBossASConfigurationInitializer;
 import org.jboss.bootstrap.impl.as.config.JBossASConfigurationInitializerImpl;
 import org.jboss.bootstrap.impl.as.config.JBossASConfigurationValidator;
-import org.jboss.bootstrap.impl.as.config.JBossASServerConfig;
 import org.jboss.bootstrap.impl.as.lifecycle.KernelStartEventLifecycleEventHandler;
 import org.jboss.bootstrap.impl.as.lifecycle.KernelStopEventLifecycleEventHandler;
 import org.jboss.bootstrap.impl.mc.server.AbstractMCServerBase;
+import org.jboss.bootstrap.spi.as.config.JBossASConfigurationInitializer;
+import org.jboss.bootstrap.spi.as.config.JBossASServerConfig;
+import org.jboss.bootstrap.spi.as.server.JBossASServer;
 import org.jboss.bootstrap.spi.config.ConfigurationValidator;
 import org.jboss.bootstrap.spi.lifecycle.LifecycleEventHandler;
 import org.jboss.bootstrap.spi.lifecycle.LifecycleState;

Modified: projects/bootstrap/trunk/impl-as/src/main/java/org/jboss/bootstrap/impl/as/server/JBossASServerInitializer.java
===================================================================
--- projects/bootstrap/trunk/impl-as/src/main/java/org/jboss/bootstrap/impl/as/server/JBossASServerInitializer.java	2009-05-04 06:19:25 UTC (rev 88137)
+++ projects/bootstrap/trunk/impl-as/src/main/java/org/jboss/bootstrap/impl/as/server/JBossASServerInitializer.java	2009-05-04 06:25:28 UTC (rev 88138)
@@ -27,8 +27,9 @@
 import java.net.URISyntaxException;
 import java.net.URL;
 
-import org.jboss.bootstrap.impl.as.config.JBossASServerConfig;
 import org.jboss.bootstrap.impl.base.server.AbstractBasicServerInitializer;
+import org.jboss.bootstrap.spi.as.config.JBossASServerConfig;
+import org.jboss.bootstrap.spi.as.server.JBossASServer;
 import org.jboss.bootstrap.spi.server.Server;
 import org.jboss.bootstrap.spi.server.ServerInitializer;
 import org.jboss.logging.Logger;

Modified: projects/bootstrap/trunk/impl-as/src/test/java/org/jboss/bootstrap/impl/as/config/JBossASConfigurationInitializationTestCase.java
===================================================================
--- projects/bootstrap/trunk/impl-as/src/test/java/org/jboss/bootstrap/impl/as/config/JBossASConfigurationInitializationTestCase.java	2009-05-04 06:19:25 UTC (rev 88137)
+++ projects/bootstrap/trunk/impl-as/src/test/java/org/jboss/bootstrap/impl/as/config/JBossASConfigurationInitializationTestCase.java	2009-05-04 06:25:28 UTC (rev 88138)
@@ -28,6 +28,8 @@
 
 import org.jboss.bootstrap.impl.as.common.TestUtils;
 import org.jboss.bootstrap.impl.base.config.AbstractBasicConfigurationInitializer;
+import org.jboss.bootstrap.spi.as.config.JBossASConfigurationInitializer;
+import org.jboss.bootstrap.spi.as.config.JBossASServerConfig;
 import org.jboss.logging.Logger;
 import org.junit.After;
 import org.junit.Before;

Modified: projects/bootstrap/trunk/impl-as/src/test/java/org/jboss/bootstrap/impl/as/config/JBossASConfigurationPropertyOverrideTestCase.java
===================================================================
--- projects/bootstrap/trunk/impl-as/src/test/java/org/jboss/bootstrap/impl/as/config/JBossASConfigurationPropertyOverrideTestCase.java	2009-05-04 06:19:25 UTC (rev 88137)
+++ projects/bootstrap/trunk/impl-as/src/test/java/org/jboss/bootstrap/impl/as/config/JBossASConfigurationPropertyOverrideTestCase.java	2009-05-04 06:25:28 UTC (rev 88138)
@@ -27,6 +27,8 @@
 
 import junit.framework.TestCase;
 
+import org.jboss.bootstrap.spi.as.config.JBossASConfigurationInitializer;
+import org.jboss.bootstrap.spi.as.config.JBossASServerConfig;
 import org.jboss.logging.Logger;
 import org.junit.After;
 import org.junit.Before;

Modified: projects/bootstrap/trunk/impl-as/src/test/java/org/jboss/bootstrap/impl/as/config/JBossASConfigurationValidationTestCase.java
===================================================================
--- projects/bootstrap/trunk/impl-as/src/test/java/org/jboss/bootstrap/impl/as/config/JBossASConfigurationValidationTestCase.java	2009-05-04 06:19:25 UTC (rev 88137)
+++ projects/bootstrap/trunk/impl-as/src/test/java/org/jboss/bootstrap/impl/as/config/JBossASConfigurationValidationTestCase.java	2009-05-04 06:25:28 UTC (rev 88138)
@@ -28,6 +28,8 @@
 
 import junit.framework.TestCase;
 
+import org.jboss.bootstrap.spi.as.config.JBossASConfigurationInitializer;
+import org.jboss.bootstrap.spi.as.config.JBossASServerConfig;
 import org.jboss.bootstrap.spi.config.ConfigurationValidator;
 import org.jboss.bootstrap.spi.config.InvalidConfigurationException;
 import org.jboss.logging.Logger;

Modified: projects/bootstrap/trunk/impl-as/src/test/java/org/jboss/bootstrap/impl/as/server/JBossASServerInitializationTestCase.java
===================================================================
--- projects/bootstrap/trunk/impl-as/src/test/java/org/jboss/bootstrap/impl/as/server/JBossASServerInitializationTestCase.java	2009-05-04 06:19:25 UTC (rev 88137)
+++ projects/bootstrap/trunk/impl-as/src/test/java/org/jboss/bootstrap/impl/as/server/JBossASServerInitializationTestCase.java	2009-05-04 06:25:28 UTC (rev 88138)
@@ -29,7 +29,8 @@
 import junit.framework.TestCase;
 
 import org.jboss.bootstrap.impl.as.common.TestUtils;
-import org.jboss.bootstrap.impl.as.config.JBossASServerConfig;
+import org.jboss.bootstrap.spi.as.config.JBossASServerConfig;
+import org.jboss.bootstrap.spi.as.server.JBossASServer;
 import org.jboss.logging.Logger;
 import org.junit.After;
 import org.junit.Before;

Modified: projects/bootstrap/trunk/impl-as/src/test/java/org/jboss/bootstrap/impl/as/server/JBossASServerVersionInformationTestCase.java
===================================================================
--- projects/bootstrap/trunk/impl-as/src/test/java/org/jboss/bootstrap/impl/as/server/JBossASServerVersionInformationTestCase.java	2009-05-04 06:19:25 UTC (rev 88137)
+++ projects/bootstrap/trunk/impl-as/src/test/java/org/jboss/bootstrap/impl/as/server/JBossASServerVersionInformationTestCase.java	2009-05-04 06:25:28 UTC (rev 88138)
@@ -24,6 +24,7 @@
 
 import junit.framework.TestCase;
 
+import org.jboss.bootstrap.spi.as.server.JBossASServer;
 import org.jboss.logging.Logger;
 import org.junit.BeforeClass;
 import org.junit.Test;

Modified: projects/bootstrap/trunk/impl-as/src/test/java/org/jboss/bootstrap/impl/as/server/KernelEventsTestCase.java
===================================================================
--- projects/bootstrap/trunk/impl-as/src/test/java/org/jboss/bootstrap/impl/as/server/KernelEventsTestCase.java	2009-05-04 06:19:25 UTC (rev 88137)
+++ projects/bootstrap/trunk/impl-as/src/test/java/org/jboss/bootstrap/impl/as/server/KernelEventsTestCase.java	2009-05-04 06:25:28 UTC (rev 88138)
@@ -24,6 +24,7 @@
 
 import junit.framework.TestCase;
 
+import org.jboss.bootstrap.spi.as.server.JBossASServer;
 import org.jboss.bootstrap.spi.server.Server;
 import org.jboss.kernel.Kernel;
 import org.jboss.kernel.spi.event.KernelEvent;

Modified: projects/bootstrap/trunk/impl-as/src/test/java/org/jboss/bootstrap/impl/as/server/NoOpJBossASServer.java
===================================================================
--- projects/bootstrap/trunk/impl-as/src/test/java/org/jboss/bootstrap/impl/as/server/NoOpJBossASServer.java	2009-05-04 06:19:25 UTC (rev 88137)
+++ projects/bootstrap/trunk/impl-as/src/test/java/org/jboss/bootstrap/impl/as/server/NoOpJBossASServer.java	2009-05-04 06:25:28 UTC (rev 88138)
@@ -22,6 +22,7 @@
 
 package org.jboss.bootstrap.impl.as.server;
 
+import org.jboss.bootstrap.spi.as.server.JBossASServer;
 import org.jboss.logging.Logger;
 
 /**

Modified: projects/bootstrap/trunk/spi-as/.classpath
===================================================================
--- projects/bootstrap/trunk/spi-as/.classpath	2009-05-04 06:19:25 UTC (rev 88137)
+++ projects/bootstrap/trunk/spi-as/.classpath	2009-05-04 06:25:28 UTC (rev 88138)
@@ -1,7 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
 <classpath>
-  <classpathentry kind="src" path="src/main/java" including="**/*.java"/>
-  <classpathentry kind="src" path="src/main/resources" excluding="**/*.java"/>
-  <classpathentry kind="output" path="eclipse-target/classes"/>
-  <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
-  <classpathentry kind="con" path="org.maven.ide.eclipse.MAVEN2_CLASSPATH_CONTAINER"/>
-</classpath>
\ No newline at end of file
+	<classpathentry kind="src" output="target/classes" path="src/main/java"/>
+	<classpathentry excluding="**" kind="src" output="target/classes" path="src/main/resources"/>
+	<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5"/>
+	<classpathentry kind="con" path="org.maven.ide.eclipse.MAVEN2_CLASSPATH_CONTAINER"/>
+	<classpathentry kind="output" path="target/classes"/>
+</classpath>

Copied: projects/bootstrap/trunk/spi-as/src/main/java/org/jboss/bootstrap/spi/as/config/JBossASConfigurationInitializer.java (from rev 88135, projects/bootstrap/trunk/impl-as/src/main/java/org/jboss/bootstrap/impl/as/config/JBossASConfigurationInitializer.java)
===================================================================
--- projects/bootstrap/trunk/spi-as/src/main/java/org/jboss/bootstrap/spi/as/config/JBossASConfigurationInitializer.java	                        (rev 0)
+++ projects/bootstrap/trunk/spi-as/src/main/java/org/jboss/bootstrap/spi/as/config/JBossASConfigurationInitializer.java	2009-05-04 06:25:28 UTC (rev 88138)
@@ -0,0 +1,128 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2009, 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.bootstrap.spi.as.config;
+
+import org.jboss.bootstrap.spi.config.ConfigurationInitializer;
+import org.jboss.bootstrap.spi.server.ServerInitializer;
+
+/**
+ * JBossASConfigurationInitializer
+ * 
+ * Contract for a JBossAS Configuration Initializer 
+ *
+ * @author <a href="mailto:andrew.rubinger at jboss.org">ALR</a>
+ * @version $Revision: $
+ * @see {@link ServerInitializer}
+ */
+public interface JBossASConfigurationInitializer extends ConfigurationInitializer<JBossASServerConfig>
+{
+   //-------------------------------------------------------------------------------||
+   // Constants --------------------------------------------------------------------||
+   //-------------------------------------------------------------------------------||
+
+   /*
+    * The following denote default values in the case
+    * a property is not explicitly-specified
+    */
+
+   /**
+    * Default address which will be set 
+    * if {@link JBossASServerConfig#getBindAddress()} or
+    * system or configuration property
+    * {@link JBossASServerConfig#PROP_KEY_JBOSSAS_BIND_ADDRESS}
+    * is not defined
+    */
+   String DEFAULT_VALUE_BIND_ADDRESS = "127.0.0.1";
+
+   /**
+    * Default server name which will be set if
+    * {@link JBossASServerConfig#getBindAddress()} or
+    * system or configuration property
+    * {@link JBossASServerConfig#PROP_KEY_JBOSSAS_SERVER_NAME}
+    * is not defined
+    */
+   String DEFAULT_VALUE_SERVER_NAME = "default";
+
+   /**
+    * The suffix used when generating the default value for 
+    * {@link JBossASServerConfig#PROP_KEY_JBOSSAS_BOOT_LIBRARY_URL},
+    * {@link JBossASServerConfig#PROP_KEY_JBOSSAS_COMMON_LIBRARY_URL} and 
+    * {@link #PROP_KEY_JBOSSAS_SERVER_LIBRARY_URL}.
+    */
+   String DEFAULT_VALUE_LIBRARY_URL_SUFFIX = "lib/";
+
+   /**
+    * The suffix used when generating the default value for 
+    * {@link JBossASServerConfig#PROP_KEY_JBOSSAS_SERVER_BASE_URL}.
+    */
+   String DEFAULT_VALUE_SERVER_BASE_URL_SUFFIX = "server/";
+
+   /**
+    * The suffix used when generating the default value for 
+    * {@link JBossASServerConfig#PROP_KEY_JBOSSAS_COMMON_BASE_URL}
+    */
+   String DEFAULT_VALUE_COMMON_BASE_URL_SUFFIX = "common/";
+
+   /**
+    * The suffix used when generating the default value for 
+    * {@link JBossASServerConfig#PROP_KEY_JBOSSAS_SERVER_LOG_DIR}.
+    */
+   String DEFAULT_VALUE_SERVER_LOG_DIR_SUFFIX = "log/";
+
+   /**
+    * The suffix used when generating the default value for 
+    * {@link JBossASServerConfig#PROP_KEY_JBOSSAS_SERVER_CONF_URL}.
+    */
+   String DEFAULT_VALUE_SERVER_CONFIG_URL_SUFFIX = "conf/";
+
+   /**
+    * The suffix used when generating the default value for 
+    * {@link JBossASServerConfig#PROP_KEY_JBOSSAS_SERVER_DATA_DIR}.
+    */
+   String DEFAULT_VALUE_SERVER_DATA_DIR_SUFFIX = "data/";
+
+   /**
+    * The suffix used when generating the default value for 
+    * {@link JBossASServerConfig#PROP_KEY_JBOSSAS_SERVER_TEMP_DIR}.
+    */
+   String DEFAULT_VALUE_SERVER_TEMP_DIR_SUFFIX = "tmp/";
+
+   /** 
+    * The partition name used as the default value for
+    * {@link JBossASServerConfig#PROP_KEY_JBOSSAS_PARTITION_NAME} 
+    */
+   String DEFAULT_VALUE_PARITION_NAME = "DefaultPartition";
+
+   /**
+    * The default value for
+    * {@link JBossASServerConfig#PROP_KEY_JBOSSAS_NATIVE_LOAD}
+    */
+   Boolean DEFAULT_VALUE_NATIVE_LOAD = false;
+
+   /**
+    * The default suffix used to construct native libaray
+    * locations, relative to the Server Temp Home
+    * (eg. $JBOSS_HOME/server/[serverName]/tmp/native/)
+    */
+   String DEFAULT_VALUE_NATIVE_DIR_SUFFIX = "native/";
+}


Property changes on: projects/bootstrap/trunk/spi-as/src/main/java/org/jboss/bootstrap/spi/as/config/JBossASConfigurationInitializer.java
___________________________________________________________________
Name: svn:mergeinfo
   + 

Copied: projects/bootstrap/trunk/spi-as/src/main/java/org/jboss/bootstrap/spi/as/config/JBossASServerConfig.java (from rev 88135, projects/bootstrap/trunk/impl-as/src/main/java/org/jboss/bootstrap/impl/as/config/JBossASServerConfig.java)
===================================================================
--- projects/bootstrap/trunk/spi-as/src/main/java/org/jboss/bootstrap/spi/as/config/JBossASServerConfig.java	                        (rev 0)
+++ projects/bootstrap/trunk/spi-as/src/main/java/org/jboss/bootstrap/spi/as/config/JBossASServerConfig.java	2009-05-04 06:25:28 UTC (rev 88138)
@@ -0,0 +1,602 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.bootstrap.spi.as.config;
+
+import java.net.URL;
+
+import org.jboss.bootstrap.spi.mc.config.MCBasedServerConfig;
+
+/**
+ * JBossASServerConfig
+ *
+ * User configuration for the JBoss Application Server.
+ *
+ * @author <a href="mailto:andrew.rubinger at jboss.org">ALR</a>
+ * @version $Revision: $
+ */
+public interface JBossASServerConfig extends MCBasedServerConfig<JBossASServerConfig>
+{
+   //-------------------------------------------------------------------------------||
+   // Constants --------------------------------------------------------------------||
+   //-------------------------------------------------------------------------------||
+
+   /**
+    * Constant that holds the name of the system or
+    * configuration property 
+    */
+   String PROP_KEY_JBOSSAS_BIND_ADDRESS = "jboss.bind.address";
+
+   /**
+    * Constant that holds the name of the system or configuration 
+    * property which specifies the name of the server which will be used to
+    * calculate the servers home directory and url.
+    */
+   String PROP_KEY_JBOSSAS_SERVER_NAME = "jboss.server.name";
+
+   /**
+    * Constant that holds the name of the environment
+    * variable which specifies the root of the AS
+    * installation
+    */
+   String ENV_VAR_JBOSSAS_HOME = "JBOSS_HOME";
+
+   /**
+    * Constant that holds the name of the system or configuration 
+    * property which specifies the root of the AS
+    * installation
+    */
+   String PROP_KEY_JBOSSAS_HOME = "jboss.home";
+
+   /**
+    * Constant that holds the name of the system property
+    * which specifies the home directory for JBossAS.
+    */
+   String PROP_KEY_JBOSSAS_HOME_DIR = "jboss.home.dir";
+
+   /**
+    * Constant that holds the name of the system property
+    * which specifies the home URL for JBossAS.
+    */
+   String PROP_KEY_JBOSSAS_HOME_URL = "jboss.home.url";
+
+   /**
+    * Constant that holds the name of the system property
+    * for specifying the URL where JBoss will read library files
+    * from.
+    */
+   String PROP_KEY_JBOSSAS_BOOT_LIBRARY_URL = "jboss.lib.url";
+
+   /**
+    * Constant that holds the name of the system property
+    * for specifying the base directory for calculating server
+    * home directories.
+    */
+   String PROP_KEY_JBOSSAS_SERVER_BASE_DIR = "jboss.server.base.dir";
+
+   /**
+    * Constant that holds the name of the system property
+    * for specifying the base URL for calculating server
+    * home URLs.
+    */
+   String PROP_KEY_JBOSSAS_SERVER_BASE_URL = "jboss.server.base.url";
+
+   /**
+    * Constant that holds the name of the system property
+    * for specifying the server home directory for JBoss.
+    */
+   String PROP_KEY_JBOSSAS_SERVER_HOME_DIR = "jboss.server.home.dir";
+
+   /**
+    * Constant that holds the name of the system property
+    * for specifying the server home URL for JBoss.
+    */
+   String PROP_KEY_JBOSSAS_SERVER_HOME_URL = "jboss.server.home.url";
+
+   /**
+    * Constant that holds the name of the system property
+    * for specifying the base URL for files and directories
+    * common to different server configurations
+    */
+   String PROP_KEY_JBOSSAS_COMMON_BASE_URL = "jboss.common.base.url";
+
+   /**
+    * Constant that holds the name of the system property
+    * for specifying a library directory URL that points to libraries
+    * shared by the various server configurations.
+    */
+   String PROP_KEY_JBOSSAS_COMMON_LIBRARY_URL = "jboss.common.lib.url";
+
+   /**
+    * Constant that holds the name of the system property
+    * for specifying the server log directory for JBoss.
+    */
+   String PROP_KEY_JBOSSAS_SERVER_LOG_DIR = "jboss.server.log.dir";
+
+   /**
+    * Constant that holds the name of the system property
+    * for specifying the server configuration URL.
+    */
+   String PROP_KEY_JBOSSAS_SERVER_CONF_URL = "jboss.server.config.url";
+
+   /**
+    * Constant that holds the name of the system property
+    * for specifying the URL where JBoss will read server specific
+    * library files from.
+    */
+   String PROP_KEY_JBOSSAS_SERVER_LIBRARY_URL = "jboss.server.lib.url";
+
+   /**
+    * Constant that holds the name of the system property
+    * for specifying the directory which JBoss will use for
+    * persistent data file storage.
+    */
+   String PROP_KEY_JBOSSAS_SERVER_DATA_DIR = "jboss.server.data.dir";
+
+   /**
+    * Constant that holds the name of the system property
+    * for specifying the directory which JBoss will use for
+    * temporary file storage.
+    */
+   String PROP_KEY_JBOSSAS_SERVER_TEMP_DIR = "jboss.server.temp.dir";
+
+   /** 
+    * Constant that holds the name of the system property
+    * for specifying the partition name for this instance in clustering
+    */
+   String PROP_KEY_JBOSSAS_PARTITION_NAME = "jboss.partition.name";
+
+   /** 
+    * Constant that holds the name of the system property
+    * for specifying the UDP Group for this instance in clustering
+    */
+   String PROP_KEY_JBOSSAS_PARTITION_UDP_GROUP = "jboss.partition.udpGroup";
+
+   /** 
+    * Constant that holds the name of the system property
+    * for specifying the UDP Port for this instance in clustering
+    */
+   String PROP_KEY_JBOSSAS_PARTITION_UDP_PORT = "jboss.jgroups.udp.mcast_port";
+
+   /** 
+    * Constant that holds the name of the system property
+    * designating whether to load native libraries
+    */
+   String PROP_KEY_JBOSSAS_NATIVE_LOAD = "jboss.native.load";
+
+   /** 
+    * Constant that holds the location of native libraries 
+    */
+   String PROP_KEY_JBOSSAS_NATIVE_DIR = "jboss.native.dir";
+
+   //-------------------------------------------------------------------------------||
+   // Contracts --------------------------------------------------------------------||
+   //-------------------------------------------------------------------------------||
+
+   /**
+    * Obtains the bind address to be used for the Server.
+    * 
+    * @return
+    */
+   String getBindAddress();
+
+   /**
+    * Sets the bind address for the server
+    * 
+    * @param bindAddress
+    * @return
+    */
+   JBossASServerConfig bindAddress(String bindAddress);
+
+   /**
+    * Obtains the name of the server configuration. 
+    *  
+    * @return
+    */
+   String getServerName();
+
+   /**
+    * Sets the name of the server configuration 
+    * 
+    * @param serverName
+    * @return
+    */
+   JBossASServerConfig serverName(String serverName);
+
+   /**
+    * Obtains the $JBOSS_HOME, the path to the
+    * root location of the JBossAS
+    * installation.
+    * 
+    * @return
+    */
+   URL getJBossHome();
+
+   /**
+    * Sets $JBOSS_HOME, the path to the root location 
+    * of the JBossAS installation.
+    * 
+    * @param jbossHome The location to $JBOSS_HOME
+    * @return This configuration
+    * @throws IllegalArgumentException If the specified argument 
+    *    is non-null and cannot be constructed into a URL
+    */
+   JBossASServerConfig jbossHome(String jbossHome) throws IllegalArgumentException;
+
+   /**
+    * Sets $JBOSS_HOME, the path to the root location 
+    * of the JBossAS installation.
+    * 
+    * @param jbossHome The location to $JBOSS_HOME
+    * @return This configuration
+    */
+   JBossASServerConfig jbossHome(URL jbossHome);
+
+   /**
+    * Obtains the location of the JBossAS
+    * Boot Libraries
+    * 
+    * @return
+    */
+   URL getBootLibraryLocation();
+
+   /**
+    * Sets the location of the JBossAS
+    * Boot Libraries
+    * 
+    * @param bootLibraryLocation
+    * @return
+    */
+   JBossASServerConfig bootLibraryLocation(URL bootLibraryLocation);
+
+   /**
+    * Sets the location of the JBossAS
+    * Boot Libraries
+    * 
+    * @param bootLibraryLocation
+    * @return
+    * @throws IllegalArgumentException If the specified argument 
+    *    is non-null and cannot be constructed into a URL
+    */
+   JBossASServerConfig bootLibraryLocation(String bootLibraryLocation) throws IllegalArgumentException;
+
+   /**
+    * Obtains the location of the server base, from
+    * which server homes (by default) decend
+    * 
+    * @return
+    */
+   URL getServerBaseLocation();
+
+   /**
+    * Sets the location of the server
+    * base, from which server homes (by default) 
+    * decend
+    * 
+    * @param serverBaseLocation
+    * @return
+    */
+   JBossASServerConfig serverBaseLocation(URL serverBaseLocation);
+
+   /**
+    * Sets the location of the server
+    * base, from which server homes (by default) 
+    * decend
+    * 
+    * @param serverBaseLocation
+    * @return
+    * @throws IllegalArgumentException If the specified argument 
+    *    is non-null and cannot be constructed into a URL
+    */
+   JBossASServerConfig serverBaseLocation(String serverBaseLocation) throws IllegalArgumentException;
+
+   /**
+    * Obtains the location of the server home
+    * 
+    * @return
+    */
+   URL getServerHomeLocation();
+
+   /**
+    * Sets the location of the server home
+    * 
+    * @param serverBaseLocation
+    * @return
+    */
+   JBossASServerConfig serverHomeLocation(URL serverHomeLocation);
+
+   /**
+    * Sets the location of the server home
+    * 
+    * @param serverHomeLocation
+    * @return
+    * @throws IllegalArgumentException If the specified argument 
+    *    is non-null and cannot be constructed into a URL
+    */
+   JBossASServerConfig serverHomeLocation(String serverHomeLocation) throws IllegalArgumentException;
+
+   /**
+    * Obtains the location of the common base
+    * 
+    * @return
+    */
+   URL getCommonBaseLocation();
+
+   /**
+    * Sets the location of the common base
+    * 
+    * @param serverBaseLocation
+    * @return
+    */
+   JBossASServerConfig commonBaseLocation(URL commonBaseLocation);
+
+   /**
+    * Sets the location of the common base
+    * 
+    * @param commonBaseLocation
+    * @return
+    * @throws IllegalArgumentException If the specified argument 
+    *    is non-null and cannot be constructed into a URL
+    */
+   JBossASServerConfig commonBaseLocation(String commonBaseLocation) throws IllegalArgumentException;
+
+   /**
+    * Obtains the location of the common lib
+    * 
+    * @return
+    */
+   URL getCommonLibLocation();
+
+   /**
+    * Sets the location of the common lib
+    * 
+    * @param commonLibLocation
+    * @return
+    */
+   JBossASServerConfig commonLibLocation(URL commonLibLocation);
+
+   /**
+    * Sets the location of the common lib
+    * 
+    * @param commonLibLocation
+    * @return
+    * @throws IllegalArgumentException If the specified argument 
+    *    is non-null and cannot be constructed into a URL
+    */
+   JBossASServerConfig commonLibLocation(String commonLibLocation) throws IllegalArgumentException;
+
+   /**
+    * Obtains the location in which the server logs reside
+    * 
+    * @return
+    */
+   URL getServerLogLocation();
+
+   /**
+    * Sets the location in which the server logs reside
+    * 
+    * @param serverLogLocation
+    * @return
+    */
+   JBossASServerConfig serverLogLocation(URL serverLogLocation);
+
+   /**
+    * Sets the location in which the server logs reside
+    * 
+    * @param serverLogLocation
+    * @return
+    * @throws IllegalArgumentException If the specified argument 
+    *    is non-null and cannot be constructed into a URL
+    */
+   JBossASServerConfig serverLogLocation(String serverLogLocation) throws IllegalArgumentException;
+
+   /**
+    * Obtains the location in which the server configuration resides
+    * 
+    * @return
+    */
+   URL getServerConfLocation();
+
+   /**
+    * Sets the location in which the server configuration resides
+    * 
+    * @param serverConfLocation
+    * @return
+    */
+   JBossASServerConfig serverConfLocation(URL serverConfLocation);
+
+   /**
+    * Sets the location in which the server configuration resides
+    * 
+    * @param serverConfLocation
+    * @return
+    * @throws IllegalArgumentException If the specified argument 
+    *    is non-null and cannot be constructed into a URL
+    */
+   JBossASServerConfig serverConfLocation(String serverConfLocation) throws IllegalArgumentException;
+
+   /**
+    * Obtains the location in which the server libraries reside
+    * 
+    * @return
+    */
+   URL getServerLibLocation();
+
+   /**
+    * Sets the location in which the server libraries reside
+    * 
+    * @param serverLibLocation
+    * @return
+    */
+   JBossASServerConfig serverLibLocation(URL serverLibLocation);
+
+   /**
+    * Sets the location in which the server libraries reside
+    * 
+    * @param serverLibLocation
+    * @return
+    * @throws IllegalArgumentException If the specified argument 
+    *    is non-null and cannot be constructed into a URL
+    */
+   JBossASServerConfig serverLibLocation(String serverLibLocation) throws IllegalArgumentException;
+
+   /**
+    * Obtains the location in which the server persistent data resides
+    * 
+    * @return
+    */
+   URL getServerDataLocation();
+
+   /**
+    * Sets the location in which the server persistent data resides
+    * 
+    * @param serverDataLocation
+    * @return
+    */
+   JBossASServerConfig serverDataLocation(URL serverDataLocation);
+
+   /**
+    * Sets the location in which the server persistent data resides
+    * 
+    * @param serverDataLocation
+    * @return
+    * @throws IllegalArgumentException If the specified argument 
+    *    is non-null and cannot be constructed into a URL
+    */
+   JBossASServerConfig serverDataLocation(String serverDataLocation) throws IllegalArgumentException;
+
+   /**
+    * Obtains the location in which the server temp data resides
+    * 
+    * @return
+    */
+   URL getServerTempLocation();
+
+   /**
+    * Sets the location in which the server temp data resides
+    * 
+    * @param serverTempLocation
+    * @return
+    */
+   JBossASServerConfig serverTempLocation(URL serverTempLocation);
+
+   /**
+    * Sets the location in which the server temp data resides
+    * 
+    * @param serverTempLocation
+    * @return
+    * @throws IllegalArgumentException If the specified argument 
+    *    is non-null and cannot be constructed into a URL
+    */
+   JBossASServerConfig serverTempLocation(String serverTempLocation) throws IllegalArgumentException;
+
+   /**
+    * Obtains the partition name for this instance in clustering
+    * 
+    * @return
+    */
+   String getPartitionName();
+
+   /**
+    * Sets the partition name for this instance in clustering
+    * 
+    * @param partitionName
+    * @return
+    */
+   JBossASServerConfig partitionName(String partitionName);
+
+   /**
+    * Obtains the UDP Group for this instance in clustering
+    * 
+    * @return
+    */
+   String getUdpGroup();
+
+   /**
+    * Sets the UDP Group for this instance in clustering
+    * 
+    * @param udpGroup
+    * @return
+    */
+   JBossASServerConfig udpGroup(String udpGroup);
+
+   /**
+    * Obtains the JGroups UDP Multicast port for use 
+    * in clustering
+    * 
+    * @return
+    */
+   Integer getUdpPort();
+
+   /**
+    * Sets the JGroups UDP Multicast port for use 
+    * in clustering
+    * 
+    * @param udpPort The port, or null to use the default
+    * @return
+    */
+   JBossASServerConfig udpPort(Integer udpPort);
+
+   /**
+    * Determines whether or not to load the native libraries
+    * 
+    * @return
+    */
+   Boolean isLoadNative();
+
+   /**
+    * Sets whether or not to load the native libraries
+    * 
+    * @param loadNative true or false, or null to use the default
+    * @return
+    */
+   JBossASServerConfig loadNative(Boolean loadNative);
+
+   /**
+    * Obtains the location of the JBossAS
+    * Native Libraries
+    * 
+    * @return
+    */
+   URL getNativeLibraryLocation();
+
+   /**
+    * Sets the location of the JBossAS
+    * Native Libraries
+    * 
+    * @param nativeLibraryLocation
+    * @return
+    */
+   JBossASServerConfig nativeLibraryLocation(URL nativeLibraryLocation);
+
+   /**
+    * Sets the location of the JBossAS
+    * Native Libraries
+    * 
+    * @param nativeLibraryLocation
+    * @return
+    * @throws IllegalArgumentException If the specified argument 
+    *    is non-null and cannot be constructed into a URL
+    */
+   JBossASServerConfig nativeLibraryLocation(String nativeLibraryLocation) throws IllegalArgumentException;
+
+}


Property changes on: projects/bootstrap/trunk/spi-as/src/main/java/org/jboss/bootstrap/spi/as/config/JBossASServerConfig.java
___________________________________________________________________
Name: svn:mergeinfo
   + 

Copied: projects/bootstrap/trunk/spi-as/src/main/java/org/jboss/bootstrap/spi/as/server/JBossASServer.java (from rev 88135, projects/bootstrap/trunk/impl-as/src/main/java/org/jboss/bootstrap/impl/as/server/JBossASServer.java)
===================================================================
--- projects/bootstrap/trunk/spi-as/src/main/java/org/jboss/bootstrap/spi/as/server/JBossASServer.java	                        (rev 0)
+++ projects/bootstrap/trunk/spi-as/src/main/java/org/jboss/bootstrap/spi/as/server/JBossASServer.java	2009-05-04 06:25:28 UTC (rev 88138)
@@ -0,0 +1,72 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2009, 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.bootstrap.spi.as.server;
+
+import java.util.Date;
+
+import org.jboss.bootstrap.spi.as.config.JBossASServerConfig;
+import org.jboss.bootstrap.spi.mc.server.MCBasedServer;
+
+/**
+ * JBossASServer
+ * 
+ * Contract of a JBossAS Server
+ *
+ * @author Jason Dillon
+ * @author Scott.Stark at jboss.org
+ * @author <a href="mailto:andrew.rubinger at jboss.org">ALR</a>
+ * @version $Revision: $
+ */
+public interface JBossASServer extends MCBasedServer<JBossASServer, JBossASServerConfig>
+{
+   //-------------------------------------------------------------------------------------||
+   // Contracts --------------------------------------------------------------------------||
+   //-------------------------------------------------------------------------------------||
+
+   /** @return The server start date */
+   Date getStartDate();
+
+   /** @return The server version, the underlying version expressed as a String */
+   String getVersion();
+
+   /** @return The server version code name */
+   String getVersionName();
+
+   /** @return The full server version number */
+   String getVersionNumber();
+
+   /** @return The date the server was build (compiled) */
+   String getBuildNumber();
+
+   /** @return The JVM used to build the server */
+   String getBuildJVM();
+
+   /** @return The Operating System used to build the server */
+   String getBuildOS();
+
+   /** @return The build id */
+   String getBuildID();
+
+   /** @return The date the server was build */
+   String getBuildDate();
+}


Property changes on: projects/bootstrap/trunk/spi-as/src/main/java/org/jboss/bootstrap/spi/as/server/JBossASServer.java
___________________________________________________________________
Name: svn:mergeinfo
   + 




More information about the jboss-cvs-commits mailing list