Author: lwaterman
Date: Tue Sep 5 09:11:05 2006
New Revision: 440381
URL: http://svn.apache.org/viewvc?view=rev&rev=440381
Log: (empty)
Added:
incubator/ode/scratch/ode/bpel-dapi/src/main/java/org/apache/ode/dapi/DeploymentService.java
- copied, changed from r425747,
incubator/ode/scratch/ode/bpel-dapi/src/main/java/org/apache/ode/dapi/DeployService.java
incubator/ode/scratch/ode/bpel-dapi/src/main/java/org/apache/ode/dapi/ProcessManagement.java
- copied, changed from r425747,
incubator/ode/scratch/ode/bpel-dapi/src/main/java/org/apache/ode/dapi/DefinitionMgmtService.java
incubator/ode/scratch/ode/bpel-dapi/src/main/java/org/apache/ode/dapi/ProcessManagementException.java
- copied, changed from r425747,
incubator/ode/scratch/ode/bpel-dapi/src/main/java/org/apache/ode/dapi/DefinitionMgmtException.java
Removed:
incubator/ode/scratch/ode/bpel-dapi/src/main/java/org/apache/ode/dapi/DefinitionMgmtException.java
incubator/ode/scratch/ode/bpel-dapi/src/main/java/org/apache/ode/dapi/DefinitionMgmtService.java
incubator/ode/scratch/ode/bpel-dapi/src/main/java/org/apache/ode/dapi/DeployService.java
incubator/ode/scratch/ode/bpel-dapi/src/main/java/org/apache/ode/dapi/EPRException.java
incubator/ode/scratch/ode/bpel-dapi/src/main/java/org/apache/ode/dapi/EPRGenerator.java
incubator/ode/scratch/ode/bpel-dapi/src/main/xsd/DeployResults.xsd
Modified:
incubator/ode/scratch/ode/bpel-dapi/pom.xml
incubator/ode/scratch/ode/bpel-dapi/src/main/java/org/apache/ode/dapi/DeploymentException.java
incubator/ode/scratch/ode/bpel-dapi/src/main/java/org/apache/ode/dapi/NameNotFoundException.java
incubator/ode/scratch/ode/bpel-dapi/src/main/java/org/apache/ode/dapi/VersionNotFoundException.java
Modified: incubator/ode/scratch/ode/bpel-dapi/pom.xml
URL:
http://svn.apache.org/viewvc/incubator/ode/scratch/ode/bpel-dapi/pom.xml?view=diff&rev=440381&r1=440380&r2=440381
==============================================================================
--- incubator/ode/scratch/ode/bpel-dapi/pom.xml (original)
+++ incubator/ode/scratch/ode/bpel-dapi/pom.xml Tue Sep 5 09:11:05 2006
@@ -1,4 +1,5 @@
<project>
+ <groupId>ode</groupId>
<artifactId>ode-bpel-deploy-api</artifactId>
<modelVersion>4.0.0</modelVersion>
<parent>
@@ -7,45 +8,41 @@
<version>0.1-SNAPSHOT</version>
</parent>
- <groupId>ode</groupId>
+
<version>0.1-SNAPSHOT</version>
<dependencies>
- <dependency>
- <groupId>javax.xml</groupId>
- <artifactId>jaxb-api</artifactId>
- <version>2.0EA3</version>
- </dependency>
- <dependency>
- <groupId>ode</groupId>
- <artifactId>ode-bpel-api</artifactId>
- <version>0.1-SNAPSHOT</version>
-
+ <dependency>
+ <groupId>xmlbeans</groupId>
+ <artifactId>xbean</artifactId>
+ <version>2.1.0</version>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>jaxb2-maven-plugin</artifactId>
- <executions>
- <execution>
- <goals>
- <goal>xjc</goal>
- </goals>
- </execution>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>xmlbeans-maven-plugin</artifactId>
+ <executions>
+ <execution>
+ <phase>generate-sources</phase>
+ <goals><goal>xmlbeans</goal></goals>
+ <configuration>
+ <javaSource>1.5</javaSource>
+ <!-- The following is needed for Eclipse build. -->
+ <schemaDirectory>src/main/xsd</schemaDirectory>
+ <xmlConfigs>
+ <xmlConfig
implementation="java.io.File">src/main/xsd/pmapi.xsdconfig</xmlConfig>
+ <xmlConfig
implementation="java.io.File">src/main/xsd/dd.xsdconfig</xmlConfig>
+
+ </xmlConfigs>
+ <quiet>true</quiet>
+ <failonerror>true</failonerror>
+ <!-- This is needed for eclipse project to work -->
+ <outputJar>target/xmlbeans.jar</outputJar>
+ </configuration>
+ </execution>
</executions>
- <configuration>
- <packageName>org.apache.ode.dapi.result</packageName>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-compiler-plugin</artifactId>
- <configuration>
- <source>1.5</source>
- <target>1.5</target>
- </configuration>
</plugin>
- </plugins>
+ </plugins>
</build>
</project>
Modified:
incubator/ode/scratch/ode/bpel-dapi/src/main/java/org/apache/ode/dapi/DeploymentException.java
URL:
http://svn.apache.org/viewvc/incubator/ode/scratch/ode/bpel-dapi/src/main/java/org/apache/ode/dapi/DeploymentException.java?view=diff&rev=440381&r1=440380&r2=440381
==============================================================================
---
incubator/ode/scratch/ode/bpel-dapi/src/main/java/org/apache/ode/dapi/DeploymentException.java
(original)
+++
incubator/ode/scratch/ode/bpel-dapi/src/main/java/org/apache/ode/dapi/DeploymentException.java
Tue Sep 5 09:11:05 2006
@@ -1,5 +1,43 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
package org.apache.ode.dapi;
public class DeploymentException extends Exception {
+
+ public DeploymentException() {
+ super();
+ // TODO Auto-generated constructor stub
+ }
+
+ public DeploymentException(String arg0, Throwable arg1) {
+ super(arg0, arg1);
+ // TODO Auto-generated constructor stub
+ }
+
+ public DeploymentException(String arg0) {
+ super(arg0);
+ // TODO Auto-generated constructor stub
+ }
+
+ public DeploymentException(Throwable arg0) {
+ super(arg0);
+ // TODO Auto-generated constructor stub
+ }
}
Copied:
incubator/ode/scratch/ode/bpel-dapi/src/main/java/org/apache/ode/dapi/DeploymentService.java
(from r425747,
incubator/ode/scratch/ode/bpel-dapi/src/main/java/org/apache/ode/dapi/DeployService.java)
URL:
http://svn.apache.org/viewvc/incubator/ode/scratch/ode/bpel-dapi/src/main/java/org/apache/ode/dapi/DeploymentService.java?view=diff&rev=440381&p1=incubator/ode/scratch/ode/bpel-dapi/src/main/java/org/apache/ode/dapi/DeployService.java&r1=425747&p2=incubator/ode/scratch/ode/bpel-dapi/src/main/java/org/apache/ode/dapi/DeploymentService.java&r2=440381
==============================================================================
---
incubator/ode/scratch/ode/bpel-dapi/src/main/java/org/apache/ode/dapi/DeployService.java
(original)
+++
incubator/ode/scratch/ode/bpel-dapi/src/main/java/org/apache/ode/dapi/DeploymentService.java
Tue Sep 5 09:11:05 2006
@@ -1,9 +1,29 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
package org.apache.ode.dapi;
-import java.io.InputStream;
-import java.net.URL;
+import java.io.File;
+
+import java.util.jar.JarFile;
+
+import javax.xml.namespace.QName;
-import org.apache.ode.dapi.result.ProcessDefinitions;
/**
* This interface is used by the integration layer
@@ -14,94 +34,102 @@
* as part of a larger services package. The larger services
* package will be specific to an IL/ESB.
*
- * The deployment interface is dependant on the IL to
- * supply an endpoint reference for a process definition.
+ * The deployment interface is dependant on the deployment
+ * descriptor.
+ *
* An endpoint reference is opaque to the ODE definition
* repository and therefore once a process is deployed the
- * ODE definition repository is tightly coupled to the IL/ESB.
+ * ODE definition repository it is tightly coupled to the IL.
*
*/
-public interface DeployService {
+public interface DeploymentService {
/**
- * Package deployment consumes an archive file that may contain
+ * Deployment consumes an archive file that may contain
* one to many ".bpel" documents. The archive file must also contain
- * all supporting documents ( .wsdl, .xsd ). Any <import> elements
located
- * within a document must have a URL location relative to the
archive file.
+ * all supporting documents ( .wsdl, .xsd ) as well as an ODE
deployment
+ * descriptor. Any <import> elements located within a
+ * document must have a URL location relative to the file.
*
- * ODE deployment also defines attributes that may be set at process
or archive
- * file granularity. The following attributes are defined:
*
- * LogLevel: SEVERE/MAJOR/MINOR/INFO
- * Version: java.lang.String
- *
- * Deployment tooling may add these attributes as extensibility
attributes
- * on the BPEL <process> element ...
+ * Note - a package/process may not be deployed over an existing
package version. A new version identifier
+ * is always required.
+ * Note - if the signature of the service interface changes a
process may not
+ * be versioned. A new PID for the process is required.
*
- * <process name="ExampleProcess1"
targetNamespace="org:apache:ode:example:ExampleProcess1"
xmlns:tns="org:apache:ode:example:ExampleProcess1" suppressJoinFailure="yes"
- * xmlns="http://schemas.xmlsoap.org/ws/2003/03/business-process/"
xmlns:ode="org:apache:ode" ode:Version="1.0" ode:LogLevel="SEVERE">
+ * @param packageArchive a compressed archive file that contains
deployment documents ( .bpel, .wsdl, .xsd, .dd )
+ * @return DeploymentUnit a description of what was deployed.
+ * @exception DeploymentException
*
- * or deployment tooling may add these attributes into the archive
file manifest. If added to the manifest these
- * attributes apply to all process definitions found in the archive.
Manifest example ...
+ */
+
+ public DeploymentUnit deploy(JarFile deploymentArchive) throws
DeploymentException ;
+
+
+ /**
+ * Deployment consumes a file that may contain
+ * one to many ".bpel" documents. The file must also contain
+ * all supporting documents ( .wsdl, .xsd ) as well as an ODE
deployment
+ * descriptor. Any <import> elements located within a
+ * document must have a URL location relative to the file.
*
- * Name: ODE-ExamplePackage
- * Description: A test application
- * LogLevel: SEVERE
- * Version: 1.0
*
* Note - a package/process may not be deployed over an existing
package version. A new version identifier
* is always required.
* Note - if the signature of the service interface changes a
process may not
- * be versioned. A new QName for the process is required.
+ * be versioned. A new PID for the process is required.
*
- * @param packageArchive a compressed archive file that contains
deployment documents ( .bpel, .wsdl, .xsd )
- * @param current set current version to version found in archive
file.
- * @param activate a flag to activate the process definition on
deployment
- * @return an XML description of the deployed process definitions.
+ * @param packageArchive a compressed archive file that contains
deployment documents ( .bpel, .wsdl, .xsd, .dd )
+ * @return DeploymentUnit a description of what was deployed.
* @exception DeploymentException
*
- * TODO: the DeploymentException needs to be rich enough to handle
- * parse/validation errors found in multiple BPEL documents.
- *
*/
- public ProcessDefinitions deployPackage(InputStream packageArchive,
EPRGenerator eprGen, boolean current, boolean activate) throws
DeploymentException ;
+
+ public DeploymentUnit deploy(File deploymentFile) throws
DeploymentException ;
+
/**
- * A convenience method that defaults deployment switches to true
for typical use cases.
- */
- public ProcessDefinitions deployPackage(InputStream packageArchive,
EPRGenerator eprGen) throws DeploymentException ;
-
+ * A convenience method that validates BPEL deployment artifacts
without deploying into the ODE definition repository
+ */
+ public DeploymentUnit validate(JarFile deploymentArchive) throws
DeploymentException;
+
/**
- * A convenience method that validates a deployment package without
deploying it into the repository
- */
- public ProcessDefinitions validatePackage(InputStream
packageArchive) throws DeploymentException;
+ * A convenience method that validates BPEL deployment artifacts
without deploying into the ODE definition repository
+ */
+ public DeploymentUnit validate(File deploymentFile) throws
DeploymentException;
/**
- * Enables the deployment of process definitions from a URL location
rather
- * than an archive file.
- *
- * The URL location should have a structure similar to the archive
file.
- *
- * @param updateLocation a URL to BPEL documents
- * @param current set current version to version found in archive
file.
- * @param activate a flag to activate the process definition on
deployment
- * @return an XML description of the deployed process definitions.
- *
- * TODO: the DeploymentException needs to be rich enough to handle
- * parse/validation errors found in multiple BPEL documents.
- *
+ * Enables the IL to start processes in a deterministic order since
the IL may need to initialize resources prior to
+ * starting a process definition. Starts all PID associated with a
given deployment unit.
+ * @param duid the deployment unit ID.
+ * @throws DeploymentException
*/
- public ProcessDefinitions signalUpdate(URL updateLocation, boolean
current, boolean activate) throws DeploymentException;
+ public void startDeploymentUnit(QName duid) throws
DeploymentException;
+
/**
- * A convenience method that defaults deployment switches to true
for typical use cases.
+ * Enables the IL to start processes in a deterministic order since
the IL may need to initialize resources prior to
+ * starting a process definition. Starts a specific PID.
+ * @param pid the process definition ID.
+ * @throws DeploymentException
*/
- public ProcessDefinitions signalUpdate(URL updateLocation) throws
DeploymentException;
+ public void startProcess(QName pid) throws DeploymentException;
+
/**
- * A convenience method that validates a deployment package without
deploying it into the repository
+ * Enables the IL to start processes in a deterministic order since
the IL may need to initialize resources prior to
+ * starting a process definition. Starts all process definitions
that have been deployed into the ODE definition repository.
+ * @throws DeploymentException
*/
- public ProcessDefinitions signalValidate(URL updateLocation) throws
DeploymentException;
+ public void startAll() throws DeploymentException;
+
+ /**
+ * Remove a deployment unit from the ODE definition repository. This
is a destructive process and will terminate
+ * any running process instances associated with the deployment unit.
+ * @param duid the deployment unit identifier
+ * @throws DeploymentException if the deployment unit identifier
could not be found.
+ */
+ public void undeploy(QName duid) throws DeploymentException;
}
Modified:
incubator/ode/scratch/ode/bpel-dapi/src/main/java/org/apache/ode/dapi/NameNotFoundException.java
URL:
http://svn.apache.org/viewvc/incubator/ode/scratch/ode/bpel-dapi/src/main/java/org/apache/ode/dapi/NameNotFoundException.java?view=diff&rev=440381&r1=440380&r2=440381
==============================================================================
---
incubator/ode/scratch/ode/bpel-dapi/src/main/java/org/apache/ode/dapi/NameNotFoundException.java
(original)
+++
incubator/ode/scratch/ode/bpel-dapi/src/main/java/org/apache/ode/dapi/NameNotFoundException.java
Tue Sep 5 09:11:05 2006
@@ -1,5 +1,23 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
package org.apache.ode.dapi;
-public class NameNotFoundException extends DefinitionMgmtException {
+public class NameNotFoundException extends ProcessManagementException {
}
Copied:
incubator/ode/scratch/ode/bpel-dapi/src/main/java/org/apache/ode/dapi/ProcessManagement.java
(from r425747,
incubator/ode/scratch/ode/bpel-dapi/src/main/java/org/apache/ode/dapi/DefinitionMgmtService.java)
URL:
http://svn.apache.org/viewvc/incubator/ode/scratch/ode/bpel-dapi/src/main/java/org/apache/ode/dapi/ProcessManagement.java?view=diff&rev=440381&p1=incubator/ode/scratch/ode/bpel-dapi/src/main/java/org/apache/ode/dapi/DefinitionMgmtService.java&r1=425747&p2=incubator/ode/scratch/ode/bpel-dapi/src/main/java/org/apache/ode/dapi/ProcessManagement.java&r2=440381
==============================================================================
---
incubator/ode/scratch/ode/bpel-dapi/src/main/java/org/apache/ode/dapi/DefinitionMgmtService.java
(original)
+++
incubator/ode/scratch/ode/bpel-dapi/src/main/java/org/apache/ode/dapi/ProcessManagement.java
Tue Sep 5 09:11:05 2006
@@ -1,11 +1,28 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
package org.apache.ode.dapi;
-import javax.management.MBeanException;
+import java.util.Collection;
+
import javax.xml.namespace.QName;
-import org.apache.ode.dapi.result.ProcessDefinition;
-import org.apache.ode.dapi.result.ProcessDefinitions;
-import org.apache.ode.iapi.EndpointReference;
+import org.apache.ode.bpel.pmapi.TProcessInfo;
/**
* This interface enables the management of the ODE process
@@ -13,43 +30,74 @@
*
*/
-public interface DefinitionMgmtService {
+public interface ProcessManagement {
/**
- * The current version represents the process definition under which
- * the runtime will create new process instances.
- * Changing the current version will not effect any "in-flight"
process. It will
- * only effect new process instances.
- * @param definitionName a unique process definition identifier, The
identifier must have been deployed into the definition repository.
- * @param version the version must have been deployed into the
definition repository.
- * @return the current version identifier
+ * Activate a specific process verison. An active process verison
+ * is available to instantiate new processes. Currently
+ * ODE only supports a single activation policy. By activating a
+ * version any other active version will be implicity retired.
+ * @param process identifier as defined in deployment descriptor.
+ * @param version identifier as defined in deployment descriptor.
*/
- void setCurrentVersion(QName definitionName, String version) throws
NameNotFoundException, VersionNotFoundException;
+ void activateVersion(QName pid, String version) throws
NameNotFoundException, VersionNotFoundException;
/**
- * The current version represents the process definition under which
- * the runtime will create new process instances.
- * @param definitionName a unique process definition identifier
- * @param version
+ * Retire a specific process version. A retired process is available
+ * to route messages to instantiated processes however it is not
+ * available to instantiate new processes.
+ * @param process identifier as defined in deployment descriptor.
+ * @param version identifier as defined in deployment descriptor.
+ */
+ void retireVersion(QName pid, String version) throws
NameNotFoundException;
+
+ /**
+ * Enable a specific process identifier. An enabled process is
available
+ * for message routing.
+ * @param process identifier as defined in the deployment descriptor.
*/
- String getCurrentVersion(QName definitionName) throws
NameNotFoundException;
+ void enableProcess(QName pid) throws NameNotFoundException;
/**
- * @param definitionNames a list of definition identifiers
+ * Disable a specific process identifier. A disabled process is not
+ * available for message routing.
+ * @param process identifier as defined in the deployment descriptor.
*/
- void undeploy(QName[] definitionNames) throws NameNotFoundException;
-
+ void disableProcess(QName pid) throws NameNotFoundException;
+
/**
- * @return the contents of an ODE process definition repository
- *
+ * Enable a specific deployment unit. Enabling a deployment unit is
+ * equivalent to enabling all processes within the deployment unit.
+ * @param duid deployment unit identifier as defined in thet
deployment descriptor.
*/
- ProcessDefinitions query();
+
+ void enableDeploymentUnit(QName duid) throws NameNotFoundException;
/**
- * @param definitionName return the definitions for a list of
process definition
- * @return the contents of an ODE process definition repository
- *
+ * disable a specific deployment unit. disabling a deployment unit is
+ * equivalent to disabling all processes within the deployment unit.
+ * @param duid deployment unit identifier as defined in thet
deployment descriptor.
*/
- ProcessDefinition query(QName definitionName) throws
NameNotFoundException;
-
+
+ void disableDeploymentUnit(QName duid) throws NameNotFoundException;
+
+ /**
+ * Lists all the deployment units in the ODE process repository.
+ * @return a collection of DeployDocuments
+ */
+ Collection<TDeploymentUnit> listDeploymentUnits();
+
+ /**
+ * Lists all process ids in a given deployment unit.
+ * @param duid deployment unit identifier
+ * @return an array of process id QNames
+ */
+ Collection<TProcessInfo> listProcesses(QName duid);
+
+ /**
+ * Get the deployment unit identifier in which a process is
deployed.
+ * @param processId
+ * @return package name
+ */
+ TDeploymentUnit getProcessDeploymentUnit(QName processId);
}
Copied:
incubator/ode/scratch/ode/bpel-dapi/src/main/java/org/apache/ode/dapi/ProcessManagementException.java
(from r425747,
incubator/ode/scratch/ode/bpel-dapi/src/main/java/org/apache/ode/dapi/DefinitionMgmtException.java)
URL:
http://svn.apache.org/viewvc/incubator/ode/scratch/ode/bpel-dapi/src/main/java/org/apache/ode/dapi/ProcessManagementException.java?view=diff&rev=440381&p1=incubator/ode/scratch/ode/bpel-dapi/src/main/java/org/apache/ode/dapi/DefinitionMgmtException.java&r1=425747&p2=incubator/ode/scratch/ode/bpel-dapi/src/main/java/org/apache/ode/dapi/ProcessManagementException.java&r2=440381
==============================================================================
---
incubator/ode/scratch/ode/bpel-dapi/src/main/java/org/apache/ode/dapi/DefinitionMgmtException.java
(original)
+++
incubator/ode/scratch/ode/bpel-dapi/src/main/java/org/apache/ode/dapi/ProcessManagementException.java
Tue Sep 5 09:11:05 2006
@@ -1,5 +1,23 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
package org.apache.ode.dapi;
-public class DefinitionMgmtException extends Exception {
+public class ProcessManagementException extends Exception {
}
Modified:
incubator/ode/scratch/ode/bpel-dapi/src/main/java/org/apache/ode/dapi/VersionNotFoundException.java
URL:
http://svn.apache.org/viewvc/incubator/ode/scratch/ode/bpel-dapi/src/main/java/org/apache/ode/dapi/VersionNotFoundException.java?view=diff&rev=440381&r1=440380&r2=440381
==============================================================================
---
incubator/ode/scratch/ode/bpel-dapi/src/main/java/org/apache/ode/dapi/VersionNotFoundException.java
(original)
+++
incubator/ode/scratch/ode/bpel-dapi/src/main/java/org/apache/ode/dapi/VersionNotFoundException.java
Tue Sep 5 09:11:05 2006
@@ -1,5 +1,23 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
package org.apache.ode.dapi;
-public class VersionNotFoundException extends DefinitionMgmtException {
+public class VersionNotFoundException extends ProcessManagementException {
}