[jbpm-commits] JBoss JBPM SVN: r3163 - projects/spec/trunk/modules/api/src/main/java/org/jboss/bpm/api/service.

do-not-reply at jboss.org do-not-reply at jboss.org
Tue Dec 2 10:40:44 EST 2008


Author: thomas.diesler at jboss.com
Date: 2008-12-02 10:40:44 -0500 (Tue, 02 Dec 2008)
New Revision: 3163

Removed:
   projects/spec/trunk/modules/api/src/main/java/org/jboss/bpm/api/service/DeploymentService.java
Log:
Use interfaces for services

Deleted: projects/spec/trunk/modules/api/src/main/java/org/jboss/bpm/api/service/DeploymentService.java
===================================================================
--- projects/spec/trunk/modules/api/src/main/java/org/jboss/bpm/api/service/DeploymentService.java	2008-12-02 15:38:37 UTC (rev 3162)
+++ projects/spec/trunk/modules/api/src/main/java/org/jboss/bpm/api/service/DeploymentService.java	2008-12-02 15:40:44 UTC (rev 3163)
@@ -1,64 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2005, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-package org.jboss.bpm.api.service;
-
-//$Id$
-
-import java.net.URL;
-
-import org.jboss.bpm.api.deployment.Deployment;
-import org.jboss.bpm.api.model.ProcessDefinition;
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
-
-/**
- * The DeploymentService is the entry point to deploy and undeploy ProcessDefinitions.
- * 
- * @author thomas.diesler at jboss.com
- * @since 28-Nov-2008
- */
-public abstract class DeploymentService extends AbstractService
-{
-  // Provide logging
-  final static Logger log = LoggerFactory.getLogger(DeploymentService.class);
-
-  // Hide public constructor
-  protected DeploymentService()
-  {
-  }
-  
-  /**
-   * Creates a deployment from a URL
-   */
-  public abstract Deployment createDeployment(URL deploymentURL);
-
-  
-  /**
-   * Deploy the Deployment to the engine. 
-   */
-  public abstract ProcessDefinition deploy(Deployment dep);
-
-  /**
-   * Undeploy the Deployment from the engine. 
-   */
-  public abstract boolean undeploy(Deployment dep);
-}
\ No newline at end of file




More information about the jbpm-commits mailing list