avalon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hamm...@apache.org
Subject cvs commit: jakarta-avalon-cornerstone/src/java/org/apache/avalon/cornerstone/blocks/transport/subscription AbstractSubscriber.java
Date Mon, 14 Jan 2002 13:16:03 GMT
hammant     02/01/14 05:16:03

  Modified:    src/java/org/apache/avalon/cornerstone/blocks/transport/subscription
                        AbstractSubscriber.java
  Log:
  'beanonly' now a connection setting.
  
  Revision  Changes    Path
  1.4       +16 -10    jakarta-avalon-cornerstone/src/java/org/apache/avalon/cornerstone/blocks/transport/subscription/AbstractSubscriber.java
  
  Index: AbstractSubscriber.java
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-cornerstone/src/java/org/apache/avalon/cornerstone/blocks/transport/subscription/AbstractSubscriber.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- AbstractSubscriber.java	14 Jan 2002 04:29:55 -0000	1.3
  +++ AbstractSubscriber.java	14 Jan 2002 13:16:03 -0000	1.4
  @@ -29,7 +29,7 @@
    *
    *
    * @author Paul Hammant <a href="mailto:Paul_Hammant@yahoo.com">Paul_Hammant@yahoo.com</a>
  - * @version $Revision: 1.3 $
  + * @version $Revision: 1.4 $
    */
   
   public abstract class AbstractSubscriber
  @@ -55,12 +55,12 @@
   
         if (proxyClassLocation.equals("client"))
         {
  -         mAltrmiFactory = new ClientClassAltrmiFactory();
  +         mAltrmiFactory = new ClientClassAltrmiFactory(false);
         }
         else
            if (proxyClassLocation.equals("server"))
            {
  -            mAltrmiFactory = new ServerClassAltrmiFactory();
  +            mAltrmiFactory = new ServerClassAltrmiFactory(false);
            }
            else
            {
  @@ -69,16 +69,22 @@
            }
      }
   
  -   public Object lookup (String s)
  -      throws AltrmiConnectionException
  -   {
  -      return mAltrmiFactory.lookup(s);
  -   }
  +   /**
  +    * Method lookup
  +    *
  +    *
  +    * @param publishedName
  +    *
  +    * @return
  +    *
  +    * @throws AltrmiConnectionException
  +    *
  +    */
   
  -   public Object lookup (String s, boolean beanOnly)
  +   public Object lookup (String publishedName)
         throws AltrmiConnectionException
      {
  -      return mAltrmiFactory.lookup(s, beanOnly);
  +      return mAltrmiFactory.lookup(publishedName);
      }
   
      /**
  
  
  

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


Mime
View raw message