jlaskowski    2005/06/19 18:40:30

  Modified:    modules/core/src/java/org/openejb/client
                        AuthenticationRequest.java ConnectionFactory.java
                        EJBHomeHandler.java EJBHomeProxy.java
                        EJBHomeProxyHandle.java EJBMetaDataImpl.java
                        EJBObjectProxy.java EJBObjectProxyHandle.java
                        EntityEJBObjectHandler.java JNDIContext.java
                        SocketConnectionFactory.java
                        StatefulEJBObjectHandler.java
                        StatelessEJBObjectHandler.java
  Log:

  A step towards cutting the 1.0 release:
    o openejb:release goal to cut a release
    o polishing the sources so that javadoc is built without any errors or 
warnings
    o Add javadoc to release in openejb:release
  
  Revision  Changes    Path
  1.3       +4 -8      
openejb1/modules/core/src/java/org/openejb/client/AuthenticationRequest.java
  
  Index: AuthenticationRequest.java
  ===================================================================
  RCS file: 
/home/projects/openejb/scm/openejb1/modules/core/src/java/org/openejb/client/AuthenticationRequest.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- AuthenticationRequest.java        16 Jun 2005 22:29:50 -0000      1.2
  +++ AuthenticationRequest.java        19 Jun 2005 22:40:30 -0000      1.3
  @@ -90,7 +90,7 @@
       /**
        * Returns the client's principle.
        * 
  -     * @return 
  +     * @return Object
        */
       public Object getPrinciple(){
           return principle;
  @@ -99,7 +99,7 @@
       /**
        * Returns the client's credentials.
        * 
  -     * @return 
  +     * @return Object
        */
       public Object getCredentials(){
           return credentials;
  @@ -144,11 +144,7 @@
        * by calling the methods of DataOutput for its primitive values or
        * calling the writeObject method of ObjectOutput for objects, strings,
        * and arrays.
  -     * @serial Data Overriding methods should use this tag to describe
  -     *             the data layout of this Externalizable object.
  -     *             List the sequence of element types and, if possible,
  -     *             relate the element to a public/protected field and/or
  -     *             method of this Externalizable class.
  +     *
        * @param out    the stream to write the object to
        * @exception IOException
        *                   Includes any I/O exceptions that may occur
  
  
  
  1.3       +2 -2      
openejb1/modules/core/src/java/org/openejb/client/ConnectionFactory.java
  
  Index: ConnectionFactory.java
  ===================================================================
  RCS file: 
/home/projects/openejb/scm/openejb1/modules/core/src/java/org/openejb/client/ConnectionFactory.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- ConnectionFactory.java    16 Jun 2005 22:29:50 -0000      1.2
  +++ ConnectionFactory.java    19 Jun 2005 22:40:30 -0000      1.3
  @@ -65,7 +65,7 @@
       /**
        * Get a connection from the factory
        * 
  -     * @return 
  +     * @return Connection 
        * @exception java.io.IOException
        */
       public Connection getConnection(ServerMetaData server) throws 
java.io.IOException ;
  
  
  
  1.3       +1 -4      
openejb1/modules/core/src/java/org/openejb/client/EJBHomeHandler.java
  
  Index: EJBHomeHandler.java
  ===================================================================
  RCS file: 
/home/projects/openejb/scm/openejb1/modules/core/src/java/org/openejb/client/EJBHomeHandler.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- EJBHomeHandler.java       16 Jun 2005 22:29:50 -0000      1.2
  +++ EJBHomeHandler.java       19 Jun 2005 22:40:30 -0000      1.3
  @@ -301,11 +301,9 @@
        * 
        * @return Returns an IntraVmMetaData
        * @exception Throwable
  -     * @see IntraVmMetaData
        * @see javax.ejb.EJBHome
        * @see javax.ejb.EJBHome#getEJBMetaData
        */
  -//    protected abstract Object getEJBMetaData(Method method, Object[] args, 
Object proxy) throws Throwable;
       protected Object getEJBMetaData(Method method, Object[] args, Object 
proxy) throws Throwable{
           return ejb;
       }
  @@ -333,7 +331,6 @@
        * @param proxy
        * @return Returns an IntraVmHandle
        * @exception Throwable
  -     * @see IntraVmHandle
        * @see javax.ejb.EJBHome
        * @see javax.ejb.EJBHome#getHomeHandle
        */
  
  
  
  1.3       +4 -4      
openejb1/modules/core/src/java/org/openejb/client/EJBHomeProxy.java
  
  Index: EJBHomeProxy.java
  ===================================================================
  RCS file: 
/home/projects/openejb/scm/openejb1/modules/core/src/java/org/openejb/client/EJBHomeProxy.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- EJBHomeProxy.java 16 Jun 2005 22:29:50 -0000      1.2
  +++ EJBHomeProxy.java 19 Jun 2005 22:40:30 -0000      1.3
  @@ -60,14 +60,14 @@
        * Returns the Handler acting as handler for
        * this proxy
        * 
  -     * @return 
  +     * @return EJBHomeHandler
        */
       public EJBHomeHandler getEJBHomeHandler();
   
       /**
        * Write the Handler to the stream.
        * 
  -     * @return 
  +     * @return Object
        * @exception ObjectStreamException
        */
       public Object writeReplace() throws ObjectStreamException;
  @@ -76,7 +76,7 @@
        * Read the handler from the stream.  Create a new 
        * EJBHomeProxy with it, return that.
        * 
  -     * @return 
  +     * @return Object
        * @exception ObjectStreamException
        */
       public Object readResolve()  throws ObjectStreamException;
  
  
  
  1.3       +2 -2      
openejb1/modules/core/src/java/org/openejb/client/EJBHomeProxyHandle.java
  
  Index: EJBHomeProxyHandle.java
  ===================================================================
  RCS file: 
/home/projects/openejb/scm/openejb1/modules/core/src/java/org/openejb/client/EJBHomeProxyHandle.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- EJBHomeProxyHandle.java   16 Jun 2005 22:29:50 -0000      1.2
  +++ EJBHomeProxyHandle.java   19 Jun 2005 22:40:30 -0000      1.3
  @@ -114,7 +114,7 @@
   
       /**
        *
  -     * @return
  +     * @return Object
        * @exception ObjectStreamException
        */
       private Object readResolve() throws ObjectStreamException{
  
  
  
  1.3       +1 -5      
openejb1/modules/core/src/java/org/openejb/client/EJBMetaDataImpl.java
  
  Index: EJBMetaDataImpl.java
  ===================================================================
  RCS file: 
/home/projects/openejb/scm/openejb1/modules/core/src/java/org/openejb/client/EJBMetaDataImpl.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- EJBMetaDataImpl.java      16 Jun 2005 22:29:50 -0000      1.2
  +++ EJBMetaDataImpl.java      19 Jun 2005 22:40:30 -0000      1.3
  @@ -76,28 +76,24 @@
       /**
        * The constant that will be returned from the 
<code>getComponentType</code>
        * method if this bean is a stateful session bean.
  -     * @see #getComponentType
        */
       public static final byte STATEFUL = (byte)6;
   
       /**
        * The constant that will be returned from the 
<code>getComponentType</code> 
        * method if this bean is a stateless session bean.
  -     * @see #getComponentType
        */
       public static final byte STATELESS = (byte)7;
   
       /**
        * The constant that will be returned from the 
<code>getComponentType</code> 
        * method if this bean is an enitity bean with bean-managed persistence.
  -     * @see #getComponentType
        */
       public static final byte BMP_ENTITY = (byte)8;
   
       /**
        * The constant that will be returned from the 
<code>getComponentType</code> 
        * method if this bean is a enitity bean with container-managed 
persistence.
  -     * @see #getComponentType
        */
       public static final byte CMP_ENTITY = (byte)9;
       
  
  
  
  1.3       +4 -4      
openejb1/modules/core/src/java/org/openejb/client/EJBObjectProxy.java
  
  Index: EJBObjectProxy.java
  ===================================================================
  RCS file: 
/home/projects/openejb/scm/openejb1/modules/core/src/java/org/openejb/client/EJBObjectProxy.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- EJBObjectProxy.java       16 Jun 2005 22:29:50 -0000      1.2
  +++ EJBObjectProxy.java       19 Jun 2005 22:40:30 -0000      1.3
  @@ -60,14 +60,14 @@
        * Returns the EJBObjectImpl acting as handler for
        * this proxy
        * 
  -     * @return 
  +     * @return EJBObjectHandler
        */
       public EJBObjectHandler getEJBObjectHandler();
   
       /**
        * Write the Handler to the stream.
        * 
  -     * @return 
  +     * @return Object
        * @exception ObjectStreamException
        */
       public Object writeReplace() throws ObjectStreamException;
  @@ -76,7 +76,7 @@
        * Read the handler from the stream.  Create a new 
        * EJBObjectProxy with it, return that.
        * 
  -     * @return 
  +     * @return Object
        * @exception ObjectStreamException
        */
       public Object readResolve()  throws ObjectStreamException;
  
  
  
  1.3       +2 -2      
openejb1/modules/core/src/java/org/openejb/client/EJBObjectProxyHandle.java
  
  Index: EJBObjectProxyHandle.java
  ===================================================================
  RCS file: 
/home/projects/openejb/scm/openejb1/modules/core/src/java/org/openejb/client/EJBObjectProxyHandle.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- EJBObjectProxyHandle.java 16 Jun 2005 22:29:50 -0000      1.2
  +++ EJBObjectProxyHandle.java 19 Jun 2005 22:40:30 -0000      1.3
  @@ -113,7 +113,7 @@
   
       /**
        *
  -     * @return
  +     * @return Object
        * @exception ObjectStreamException
        */
       private Object readResolve() throws ObjectStreamException{
  
  
  
  1.3       +2 -2      
openejb1/modules/core/src/java/org/openejb/client/EntityEJBObjectHandler.java
  
  Index: EntityEJBObjectHandler.java
  ===================================================================
  RCS file: 
/home/projects/openejb/scm/openejb1/modules/core/src/java/org/openejb/client/EntityEJBObjectHandler.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- EntityEJBObjectHandler.java       16 Jun 2005 22:29:50 -0000      1.2
  +++ EntityEJBObjectHandler.java       19 Jun 2005 22:40:30 -0000      1.3
  @@ -100,7 +100,7 @@
        * @param method
        * @param args
        * @param proxy
  -     * @return 
  +     * @return Object 
        * @exception Throwable
        */
       protected Object isIdentical(Method method, Object[] args, Object proxy) 
throws Throwable{
  
  
  
  1.5       +3 -5      
openejb1/modules/core/src/java/org/openejb/client/JNDIContext.java
  
  Index: JNDIContext.java
  ===================================================================
  RCS file: 
/home/projects/openejb/scm/openejb1/modules/core/src/java/org/openejb/client/JNDIContext.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- JNDIContext.java  16 Jun 2005 22:29:50 -0000      1.4
  +++ JNDIContext.java  19 Jun 2005 22:40:30 -0000      1.5
  @@ -82,7 +82,6 @@
        *
        * @param environment
        * @exception NamingException
  -     * @see NamingServer
        */
       JNDIContext(Hashtable environment) throws NamingException{
           init( environment );
  @@ -111,7 +110,6 @@
        *
        * @param environment
        * @exception NamingException
  -     * @see NamingServer
        */
       public void init(Hashtable environment) throws NamingException{
       }
  @@ -496,7 +494,7 @@
        * Clients are not allowed to add a sub-context to the name space.
        *
        * @param name
  -     * @return
  +     * @return Context
        * @exception NamingException
        */
       public Context createSubcontext(String name)
  @@ -510,7 +508,7 @@
        * Clients are not allowed to add a sub-context to the name space.
        *
        * @param name
  -     * @return
  +     * @return Context
        * @exception NamingException
        */
       public Context createSubcontext(Name name) throws NamingException {
  
  
  
  1.4       +8 -3      
openejb1/modules/core/src/java/org/openejb/client/SocketConnectionFactory.java
  
  Index: SocketConnectionFactory.java
  ===================================================================
  RCS file: 
/home/projects/openejb/scm/openejb1/modules/core/src/java/org/openejb/client/SocketConnectionFactory.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- SocketConnectionFactory.java      16 Jun 2005 22:29:50 -0000      1.3
  +++ SocketConnectionFactory.java      19 Jun 2005 22:40:30 -0000      1.4
  @@ -44,7 +44,12 @@
    */
   package org.openejb.client;
    
  -import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.io.StreamCorruptedException;
import java.net.Socket;
import java.util.Properties;
  +import java.io.IOException;
  +import java.io.InputStream;
  +import java.io.OutputStream;
  +import java.io.StreamCorruptedException;
  +import java.net.Socket;
  +import java.util.Properties;
   
   /**
    * 
  @@ -65,7 +70,7 @@
       /**
        * Get a connection from the factory
        * 
  -     * @return 
  +     * @return Connection 
        * @exception java.io.IOException
        */
       public Connection getConnection(ServerMetaData server) throws 
java.io.IOException {
  
  
  
  1.3       +4 -4      
openejb1/modules/core/src/java/org/openejb/client/StatefulEJBObjectHandler.java
  
  Index: StatefulEJBObjectHandler.java
  ===================================================================
  RCS file: 
/home/projects/openejb/scm/openejb1/modules/core/src/java/org/openejb/client/StatefulEJBObjectHandler.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- StatefulEJBObjectHandler.java     16 Jun 2005 22:29:50 -0000      1.2
  +++ StatefulEJBObjectHandler.java     19 Jun 2005 22:40:30 -0000      1.3
  @@ -82,7 +82,7 @@
        * @param method
        * @param args
        * @param proxy
  -     * @return 
  +     * @return Object
        * @exception Throwable
        */
       protected Object getPrimaryKey(Method method, Object[] args, Object 
proxy) throws Throwable{
  @@ -121,7 +121,7 @@
        * @param method
        * @param args
        * @param proxy
  -     * @return 
  +     * @return Object 
        * @exception Throwable
        */
       protected Object isIdentical(Method method, Object[] args, Object proxy) 
throws Throwable{
  @@ -145,7 +145,7 @@
           
           EJBResponse res = request( req );
     
  -        if ( res.getResponseCode() == res.EJB_ERROR ) {
  +        if ( EJB_ERROR == res.getResponseCode() ) {
               throw (Throwable)res.getResult();
           }
           
  
  
  
  1.3       +3 -3      
openejb1/modules/core/src/java/org/openejb/client/StatelessEJBObjectHandler.java
  
  Index: StatelessEJBObjectHandler.java
  ===================================================================
  RCS file: 
/home/projects/openejb/scm/openejb1/modules/core/src/java/org/openejb/client/StatelessEJBObjectHandler.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- StatelessEJBObjectHandler.java    16 Jun 2005 22:29:50 -0000      1.2
  +++ StatelessEJBObjectHandler.java    19 Jun 2005 22:40:30 -0000      1.3
  @@ -98,7 +98,7 @@
        * @param method
        * @param args
        * @param proxy
  -     * @return 
  +     * @return Object
        * @exception Throwable
        */
       protected Object getPrimaryKey(Method method, Object[] args, Object 
proxy) throws Throwable{
  @@ -137,7 +137,7 @@
        * @param method
        * @param args
        * @param proxy
  -     * @return 
  +     * @return Object 
        * @exception Throwable
        */
       protected Object isIdentical(Method method, Object[] args, Object proxy) 
throws Throwable{
  
  
  

Reply via email to