User: andreas 
  Date: 00/10/12 19:43:05

  Modified:    src/main/org/jboss/jmx/client ConnectorFactoryService.java
  Log:
  Make list of servers and protocols in both ways.
  
  Revision  Changes    Path
  1.2       +5 -2      jboss/src/main/org/jboss/jmx/client/ConnectorFactoryService.java
  
  Index: ConnectorFactoryService.java
  ===================================================================
  RCS file: 
/products/cvs/ejboss/jboss/src/main/org/jboss/jmx/client/ConnectorFactoryService.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- ConnectorFactoryService.java      2000/08/31 17:42:58     1.1
  +++ ConnectorFactoryService.java      2000/10/13 02:43:05     1.2
  @@ -52,15 +52,18 @@
        /**
        * Returns a list of available servers
        *
  +     * @param pProtocol                      Servers supporting this protocol if 
not null
  +     *                                                       or empty otherwise it 
will be ignored
        * @param pServerQuery           Query instance to filter the list of servers
        *
        * @return                                       A collection of available 
servers
        *                                                       names/identifications 
(String)
  -     */
  +     **/
        public Collection getServers(
  +             String pProtocol
   //AS         ServerQuery pServerQuery
        ) {
  -             return mFactory.getServers();
  +             return mFactory.getServers( pProtocol );
        }
        
        /**
  
  
  

Reply via email to