axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d..@apache.org
Subject cvs commit: xml-axis/java/src/org/apache/axis/rpc/encoding DeserializationContext.java Deserializer.java DeserializerFactory.java SerializationContext.java Serializer.java SerializerFactory.java TypeMapping.java TypeMappingRegistry.java
Date Sat, 13 Oct 2001 11:16:16 GMT
dug         01/10/13 04:16:16

  Modified:    java/src/org/apache/axis/rpc Service.java
  Added:       java/src/org/apache/axis/rpc/encoding
                        DeserializationContext.java Deserializer.java
                        DeserializerFactory.java SerializationContext.java
                        Serializer.java SerializerFactory.java
                        TypeMapping.java TypeMappingRegistry.java
  Log:
  Add some more jaxrpc interfaces
  
  Revision  Changes    Path
  1.4       +5 -0      xml-axis/java/src/org/apache/axis/rpc/Service.java
  
  Index: Service.java
  ===================================================================
  RCS file: /home/cvs/xml-axis/java/src/org/apache/axis/rpc/Service.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- Service.java	2001/10/03 15:30:06	1.3
  +++ Service.java	2001/10/13 11:16:16	1.4
  @@ -5,6 +5,7 @@
   package org.apache.axis.rpc ;
   
   import org.apache.axis.rpc.namespace.QName;
  +import org.apache.axis.rpc.encoding.TypeMappingRegistry;
   
   public interface Service 
         extends java.io.Serializable, javax.naming.Referenceable {
  @@ -19,4 +20,8 @@
      public java.net.URL getWSDLDocumentLocation();
      public QName getServiceName();
      public java.util.Iterator getPorts();
  +
  +   public void setTypeMappingRegistry(TypeMappingRegistry registry)
  +                       throws JAXRPCException ;
  +   public TypeMappingRegistry getTypeMappingRegistry();
   }
  
  
  
  1.1                  xml-axis/java/src/org/apache/axis/rpc/encoding/DeserializationContext.java
  
  Index: DeserializationContext.java
  ===================================================================
  package org.apache.axis.rpc.encoding;
  
  public interface DeserializationContext {
  }
  
  
  
  1.1                  xml-axis/java/src/org/apache/axis/rpc/encoding/Deserializer.java
  
  Index: Deserializer.java
  ===================================================================
  package org.apache.axis.rpc.encoding ;
  
  public interface Deserializer {
      public String getMechanismType();
  }
  
  
  
  1.1                  xml-axis/java/src/org/apache/axis/rpc/encoding/DeserializerFactory.java
  
  Index: DeserializerFactory.java
  ===================================================================
  package org.apache.axis.rpc.encoding;
  
  import org.apache.axis.rpc.JAXRPCException;
  
  public interface DeserializerFactory extends java.io.Serializable {
      public Deserializer getDeserializerAs(String mechanismType)
                throws JAXRPCException;
      public java.util.Iterator getSupportedMechanismTypes();
  }
  
  
  
  1.1                  xml-axis/java/src/org/apache/axis/rpc/encoding/SerializationContext.java
  
  Index: SerializationContext.java
  ===================================================================
  package org.apache.axis.rpc.encoding;
  
  public interface SerializationContext {
  }
  
  
  
  1.1                  xml-axis/java/src/org/apache/axis/rpc/encoding/Serializer.java
  
  Index: Serializer.java
  ===================================================================
  package org.apache.axis.rpc.encoding;
  
  import java.lang.String ;
  
  public interface Serializer extends java.io.Serializable {
      public String getMechanismType();
  }
  
  
  
  1.1                  xml-axis/java/src/org/apache/axis/rpc/encoding/SerializerFactory.java
  
  Index: SerializerFactory.java
  ===================================================================
  package org.apache.axis.rpc.encoding;
  
  import org.apache.axis.rpc.JAXRPCException;
  
  import java.util.Iterator;
  
  public interface SerializerFactory extends java.io.Serializable {
      public Serializer getSerializerAs(String mechanismType)
                throws JAXRPCException;
      public Iterator getSupportedMechanismTypes();
  }
  
  
  
  1.1                  xml-axis/java/src/org/apache/axis/rpc/encoding/TypeMapping.java
  
  Index: TypeMapping.java
  ===================================================================
  // temporary Service interface definition - replace with JAX-RPC
  // when it is ready.
  
  // package javax.xml.rpc ;
  package org.apache.axis.rpc.encoding ;
  
  import org.apache.axis.rpc.JAXRPCException ;
  import org.apache.axis.rpc.namespace.QName ;
  
  public interface TypeMapping {
      public java.util.Iterator getSupportedEncodings();
      public void register(Class javaType, QName xmlType,
                          SerializerFactory sf,
                          DeserializerFactory dsf)
                             throws JAXRPCException ;
      public SerializerFactory getSerializer(Class javaType,
                                           QName xmlType)
                             throws JAXRPCException ;
      public DeserializerFactory getDeserializer(Class javaType,
                                              QName xmlType)
                             throws JAXRPCException ;
      public void removeSerializer(Class javaType, QName xmlType)
                             throws JAXRPCException;
      public void removeDeserializer(Class javaType, QName xmlType)
                             throws JAXRPCException;
  }
  
  
  
  1.1                  xml-axis/java/src/org/apache/axis/rpc/encoding/TypeMappingRegistry.java
  
  Index: TypeMappingRegistry.java
  ===================================================================
  // temporary Service interface definition - replace with JAX-RPC
  // when it is ready.
  
  // package javax.xml.rpc ;
  package org.apache.axis.rpc.encoding ;
  
  import org.apache.axis.rpc.JAXRPCException ;
  
  import java.util.Iterator ;
  
  public interface TypeMappingRegistry extends java.io.Serializable {
      public void registry(TypeMapping mapping, String namespaceURI)
                                 throws JAXRPCException ;
      public Iterator getTypeMappings();
      public Iterator getEncodingStyle();
      public TypeMapping getTypeMapping(String namespaceURI);
      public TypeMapping createTypeMapping(String namespaceURI);
  }
  
  
  

Mime
View raw message