[jboss-cvs] JBossAS SVN: r91029 - projects/embedded/trunk/core/src/main/java/org/jboss/embedded/core/server.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Thu Jul 9 18:37:28 EDT 2009


Author: ALRubinger
Date: 2009-07-09 18:37:28 -0400 (Thu, 09 Jul 2009)
New Revision: 91029

Added:
   projects/embedded/trunk/core/src/main/java/org/jboss/embedded/core/server/JBossASEmbeddedServer.java
Log:
[EMB-32] Server SPI for Embedded

Added: projects/embedded/trunk/core/src/main/java/org/jboss/embedded/core/server/JBossASEmbeddedServer.java
===================================================================
--- projects/embedded/trunk/core/src/main/java/org/jboss/embedded/core/server/JBossASEmbeddedServer.java	                        (rev 0)
+++ projects/embedded/trunk/core/src/main/java/org/jboss/embedded/core/server/JBossASEmbeddedServer.java	2009-07-09 22:37:28 UTC (rev 91029)
@@ -0,0 +1,66 @@
+/*
+ * 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.embedded.core.server;
+
+import org.jboss.bootstrap.spi.as.server.JBossASServer;
+import org.jboss.deployers.client.spi.Deployment;
+import org.jboss.deployers.spi.DeploymentException;
+import org.jboss.embedded.core.deployment.VirtualDeployment;
+
+/**
+ * JBossASEmbeddedServer
+ *
+ * Contract of the JBoss Application Server as seen by clients 
+ * wishing to embed into an existing runtime
+ *
+ * @author <a href="mailto:andrew.rubinger at jboss.org">ALR</a>
+ * @version $Revision: $
+ */
+public interface JBossASEmbeddedServer extends JBossASServer
+{
+   //-------------------------------------------------------------------------------||
+   // Contracts --------------------------------------------------------------------||
+   //-------------------------------------------------------------------------------||
+
+   //   /**
+   //    * Deploys the specified deployment into the server
+   //    */
+   //   void deploy(VirtualDeploymentGroup deployment);
+
+   /**
+    * Deploys the specified deployment into the server
+    * 
+    * @param deployment
+    * @throws DeploymentException
+    * @throws IllegalArgumentException If the deployment was not specified
+    */
+   void deploy(Deployment deployment) throws DeploymentException, IllegalArgumentException;
+
+   /**
+    * Deploys the specified deployment into the server
+    * 
+    * @param deployment
+    * @throws DeploymentException
+    * @throws IllegalArgumentException If the deployment was not specified
+    */
+   void deploy(VirtualDeployment deployment) throws DeploymentException, IllegalArgumentException;
+}




More information about the jboss-cvs-commits mailing list