[jbossws-commits] JBossWS SVN: r8565 - in spi/branches/ropalka/src/main/java/org/jboss/wsf/spi: deployment and 1 other directory.

jbossws-commits at lists.jboss.org jbossws-commits at lists.jboss.org
Mon Oct 27 14:24:12 EDT 2008


Author: richard.opalka at jboss.com
Date: 2008-10-27 14:24:12 -0400 (Mon, 27 Oct 2008)
New Revision: 8565

Removed:
   spi/branches/ropalka/src/main/java/org/jboss/wsf/spi/ComposableRuntime.java
   spi/branches/ropalka/src/main/java/org/jboss/wsf/spi/RuntimeAware.java
   spi/branches/ropalka/src/main/java/org/jboss/wsf/spi/WSFRuntime.java
   spi/branches/ropalka/src/main/java/org/jboss/wsf/spi/WSFRuntimeLocator.java
   spi/branches/ropalka/src/main/java/org/jboss/wsf/spi/deployment/DeploymentLifecycle.java
   spi/branches/ropalka/src/main/java/org/jboss/wsf/spi/transport/
Modified:
   spi/branches/ropalka/src/main/java/org/jboss/wsf/spi/deployment/DeploymentAspect.java
   spi/branches/ropalka/src/main/java/org/jboss/wsf/spi/deployment/DeploymentAspectManager.java
Log:
[JBWS-2338] removing WSFRuntime abstraction

Deleted: spi/branches/ropalka/src/main/java/org/jboss/wsf/spi/ComposableRuntime.java
===================================================================
--- spi/branches/ropalka/src/main/java/org/jboss/wsf/spi/ComposableRuntime.java	2008-10-27 17:26:08 UTC (rev 8564)
+++ spi/branches/ropalka/src/main/java/org/jboss/wsf/spi/ComposableRuntime.java	2008-10-27 18:24:12 UTC (rev 8565)
@@ -1,58 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source.
- * Copyright 2006, 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.wsf.spi;
-
-import org.jboss.wsf.spi.deployment.DeploymentAspectManager;
-import org.jboss.wsf.spi.invocation.InvocationHandlerFactory;
-import org.jboss.wsf.spi.invocation.RequestHandlerFactory;
-import org.jboss.wsf.spi.management.EndpointRegistry;
-import org.jboss.wsf.spi.transport.TransportManager;
-import org.jboss.wsf.spi.transport.TransportManagerFactory;
-
-import java.util.List;
-
-/**
- * @author Heiko.Braun <heiko.braun at jboss.com>
- */
-public interface ComposableRuntime
-{
-   void setTransportManagerFactory(TransportManagerFactory factory);
-
-   TransportManagerFactory getTransportManagerFactory();
-   
-   void setEndpointRegistry(EndpointRegistry endpointRegistry);
-
-   EndpointRegistry getEndpointRegistry();
-
-   void setDeploymentAspectManager(DeploymentAspectManager deploymentManager);
-
-   DeploymentAspectManager getDeploymentAspectManager();
-
-   void setRequestHandlerFactory(RequestHandlerFactory factory);
-
-   RequestHandlerFactory getRequestHandlerFactory();
-
-   void setInvocationHandlerFactory(InvocationHandlerFactory factory);
-
-   InvocationHandlerFactory getInvocationHandlerFactory(); 
-   
-}

Deleted: spi/branches/ropalka/src/main/java/org/jboss/wsf/spi/RuntimeAware.java
===================================================================
--- spi/branches/ropalka/src/main/java/org/jboss/wsf/spi/RuntimeAware.java	2008-10-27 17:26:08 UTC (rev 8564)
+++ spi/branches/ropalka/src/main/java/org/jboss/wsf/spi/RuntimeAware.java	2008-10-27 18:24:12 UTC (rev 8565)
@@ -1,30 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source.
- * Copyright 2006, 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.wsf.spi;
-
-/**
- * @author Heiko.Braun <heiko.braun at jboss.com>
- */
-public interface RuntimeAware
-{
-   void setRuntimeAssociation(WSFRuntime runtime);
-}

Deleted: spi/branches/ropalka/src/main/java/org/jboss/wsf/spi/WSFRuntime.java
===================================================================
--- spi/branches/ropalka/src/main/java/org/jboss/wsf/spi/WSFRuntime.java	2008-10-27 17:26:08 UTC (rev 8564)
+++ spi/branches/ropalka/src/main/java/org/jboss/wsf/spi/WSFRuntime.java	2008-10-27 18:24:12 UTC (rev 8565)
@@ -1,35 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source.
- * Copyright 2006, 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.wsf.spi;
-
-import org.jboss.wsf.spi.deployment.Deployment;
-
-/**
- * @author Heiko.Braun <heiko.braun at jboss.com>
- */
-public interface WSFRuntime extends ComposableRuntime
-{
-   void create(Deployment deployment);
-   void start(Deployment deployment);
-   void stop(Deployment deployment);
-   void destroy(Deployment deployment);
-}

