jmsnell     2002/11/18 12:07:32

  Modified:    java/src/org/apache/axis/ime/event MessageStatusEvent.java
               java/src/org/apache/axis/ime MessageExchange.java
                        MessageExchangeLifecycle.java
               java/src/org/apache/axis/ime/internal
                        MessageExchangeImpl.java
  Added:       java/src/org/apache/axis/ime/event
                        MessageExchangeStatus.java
               java/src/org/apache/axis/ime FeatureEnabled.java
  Removed:     java/src/org/apache/axis/ime MessageExchangeStatus.java
  Log:
  
  
  Revision  Changes    Path
  1.2       +0 -1      
xml-axis/java/src/org/apache/axis/ime/event/MessageStatusEvent.java
  
  Index: MessageStatusEvent.java
  ===================================================================
  RCS file: 
/home/cvs/xml-axis/java/src/org/apache/axis/ime/event/MessageStatusEvent.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- MessageStatusEvent.java   13 Nov 2002 05:24:20 -0000      1.1
  +++ MessageStatusEvent.java   18 Nov 2002 20:07:31 -0000      1.2
  @@ -55,7 +55,6 @@
   package org.apache.axis.ime.event;
   
   import org.apache.axis.ime.MessageExchangeCorrelator;
  -import org.apache.axis.ime.MessageExchangeStatus;
   
   /**
    * The MessageExchangeStatus event is used to provide status 
  
  
  
  1.1                  
xml-axis/java/src/org/apache/axis/ime/event/MessageExchangeStatus.java
  
  Index: MessageExchangeStatus.java
  ===================================================================
  /*
   * The Apache Software License, Version 1.1
   *
   *
   * Copyright (c) 2001 The Apache Software Foundation.  All rights
   * reserved.
   *
   * Redistribution and use in source and binary forms, with or without
   * modification, are permitted provided that the following conditions
   * are met:
   *
   * 1. Redistributions of source code must retain the above copyright
   *    notice, this list of conditions and the following disclaimer.
   *
   * 2. Redistributions in binary form must reproduce the above copyright
   *    notice, this list of conditions and the following disclaimer in
   *    the documentation and/or other materials provided with the
   *    distribution.
   *
   * 3. The end-user documentation included with the redistribution,
   *    if any, must include the following acknowledgment:
   *       "This product includes software developed by the
   *        Apache Software Foundation (http://www.apache.org/)."
   *    Alternately, this acknowledgment may appear in the software itself,
   *    if and wherever such third-party acknowledgments normally appear.
   *
   * 4. The names "Axis" and "Apache Software Foundation" must
   *    not be used to endorse or promote products derived from this
   *    software without prior written permission. For written
   *    permission, please contact [EMAIL PROTECTED]
   *
   * 5. Products derived from this software may not be called "Apache",
   *    nor may "Apache" appear in their name, without prior written
   *    permission of the Apache Software Foundation.
   *
   * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
   * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
   * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
   * DISCLAIMED.  IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
   * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
   * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
   * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
   * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
   * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
   * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
   * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
   * SUCH DAMAGE.
   * ====================================================================
   *
   * This software consists of voluntary contributions made by many
   * individuals on behalf of the Apache Software Foundation.  For more
   * information on the Apache Software Foundation, please see
   * <http://www.apache.org/>.
   */
  package org.apache.axis.ime.event;
  
  import java.io.Serializable;
  
  /**
   * Used to indicate a custom MessageExchange event
   * 
   * @author James M Snell ([EMAIL PROTECTED])
   */
  public interface MessageExchangeStatus
          extends Serializable {
  }
  
  
  
  1.8       +2 -23     xml-axis/java/src/org/apache/axis/ime/MessageExchange.java
  
  Index: MessageExchange.java
  ===================================================================
  RCS file: /home/cvs/xml-axis/java/src/org/apache/axis/ime/MessageExchange.java,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- MessageExchange.java      13 Nov 2002 05:24:20 -0000      1.7
  +++ MessageExchange.java      18 Nov 2002 20:07:32 -0000      1.8
  @@ -67,7 +67,8 @@
    * @author James M Snell ([EMAIL PROTECTED])
    * @author Ray Chun ([EMAIL PROTECTED])
    */
  -public interface MessageExchange {
  +public interface MessageExchange
  +        extends FeatureEnabled {
   
       /**
        * Send an outbound message.  (Impl's of this method
  @@ -192,28 +193,6 @@
               MessageExchangeEventListener listener);
           
       public MessageExchangeEventListener getMessageExchangeEventListener();
  -
  -    /**
  -     * @param String The id of the feature to enable
  -     * @throws AxisFault
  -     */
  -    public void enableFeature(String featureId)
  -            throws AxisFault;
  -
  -    /**
  -     * @param String The id of the feature to disable
  -     * @throws AxisFault
  -     */
  -    public void disableFeature(String featureId)
  -            throws AxisFault;
  -
  -    /**
  -     * @param String The id of the feature to check
  -     * @return boolean
  -     * @throws AxisFault
  -     */
  -    public boolean isFeatureEnabled(String featureId)
  -            throws AxisFault;
   
       /**
        * @param String The id of the property
  
  
  
  1.5       +1 -1      
xml-axis/java/src/org/apache/axis/ime/MessageExchangeLifecycle.java
  
  Index: MessageExchangeLifecycle.java
  ===================================================================
  RCS file: 
/home/cvs/xml-axis/java/src/org/apache/axis/ime/MessageExchangeLifecycle.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- MessageExchangeLifecycle.java     29 Oct 2002 22:29:27 -0000      1.4
  +++ MessageExchangeLifecycle.java     18 Nov 2002 20:07:32 -0000      1.5
  @@ -89,7 +89,7 @@
   
       /**
        * Block indefinitely until shutdown is 
  -     * complete
  +     * complete.
        */
       public void awaitShutdown()
               throws InterruptedException;
  
  
  
  1.1                  xml-axis/java/src/org/apache/axis/ime/FeatureEnabled.java
  
  Index: FeatureEnabled.java
  ===================================================================
  package org.apache.axis.ime;
  
  import org.apache.axis.AxisFault;
  
  /**
   * A "feature" is a collection of behaviors such as 
   * reliable delivery, WS-Security support, etc that 
   * may be enabled or disabled.  Enabling a feature may
   * involve adding handlers to chain, setting properties,
   * etc.  The point is to make it easier to enable/disable
   * complex behaviors
   * 
   * @author James M Snell ([EMAIL PROTECTED])
   */
  public interface FeatureEnabled {
  
      /**
       * @param String The id of the feature to enable
       * @throws AxisFault
       */
      public void enableFeature(String featureId)
              throws AxisFault;
  
      /**
       * @param String The id of the feature to disable
       * @throws AxisFault
       */
      public void disableFeature(String featureId)
              throws AxisFault;
  
      /**
       * @param String The id of the feature to check
       * @return boolean
       * @throws AxisFault
       */
      public boolean isFeatureEnabled(String featureId)
              throws AxisFault;
              
      /**
     * @return String[]
     * @throws AxisFault
     */
      public String[] getSupportedFeatures()
              throws AxisFault;
  
  }
  
  
  
  1.10      +9 -0      
xml-axis/java/src/org/apache/axis/ime/internal/MessageExchangeImpl.java
  
  Index: MessageExchangeImpl.java
  ===================================================================
  RCS file: 
/home/cvs/xml-axis/java/src/org/apache/axis/ime/internal/MessageExchangeImpl.java,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- MessageExchangeImpl.java  13 Nov 2002 05:24:20 -0000      1.9
  +++ MessageExchangeImpl.java  18 Nov 2002 20:07:32 -0000      1.10
  @@ -315,6 +315,15 @@
   
       /**
        * Unsupported for now
  +     * @see org.apache.axis.ime.MessageExchange@isFeatureEnabled(featureId)
  +     */
  +    public String[] getSupportedFeatures()
  +            throws AxisFault {
  +        throw new 
UnsupportedOperationException(Messages.getMessage("unsupportedOperationException00"));
  +    }
  +
  +    /**
  +     * Unsupported for now
        * @see org.apache.axis.ime.MessageExchange@setProperty(String,Object)
        */
       public void setProperty(
  
  
  


Reply via email to