[jboss-cvs] JBossAS SVN: r99518 - in projects/bootstrap/trunk: impl-as/src/test/java/org/jboss/bootstrap/impl/as/server and 1 other directories.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Sun Jan 17 23:36:17 EST 2010


Author: ALRubinger
Date: 2010-01-17 23:36:16 -0500 (Sun, 17 Jan 2010)
New Revision: 99518

Added:
   projects/bootstrap/trunk/spi-as/src/main/java/org/jboss/bootstrap/spi/as/server/MCJBossASBasedServerProvider.java
   projects/bootstrap/trunk/spi-as/src/main/java/org/jboss/bootstrap/spi/as/server/MCJBossASServerProvider.java
Removed:
   projects/bootstrap/trunk/spi-as/src/main/java/org/jboss/bootstrap/spi/as/server/MCBasedJBossASGenericServerProvider.java
   projects/bootstrap/trunk/spi-as/src/main/java/org/jboss/bootstrap/spi/as/server/MCBasedJBossASServerProvider.java
Modified:
   projects/bootstrap/trunk/impl-as/src/main/java/org/jboss/bootstrap/impl/as/server/AbstractJBossASServerBase.java
   projects/bootstrap/trunk/impl-as/src/main/java/org/jboss/bootstrap/impl/as/server/JBossASServerImpl.java
   projects/bootstrap/trunk/impl-as/src/test/java/org/jboss/bootstrap/impl/as/server/AbstractMCServerTest.java
   projects/bootstrap/trunk/impl-as/src/test/java/org/jboss/bootstrap/impl/as/server/JBossASServerOperationsTestCase.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/MCServerUnitTestCase.java
Log:
[JBBOOT-118] Rename spi-as Server Provider contracts

Modified: projects/bootstrap/trunk/impl-as/src/main/java/org/jboss/bootstrap/impl/as/server/AbstractJBossASServerBase.java
===================================================================
--- projects/bootstrap/trunk/impl-as/src/main/java/org/jboss/bootstrap/impl/as/server/AbstractJBossASServerBase.java	2010-01-18 04:31:20 UTC (rev 99517)
+++ projects/bootstrap/trunk/impl-as/src/main/java/org/jboss/bootstrap/impl/as/server/AbstractJBossASServerBase.java	2010-01-18 04:36:16 UTC (rev 99518)
@@ -49,7 +49,7 @@
 import org.jboss.bootstrap.impl.base.config.InvalidBootstrapURLException;
 import org.jboss.bootstrap.impl.mc.server.AbstractMCServerBase;
 import org.jboss.bootstrap.spi.as.metadata.BootstrapMetaData;
-import org.jboss.bootstrap.spi.as.server.MCBasedJBossASGenericServerProvider;
+import org.jboss.bootstrap.spi.as.server.MCJBossASBasedServerProvider;
 import org.jboss.logging.Logger;
 import org.jboss.managed.api.annotation.ManagementComponent;
 import org.jboss.managed.api.annotation.ManagementObject;
@@ -67,7 +67,7 @@
 @ManagementObject(name = AbstractJBossASServerBase.NAME_MANAGEMENT_OBJECT, isRuntime = true, properties = ManagementProperties.EXPLICIT, description = "the MCServer bootstrap view", componentType = @ManagementComponent(type = "MCBean", subtype = "*"))
 public abstract class AbstractJBossASServerBase<K extends JBossASBasedServer<K, T>, T extends JBossASBasedServerConfig<T>>
       extends