Deleted: spi/branches/ropalka/src/main/java/org/jboss/wsf/spi/WSFRuntimeLocator.java
===================================================================
--- spi/branches/ropalka/src/main/java/org/jboss/wsf/spi/WSFRuntimeLocator.java	2008-10-27 17:26:08 UTC (rev 8564)
+++ spi/branches/ropalka/src/main/java/org/jboss/wsf/spi/WSFRuntimeLocator.java	2008-10-27 18:24:12 UTC (rev 8565)
@@ -1,35 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source.
- * Copyright 2006, 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.wsf.spi;
-
-/**
- * @author Heiko.Braun <heiko.braun at jboss.com>
- */
-public interface WSFRuntimeLocator
-{
-   /**
-    * Locate a web service runtime by logical name
-    * @param runtimeName
-    * @return
-    */
-   WSFRuntime locateRuntime(String runtimeName);
-}

Modified: spi/branches/ropalka/src/main/java/org/jboss/wsf/spi/deployment/DeploymentAspect.java
===================================================================
--- spi/branches/ropalka/src/main/java/org/jboss/wsf/spi/deployment/DeploymentAspect.java	2008-10-27 17:26:08 UTC (rev 8564)
+++ spi/branches/ropalka/src/main/java/org/jboss/wsf/spi/deployment/DeploymentAspect.java	2008-10-27 18:24:12 UTC (rev 8565)
@@ -26,8 +26,6 @@
 import java.util.StringTokenizer;
 
 import org.jboss.logging.Logger;
-import org.jboss.wsf.spi.WSFRuntime;
-import org.jboss.wsf.spi.RuntimeAware;
 
 /**
  * A deployment aspect that does nothing.
@@ -38,7 +36,7 @@
  * @author Thomas.Diesler at jboss.com
  * @since 20-Apr-2007 
  */
-public abstract class DeploymentAspect implements DeploymentLifecycle
+public abstract class DeploymentAspect
 {
    // provide logging
    protected final Logger log = Logger.getLogger(getClass());
@@ -68,21 +66,20 @@
       this.requires = requires;
    }
 
-   public void create(Deployment dep, WSFRuntime runtime)
+   public void create(Deployment dep)
    {
-
    }
 
-   public void destroy(Deployment dep, WSFRuntime runtime)
+   public void destroy(Deployment dep)
    {
    }
 
-   public void start(Deployment dep, WSFRuntime runtime)
+   public void start(Deployment dep)
    {
    }
 
-   public void stop(Deployment dep, WSFRuntime runtime)
-   {      
+   public void stop(Deployment dep)
+   {
    }
 
    public Set<String> getProvidesAsSet()

Modified: spi/branches/ropalka/src/main/java/org/jboss/wsf/spi/deployment/DeploymentAspectManager.java
===================================================================
--- spi/branches/ropalka/src/main/java/org/jboss/wsf/spi/deployment/DeploymentAspectManager.java	2008-10-27 17:26:08 UTC (rev 8564)
+++ spi/branches/ropalka/src/main/java/org/jboss/wsf/spi/deployment/DeploymentAspectManager.java	2008-10-27 18:24:12 UTC (rev 8565)
@@ -24,15 +24,13 @@
 import java.util.List;
 
 /**
- * Process an ordered chain of {@link org.jboss.wsf.spi.deployment.DeploymentAspect}'s
- * on a {@link org.jboss.wsf.spi.deployment.DeploymentLifecycle}
+ * A general service deployment manager.
  * 
  * @author Thomas.Diesler at jboss.com
- * @author Heiko.Braun at jboss.com
  *
  * @since 20-Apr-2007 
  */
-public interface DeploymentAspectManager extends DeploymentLifecycle
+public interface DeploymentAspectManager
 {
    /** Get the name for this aspect manager */
    String getName();
@@ -48,5 +46,10 @@
    
    /** Set the list of registered deployment aspects */
    void setDeploymentAspects(List<DeploymentAspect> aspects);
+
+   /** Deploy a web service */
+   void deploy(Deployment dep);
+
+   /** Undeploy a web service */
+   void undeploy(Deployment dep);
 }
-

Deleted: spi/branches/ropalka/src/main/java/org/jboss/wsf/spi/deployment/DeploymentLifecycle.java
===================================================================
--- spi/branches/ropalka/src/main/java/org/jboss/wsf/spi/deployment/DeploymentLifecycle.java	2008-10-27 17:26:08 UTC (rev 8564)
+++ spi/branches/ropalka/src/main/java/org/jboss/wsf/spi/deployment/DeploymentLifecycle.java	2008-10-27 18:24:12 UTC (rev 8565)
@@ -1,38 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source.
- * Copyright 2006, 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.wsf.spi.deployment;
-
-import org.jboss.wsf.spi.WSFRuntime;
-
-/**
- * @author Heiko.Braun <heiko.braun at jboss.com>
- */
-public interface DeploymentLifecycle
-{
-   void create(Deployment dep, WSFRuntime runtime);
-
-   void start(Deployment dep, WSFRuntime runtime);
-
-   void stop(Deployment dep, WSFRuntime runtime);
-
-   void destroy(Deployment dep, WSFRuntime runtime);
-}




More information about the jbossws-commits mailing list