Author: mszefler
Date: Mon Aug  7 11:50:28 2006
New Revision: 429430

URL: http://svn.apache.org/viewvc?rev=429430&view=rev
Log:
Added interfaces for BpelEvent/intercept mechanism.

Added:
    
incubator/ode/trunk/bpel-api/src/main/java/org/apache/ode/bpel/iapi/BpelEventListener.java
   (with props)
    
incubator/ode/trunk/bpel-api/src/main/java/org/apache/ode/bpel/iapi/MessageExchangeInterceptor.java
   (with props)

Added: 
incubator/ode/trunk/bpel-api/src/main/java/org/apache/ode/bpel/iapi/BpelEventListener.java
URL: 
http://svn.apache.org/viewvc/incubator/ode/trunk/bpel-api/src/main/java/org/apache/ode/bpel/iapi/BpelEventListener.java?rev=429430&view=auto
==============================================================================
--- 
incubator/ode/trunk/bpel-api/src/main/java/org/apache/ode/bpel/iapi/BpelEventListener.java
 (added)
+++ 
incubator/ode/trunk/bpel-api/src/main/java/org/apache/ode/bpel/iapi/BpelEventListener.java
 Mon Aug  7 11:50:28 2006
@@ -0,0 +1,13 @@
+package org.apache.ode.bpel.iapi;
+
+import org.apache.ode.bpel.evt.BpelEvent;
+
+/**
+ * Listener interface implemented by parties interested in the
+ * 
+ * @author mszefler
+ *
+ */
+public interface BpelEventListener {
+  void onEvent(BpelEvent bpelEvent);
+}

Propchange: 
incubator/ode/trunk/bpel-api/src/main/java/org/apache/ode/bpel/iapi/BpelEventListener.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: 
incubator/ode/trunk/bpel-api/src/main/java/org/apache/ode/bpel/iapi/MessageExchangeInterceptor.java
URL: 
http://svn.apache.org/viewvc/incubator/ode/trunk/bpel-api/src/main/java/org/apache/ode/bpel/iapi/MessageExchangeInterceptor.java?rev=429430&view=auto
==============================================================================
--- 
incubator/ode/trunk/bpel-api/src/main/java/org/apache/ode/bpel/iapi/MessageExchangeInterceptor.java
 (added)
+++ 
incubator/ode/trunk/bpel-api/src/main/java/org/apache/ode/bpel/iapi/MessageExchangeInterceptor.java
 Mon Aug  7 11:50:28 2006
@@ -0,0 +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.bpel.iapi;
+
+public interface MessageExchangeInterceptor {
+       boolean onBpelServerInvoked(MyRoleMessageExchange mex);
+       
+       boolean onProcessInvoked(MyRoleMessageExchange mex);
+       
+       boolean onPartnerInvoked(MessageExchange mex);
+       
+       
+}

Propchange: 
incubator/ode/trunk/bpel-api/src/main/java/org/apache/ode/bpel/iapi/MessageExchangeInterceptor.java
------------------------------------------------------------------------------
    svn:eol-style = native


Reply via email to