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/publishing AbstractPublisher.java
Date Sun, 24 Feb 2002 11:06:10 GMT
hammant     02/02/24 03:06:10

  Modified:    src/java/org/apache/avalon/cornerstone/blocks/transport/publishing
                        AbstractPublisher.java
  Log:
  publish() scheme changed in AltRMI
  
  Revision  Changes    Path
  1.10      +12 -63    jakarta-avalon-cornerstone/src/java/org/apache/avalon/cornerstone/blocks/transport/publishing/AbstractPublisher.java
  
  Index: AbstractPublisher.java
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-cornerstone/src/java/org/apache/avalon/cornerstone/blocks/transport/publishing/AbstractPublisher.java,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- AbstractPublisher.java	29 Jan 2002 14:50:34 -0000	1.9
  +++ AbstractPublisher.java	24 Feb 2002 11:06:10 -0000	1.10
  @@ -19,6 +19,7 @@
   import org.apache.commons.altrmi.server.impl.classretrievers.JarFileClassRetriever;
   import org.apache.commons.altrmi.server.impl.classretrievers.NoClassRetriever;
   import org.apache.commons.altrmi.common.MethodRequest;
  +import org.apache.commons.altrmi.server.PublicationDescription;
   import org.apache.avalon.framework.logger.AbstractLogEnabled;
   import org.apache.avalon.framework.activity.Startable;
   import org.apache.avalon.framework.activity.Initializable;
  @@ -47,7 +48,7 @@
    *
    *
    * @author Paul Hammant <a href="mailto:Paul_Hammant@yahoo.com">Paul_Hammant@yahoo.com</a>
  - * @version $Revision: 1.9 $
  + * @version $Revision: 1.10 $
    */
   public abstract class AbstractPublisher extends AbstractLogEnabled
           implements AltrmiPublisher, Startable, Composable, Contextualizable,
  @@ -151,86 +152,34 @@
        * Method publish
        *
        *
  -     * @param o
  -     * @param s
  -     * @param aClass
  +     * @param implementation
  +     * @param asName
  +     * @param interfaceToExpose
        *
        * @throws AltrmiPublicationException
        *
        */
  -    public void publish(Object o, String s, Class aClass) throws PublicationException
  +    public void publish(Object implementation, String asName, Class interfaceToExpose)
throws PublicationException
       {
  -        m_AltrmiServer.publish(o, s, aClass);
  +        m_AltrmiServer.publish(implementation, asName, interfaceToExpose);
       }
   
       /**
        * Method publish
        *
        *
  -     * @param o
  -     * @param s
  -     * @param aClass
  +     * @param implementation
  +     * @param asName
  +     * @param publicationDescription
        * @param aClass1
        *
        * @throws AltrmiPublicationException
        *
        */
  -    public void publish(Object o, String s, Class aClass, Class aClass1)
  +    public void publish(Object implementation, String asName, PublicationDescription publicationDescription)
               throws PublicationException
       {
  -        m_AltrmiServer.publish(o, s, aClass, aClass1);
  -    }
  -
  -    /**
  -     * Method publish
  -     *
  -     *
  -     * @param o
  -     * @param s
  -     * @param aClass
  -     * @param classes
  -     *
  -     * @throws AltrmiPublicationException
  -     *
  -     */
  -    public void publish(Object o, String s, Class aClass, Class[] classes)
  -            throws PublicationException
  -    {
  -        m_AltrmiServer.publish(o, s, aClass, classes);
  -    }
  -
  -    /**
  -     * Method publish
  -     *
  -     *
  -     * @param o
  -     * @param s
  -     * @param classes
  -     *
  -     * @throws AltrmiPublicationException
  -     *
  -     */
  -    public void publish(Object o, String s, Class[] classes) throws PublicationException
  -    {
  -        m_AltrmiServer.publish(o, s, classes);
  -    }
  -
  -    /**
  -     * Method publish
  -     *
  -     *
  -     * @param o
  -     * @param s
  -     * @param classes
  -     * @param classes1
  -     *
  -     * @throws AltrmiPublicationException
  -     *
  -     */
  -    public void publish(Object o, String s, Class[] classes, Class[] classes1)
  -            throws PublicationException
  -    {
  -        m_AltrmiServer.publish(o, s, classes, classes1);
  +        m_AltrmiServer.publish(implementation, asName, publicationDescription);
       }
   
       /**
  
  
  

--
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