geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gdam...@apache.org
Subject cvs commit: incubator-geronimo/sandbox/messaging/src/java/org/apache/geronimo/messaging/proxy EndPointProxyInfo.java
Date Thu, 27 May 2004 14:20:53 GMT
gdamour     2004/05/27 07:20:53

  Modified:    sandbox/messaging/src/java/org/apache/geronimo/messaging/proxy
                        EndPointProxyInfo.java
  Log:
  Adds a convenience constructor.
  
  Revision  Changes    Path
  1.2       +13 -1     incubator-geronimo/sandbox/messaging/src/java/org/apache/geronimo/messaging/proxy/EndPointProxyInfo.java
  
  Index: EndPointProxyInfo.java
  ===================================================================
  RCS file: /home/cvs/incubator-geronimo/sandbox/messaging/src/java/org/apache/geronimo/messaging/proxy/EndPointProxyInfo.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- EndPointProxyInfo.java	20 May 2004 13:37:11 -0000	1.1
  +++ EndPointProxyInfo.java	27 May 2004 14:20:53 -0000	1.2
  @@ -43,6 +43,18 @@
       private final NodeInfo[] targets;
       
       /**
  +     * Convenience constructor
  +     *  
  +     * @param anEndPointID EndPoint identifier.
  +     * @param anInterface Interface of the EndPoint proxy.
  +     * @param aTarget Node hosting the EndPoint.
  +     */
  +    public EndPointProxyInfo(Object anEndPointID, Class anInterface,
  +        NodeInfo aTarget) {
  +        this(anEndPointID, new Class[] {anInterface}, new NodeInfo[] {aTarget});
  +    }
  +    
  +    /**
        * Creates the meta-data of an EndPoint proxy.  
        * 
        * @param anEndPointID EndPoint identifier.
  
  
  

Mime
View raw message