commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hamm...@apache.org
Subject cvs commit: jakarta-commons-sandbox/armi/src/java/org/apache/commons/armi/generator PrimarySourceGenerator.java
Date Fri, 04 Jan 2002 13:15:30 GMT
hammant     02/01/04 05:15:30

  Modified:    armi     PROPOSAL build.xml
               armi/src/java/org/apache/commons/armi/client/impl
                        BaseServedObject.java
               armi/src/java/org/apache/commons/armi/generator
                        PrimarySourceGenerator.java
  Added:       armi/lib bcel.jar
               armi/src/conf MANIFEST.MF
  Log:
  Mising manifest plus start of BCEL proxys.
  
  Revision  Changes    Path
  1.11      +3 -0      jakarta-commons-sandbox/armi/PROPOSAL
  
  Index: PROPOSAL
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/armi/PROPOSAL,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- PROPOSAL	4 Jan 2002 09:35:30 -0000	1.10
  +++ PROPOSAL	4 Jan 2002 13:15:30 -0000	1.11
  @@ -107,6 +107,9 @@
   2) Generated classes from getResource() from jars on the serverside as an
      alternative to the byte arrays in the current server side impl.
    
  +3) Clint and Server code for secure conversations.
  +
  +4) Authentication and Authorisation on lookup(..).
   
   Initial commiters:
   
  
  
  
  1.3       +2 -1      jakarta-commons-sandbox/armi/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/armi/build.xml,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- build.xml	2 Jan 2002 11:54:23 -0000	1.2
  +++ build.xml	4 Jan 2002 13:15:30 -0000	1.3
  @@ -3,7 +3,7 @@
   
   <!--
           "Alt (to) RMI" component of the Jakarta Commons Subproject
  -        $Id: build.xml,v 1.2 2002/01/02 11:54:23 hammant Exp $
  +        $Id: build.xml,v 1.3 2002/01/04 13:15:30 hammant Exp $
   -->
   
   
  @@ -81,6 +81,7 @@
     <path id="compile.classpath">
       <pathelement location="${build.home}/classes"/>
       <pathelement location="${commons-collections.jar}"/>
  +    <pathelement location="lib/bcel.jar"/>
     </path>
   
   <!-- ========== Test Execution Defaults =================================== -->
  
  
  
  1.1                  jakarta-commons-sandbox/armi/lib/bcel.jar
  
  	<<Binary file>>
  
  
  1.1                  jakarta-commons-sandbox/armi/src/conf/MANIFEST.MF
  
  Index: MANIFEST.MF
  ===================================================================
  Extension-Name: commons-armi
  Specification-Vendor: Apache Software Foundation
  Specification-Version: 1.0
  Implementation-Vendor: Apache Software Foundation
  Implementation-Version: 1.0.dev
  
  
  
  
  1.3       +4 -16     jakarta-commons-sandbox/armi/src/java/org/apache/commons/armi/client/impl/BaseServedObject.java
  
  Index: BaseServedObject.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/armi/src/java/org/apache/commons/armi/client/impl/BaseServedObject.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- BaseServedObject.java	3 Jan 2002 10:49:37 -0000	1.2
  +++ BaseServedObject.java	4 Jan 2002 13:15:30 -0000	1.3
  @@ -1,8 +1,8 @@
   
   /*
  - * $Header: /home/cvs/jakarta-commons-sandbox/armi/src/java/org/apache/commons/armi/client/impl/BaseServedObject.java,v
1.2 2002/01/03 10:49:37 hammant Exp $
  - * $Revision: 1.2 $
  - * $Date: 2002/01/03 10:49:37 $
  + * $Header: /home/cvs/jakarta-commons-sandbox/armi/src/java/org/apache/commons/armi/client/impl/BaseServedObject.java,v
1.3 2002/01/04 13:15:30 hammant Exp $
  + * $Revision: 1.3 $
  + * $Date: 2002/01/04 13:15:30 $
    *
    * ====================================================================
    *
  @@ -77,25 +77,13 @@
    *
    *
    * @author Paul Hammant <a href="mailto:Paul_Hammant@yahoo.com">Paul_Hammant@yahoo.com</a>
  - * @version $Revision: 1.2 $
  + * @version $Revision: 1.3 $
    */
   public abstract class BaseServedObject {
   
       private ArmiInvocationHandler mInvocationHandler;
  -    private final Class[] mInterfacesSought;
       private String mPublishedObjectName;
       private Integer syncObject = new Integer(1);
  -
  -    /**
  -     * Constructor BaseServedObject
  -     *
  -     *
  -     * @param interfacesSought
  -     *
  -     */
  -    public BaseServedObject(Class[] interfacesSought) {
  -        mInterfacesSought = interfacesSought;
  -    }
   
       /**
        * Method armiSetInvocationHandler
  
  
  
  1.3       +4 -20     jakarta-commons-sandbox/armi/src/java/org/apache/commons/armi/generator/PrimarySourceGenerator.java
  
  Index: PrimarySourceGenerator.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/armi/src/java/org/apache/commons/armi/generator/PrimarySourceGenerator.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- PrimarySourceGenerator.java	4 Jan 2002 09:35:31 -0000	1.2
  +++ PrimarySourceGenerator.java	4 Jan 2002 13:15:30 -0000	1.3
  @@ -1,8 +1,8 @@
   
   /*
  - * $Header: /home/cvs/jakarta-commons-sandbox/armi/src/java/org/apache/commons/armi/generator/PrimarySourceGenerator.java,v
1.2 2002/01/04 09:35:31 hammant Exp $
  - * $Revision: 1.2 $
  - * $Date: 2002/01/04 09:35:31 $
  + * $Header: /home/cvs/jakarta-commons-sandbox/armi/src/java/org/apache/commons/armi/generator/PrimarySourceGenerator.java,v
1.3 2002/01/04 13:15:30 hammant Exp $
  + * $Revision: 1.3 $
  + * $Date: 2002/01/04 13:15:30 $
    *
    * ====================================================================
    *
  @@ -80,7 +80,7 @@
    *
    *
    * @author Paul Hammant <a href="mailto:Paul_Hammant@yahoo.com">Paul_Hammant@yahoo.com</a>
  - * @version $Revision: 1.2 $
  + * @version $Revision: 1.3 $
    */
   public class PrimarySourceGenerator extends AbstractMethodHandler {
   
  @@ -149,11 +149,6 @@
               generateInterfaceList();
           }
           mClassSource.println(" { ");
  -        mClassSource.println("  public ArmiGenerated" + mGenName + "() {");
  -        mClassSource.print("    super(new Class[] {");
  -        generateInterfaceList2();
  -        mClassSource.println("});");
  -        mClassSource.println("  }");
   
           for (int x = 0; x < mInterfacesToExpose.length; x++) {
               Class clazz = null;
  @@ -267,17 +262,6 @@
   
           if (i + 1 < throwsTypes.length) {
               mClassSource.print(", ");
  -        }
  -    }
  -
  -    private void generateInterfaceList2() {
  -
  -        for (int x = 0; x < mInterfacesToExpose.length; x++) {
  -            mClassSource.print(mInterfacesToExpose[x] + ".class");
  -
  -            if (x + 1 < mInterfacesToExpose.length) {
  -                mClassSource.print(", ");
  -            }
           }
       }
   
  
  
  

--
To unsubscribe, e-mail:   <mailto:commons-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:commons-dev-help@jakarta.apache.org>


Mime
View raw message