-         AbstractMCServerBase<K, T> implements MCBasedJBossASGenericServerProvider<K, T>
+         AbstractMCServerBase<K, T> implements MCJBossASBasedServerProvider<K, T>
 {
    //-------------------------------------------------------------------------------||
    // Class Members ----------------------------------------------------------------||

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	2010-01-18 04:31:20 UTC (rev 99517)
+++ projects/bootstrap/trunk/impl-as/src/main/java/org/jboss/bootstrap/impl/as/server/JBossASServerImpl.java	2010-01-18 04:36:16 UTC (rev 99518)
@@ -24,7 +24,7 @@
 import org.jboss.bootstrap.api.as.config.JBossASServerConfig;
 import org.jboss.bootstrap.api.as.server.JBossASServer;
 import org.jboss.bootstrap.impl.as.config.BasicJBossASServerConfig;
-import org.jboss.bootstrap.spi.as.server.MCBasedJBossASServerProvider;
+import org.jboss.bootstrap.spi.as.server.MCJBossASServerProvider;
 
 /**
  * JBossASServerImpl
@@ -36,7 +36,7 @@
  */
 public class JBossASServerImpl extends AbstractJBossASServerBase<JBossASServer, JBossASServerConfig>
       implements
-         MCBasedJBossASServerProvider
+         MCJBossASServerProvider
 {
    //-------------------------------------------------------------------------------------||
    // Constructors -----------------------------------------------------------------------||

Modified: projects/bootstrap/trunk/impl-as/src/test/java/org/jboss/bootstrap/impl/as/server/AbstractMCServerTest.java
===================================================================
--- projects/bootstrap/trunk/impl-as/src/test/java/org/jboss/bootstrap/impl/as/server/AbstractMCServerTest.java	2010-01-18 04:31:20 UTC (rev 99517)
+++ projects/bootstrap/trunk/impl-as/src/test/java/org/jboss/bootstrap/impl/as/server/AbstractMCServerTest.java	2010-01-18 04:36:16 UTC (rev 99518)
@@ -32,7 +32,7 @@
 import org.jboss.bootstrap.api.as.server.JBossASServer;
 import org.jboss.bootstrap.api.lifecycle.LifecycleState;
 import org.jboss.bootstrap.impl.as.config.BasicJBossASServerConfig;
-import org.jboss.bootstrap.spi.as.server.MCBasedJBossASServerProvider;
+import org.jboss.bootstrap.spi.as.server.MCJBossASServerProvider;
 import org.jboss.bootstrap.spi.server.ServerInitializer;
 import org.jboss.dependency.spi.ControllerContext;
 import org.jboss.dependency.spi.ControllerState;
@@ -99,7 +99,7 @@
       // Server didn't start up cleanly, so manually run init cleanup
       else
       {
-         final MCBasedJBossASServerProvider provider = (MCBasedJBossASServerProvider) server;
+         final MCJBossASServerProvider provider = (MCJBossASServerProvider) server;
          final ServerInitializer<JBossASServer, JBossASServerConfig> initializer = provider.getServerInitializer();
          if (initializer != null)
          {
@@ -152,7 +152,7 @@
     * @param server
     * @throws Throwable
     */
-   protected void installPojo(final MCBasedJBossASServerProvider server, final String mcBindName) throws Throwable
+   protected void installPojo(final MCJBossASServerProvider server, final String mcBindName) throws Throwable
    {
       // Construct BeanMetaData
       final Pojo pojo = new Pojo();
@@ -190,7 +190,7 @@
       log.trace("Asserting POJO installed as expected...");
 
       // Get the underlying bean context
-      final KernelController controller = ((MCBasedJBossASServerProvider) this.server).getKernel().getController();
+      final KernelController controller = ((MCJBossASServerProvider) this.server).getKernel().getController();
       final ControllerContext beanContext = controller.getContext(mcBindName, null);
       TestCase.assertNotNull("beanContext from " + mcBindName + " is null", beanContext);
       final ControllerState beanState = beanContext.getState();

Modified: projects/bootstrap/trunk/impl-as/src/test/java/org/jboss/bootstrap/impl/as/server/JBossASServerOperationsTestCase.java
===================================================================
--- projects/bootstrap/trunk/impl-as/src/test/java/org/jboss/bootstrap/impl/as/server/JBossASServerOperationsTestCase.java	2010-01-18 04:31:20 UTC (rev 99517)
+++ projects/bootstrap/trunk/impl-as/src/test/java/org/jboss/bootstrap/impl/as/server/JBossASServerOperationsTestCase.java	2010-01-18 04:36:16 UTC (rev 99518)
@@ -29,7 +29,7 @@
 import org.jboss.bootstrap.api.as.config.JBossASServerConfig;
 import org.jboss.bootstrap.api.as.server.JBossASServer;
 import org.jboss.bootstrap.impl.as.common.TestUtils;
-import org.jboss.bootstrap.spi.as.server.MCBasedJBossASServerProvider;
+import org.jboss.bootstrap.spi.as.server.MCJBossASServerProvider;
 import org.jboss.logging.Logger;
 import org.junit.After;
 import org.junit.Before;
@@ -108,7 +108,7 @@
       log.info("testIsStarted");
 
       // Cast to get the SPI View
-      final MCBasedJBossASServerProvider serverProviderSpiView = (MCBasedJBossASServerProvider) server;
+      final MCJBossASServerProvider serverProviderSpiView = (MCJBossASServerProvider) server;
 
       // Test not started
       final boolean startedBefore = serverProviderSpiView.isStarted();

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	2010-01-18 04:31:20 UTC (rev 99517)
+++ projects/bootstrap/trunk/impl-as/src/test/java/org/jboss/bootstrap/impl/as/server/JBossASServerVersionInformationTestCase.java	2010-01-18 04:36:16 UTC (rev 99518)
@@ -25,7 +25,7 @@
 import junit.framework.TestCase;
 
 import org.jboss.bootstrap.spi.as.config.JBossASServerConfigProvider;
-import org.jboss.bootstrap.spi.as.server.MCBasedJBossASServerProvider;
+import org.jboss.bootstrap.spi.as.server.MCJBossASServerProvider;
 import org.jboss.logging.Logger;
 import org.junit.BeforeClass;
 import org.junit.Test;
@@ -50,7 +50,7 @@
    /**
     * The server to test; use the SPI view, not the client view
     */
-   private static MCBasedJBossASServerProvider server;
+   private static MCJBossASServerProvider server;
 
    /*
     * Test expected values; these must match the contents of the 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	2010-01-18 04:31:20 UTC (rev 99517)
+++ projects/bootstrap/trunk/impl-as/src/test/java/org/jboss/bootstrap/impl/as/server/KernelEventsTestCase.java	2010-01-18 04:36:16 UTC (rev 99518)
@@ -27,7 +27,7 @@
 import org.jboss.bootstrap.api.lifecycle.LifecycleEventException;
 import org.jboss.bootstrap.api.lifecycle.LifecycleEventHandler;
 import org.jboss.bootstrap.api.lifecycle.LifecycleState;
-import org.jboss.bootstrap.spi.as.server.MCBasedJBossASServerProvider;
+import org.jboss.bootstrap.spi.as.server.MCJBossASServerProvider;
 import org.jboss.bootstrap.spi.server.ServerProvider;
 import org.jboss.kernel.Kernel;
 import org.jboss.kernel.spi.event.KernelEvent;
@@ -62,7 +62,7 @@
    /**
     * The Server; use the SPI view and not the client view to get at getKernel()
     */
-   private MCBasedJBossASServerProvider server;
+   private MCJBossASServerProvider server;
 
    /**
     * Whether or not we got the start event
@@ -86,7 +86,7 @@
    public void init() throws Throwable
    {
       // Make and set the test server
-      final MCBasedJBossASServerProvider server = new NoOpJBossASServer();
+      final MCJBossASServerProvider server = new NoOpJBossASServer();
       this.server = server;
 
       // Initialize
@@ -114,7 +114,7 @@
       log.info("testKernelEvents");
 
       // Get the server
-      final MCBasedJBossASServerProvider server = this.server;
+      final MCJBossASServerProvider server = this.server;
 
       // Test integrity
       this.ensureIntegrity();
@@ -146,7 +146,7 @@
       log.info("testKernelEventsOnServerRestart");
 
       // Get the server
-      final MCBasedJBossASServerProvider server = this.server;
+      final MCJBossASServerProvider server = this.server;
 
       // Test integrity
       this.ensureIntegrity();

Modified: projects/bootstrap/trunk/impl-as/src/test/java/org/jboss/bootstrap/impl/as/server/MCServerUnitTestCase.java
===================================================================
--- projects/bootstrap/trunk/impl-as/src/test/java/org/jboss/bootstrap/impl/as/server/MCServerUnitTestCase.java	2010-01-18 04:31:20 UTC (rev 99517)
+++ projects/bootstrap/trunk/impl-as/src/test/java/org/jboss/bootstrap/impl/as/server/MCServerUnitTestCase.java	2010-01-18 04:36:16 UTC (rev 99518)
@@ -31,7 +31,7 @@
 import org.jboss.bootstrap.api.descriptor.ClassLoaderResourceBootstrapDescriptor;
 import org.jboss.bootstrap.api.lifecycle.LifecycleState;
 import org.jboss.bootstrap.api.mc.server.MCServer;
-import org.jboss.bootstrap.spi.as.server.MCBasedJBossASServerProvider;
+import org.jboss.bootstrap.spi.as.server.MCJBossASServerProvider;
 import org.jboss.kernel.spi.deployment.KernelDeployment;
 import org.jboss.logging.Logger;
 import org.junit.Test;
@@ -90,7 +90,7 @@
       TestCase.assertTrue("Server should report as started", state.equals(LifecycleState.STARTED));
 
       // Get the internals/SPI view
-      final MCBasedJBossASServerProvider provider = (MCBasedJBossASServerProvider) server;
+      final MCJBossASServerProvider provider = (MCJBossASServerProvider) server;
 
       /*
        * Install a test MC bean into the Server, ensure MC takes
@@ -121,7 +121,7 @@
       server.start();
 
       // Get the internals/SPI view
-      final MCBasedJBossASServerProvider provider = (MCBasedJBossASServerProvider) server;
+      final MCJBossASServerProvider provider = (MCJBossASServerProvider) server;
 
       // Get the Deployment
       final Map<String, KernelDeployment> deployments = provider.getDeployments();

Deleted: projects/bootstrap/trunk/spi-as/src/main/java/org/jboss/bootstrap/spi/as/server/MCBasedJBossASGenericServerProvider.java
===================================================================
--- projects/bootstrap/trunk/spi-as/src/main/java/org/jboss/bootstrap/spi/as/server/MCBasedJBossASGenericServerProvider.java	2010-01-18 04:31:20 UTC (rev 99517)
+++ projects/bootstrap/trunk/spi-as/src/main/java/org/jboss/bootstrap/spi/as/server/MCBasedJBossASGenericServerProvider.java	2010-01-18 04:36:16 UTC (rev 99518)
@@ -1,93 +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.spi.as.server;
-
-import java.util.Date;
-import java.util.Map;
-
-import org.jboss.bootstrap.api.as.config.JBossASBasedServerConfig;
-import org.jboss.bootstrap.api.as.server.JBossASBasedServer;
-import org.jboss.bootstrap.api.server.Server;
-import org.jboss.bootstrap.spi.mc.server.MCBasedServerProvider;
-
-/**
- * Contract for implementations of JBoss Application Servers 
- * and extensions thereof, backed by an MC implementation
- *
- * @author <a href="mailto:andrew.rubinger at jboss.org">ALR</a>
- * @version $Revision: $
- */
-public interface MCBasedJBossASGenericServerProvider<K extends JBossASBasedServer<K, T>, T extends JBossASBasedServerConfig<T>>
-      extends
-         MCBasedServerProvider<K, T>,
-         JBossASBasedServer<K, T>
-{
-   //-------------------------------------------------------------------------------------||
-   // 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();
-
-   /**
-    * Get the optional server configuration metadata
-    * 
-    * @return A possibly empty map of configuration metadata
-    */
-   Map<String, Object> getMetaData();
-
-   /**
-    * Returns whether or not the server is started.
-    * 
-    * JBBOOT-80
-    * @return
-    * @deprecated Should be removed when we won't be targeting
-    * jboss-bootstrap for AS 5.x anymore.  AS6 will not support 
-    * this invocation, instead we should use {@link Server#getState()} 
-    */
-   @Deprecated
-   boolean isStarted();
-}

Deleted: projects/bootstrap/trunk/spi-as/src/main/java/org/jboss/bootstrap/spi/as/server/MCBasedJBossASServerProvider.java
===================================================================
--- projects/bootstrap/trunk/spi-as/src/main/java/org/jboss/bootstrap/spi/as/server/MCBasedJBossASServerProvider.java	2010-01-18 04:31:20 UTC (rev 99517)
+++ projects/bootstrap/trunk/spi-as/src/main/java/org/jboss/bootstrap/spi/as/server/MCBasedJBossASServerProvider.java	2010-01-18 04:36:16 UTC (rev 99518)
@@ -1,44 +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.spi.as.server;
-
-import org.jboss.bootstrap.api.as.config.JBossASServerConfig;
-import org.jboss.bootstrap.api.as.server.JBossASServer;
-
-/**
- * JBossASServer
- * 
- * Contract for implementations of JBossAS Servers
- *
- * @author Jason Dillon
- * @author Scott.Stark at jboss.org
- * @author <a href="mailto:andrew.rubinger at jboss.org">ALR</a>
- * @version $Revision: $
- */
-public interface MCBasedJBossASServerProvider
-      extends
-         MCBasedJBossASGenericServerProvider<JBossASServer, JBossASServerConfig>,
-         JBossASServer
-{
-
-}

Copied: projects/bootstrap/trunk/spi-as/src/main/java/org/jboss/bootstrap/spi/as/server/MCJBossASBasedServerProvider.java (from rev 99509, projects/bootstrap/trunk/spi-as/src/main/java/org/jboss/bootstrap/spi/as/server/MCBasedJBossASGenericServerProvider.java)
===================================================================
--- projects/bootstrap/trunk/spi-as/src/main/java/org/jboss/bootstrap/spi/as/server/MCJBossASBasedServerProvider.java	                        (rev 0)
+++ projects/bootstrap/trunk/spi-as/src/main/java/org/jboss/bootstrap/spi/as/server/MCJBossASBasedServerProvider.java	2010-01-18 04:36:16 UTC (rev 99518)
@@ -0,0 +1,94 @@
+/*
+ * 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 java.util.Map;
+
+import org.jboss.bootstrap.api.as.config.JBossASBasedServerConfig;
+import org.jboss.bootstrap.api.as.server.JBossASBasedServer;
+import org.jboss.bootstrap.api.server.Server;
+import org.jboss.bootstrap.spi.mc.server.MCBasedServerProvider;
+
+/**
+ * Contract for implementations of JBoss Application Servers 
+ * and extensions thereof, backed by an MC implementation,
+ * leaving an open generic context
+ *
+ * @author <a href="mailto:andrew.rubinger at jboss.org">ALR</a>
+ * @version $Revision: $
+ */
+public interface MCJBossASBasedServerProvider<K extends JBossASBasedServer<K, T>, T extends JBossASBasedServerConfig<T>>
+      extends
+         MCBasedServerProvider<K, T>,
+         JBossASBasedServer<K, T>
+{
+   //-------------------------------------------------------------------------------------||
+   // 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();
+
+   /**
+    * Get the optional server configuration metadata
+    * 
+    * @return A possibly empty map of configuration metadata
+    */
+   Map<String, Object> getMetaData();
+
+   /**
+    * Returns whether or not the server is started.
+    * 
+    * JBBOOT-80
+    * @return
+    * @deprecated Should be removed when we won't be targeting
+    * jboss-bootstrap for AS 5.x anymore.  AS6 will not support 
+    * this invocation, instead we should use {@link Server#getState()} 
+    */
+   @Deprecated
+   boolean isStarted();
+}

Copied: projects/bootstrap/trunk/spi-as/src/main/java/org/jboss/bootstrap/spi/as/server/MCJBossASServerProvider.java (from rev 99509, projects/bootstrap/trunk/spi-as/src/main/java/org/jboss/bootstrap/spi/as/server/MCBasedJBossASServerProvider.java)
===================================================================
--- projects/bootstrap/trunk/spi-as/src/main/java/org/jboss/bootstrap/spi/as/server/MCJBossASServerProvider.java	                        (rev 0)
+++ projects/bootstrap/trunk/spi-as/src/main/java/org/jboss/bootstrap/spi/as/server/MCJBossASServerProvider.java	2010-01-18 04:36:16 UTC (rev 99518)
@@ -0,0 +1,43 @@
+/*
+ * 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 org.jboss.bootstrap.api.as.config.JBossASServerConfig;
+import org.jboss.bootstrap.api.as.server.JBossASServer;
+
+/**
+ * Contract for implementations of JBoss Application Servers 
+ * and extensions thereof, backed by an MC implementation
+ *
+ * @author Jason Dillon
+ * @author Scott.Stark at jboss.org
+ * @author <a href="mailto:andrew.rubinger at jboss.org">ALR</a>
+ * @version $Revision: $
+ */
+public interface MCJBossASServerProvider
+      extends
+         MCJBossASBasedServerProvider<JBossASServer, JBossASServerConfig>,
+         JBossASServer
+{
+
+}




More information about the jboss-cvs-commits mailing list