User: andreas 
  Date: 00/10/12 22:26:25

  Modified:    .        JMX.Connector.Howto.html
  Log:
  Adjusted Doco because of the changes in the JMX Connector
  
  Revision  Changes    Path
  1.4       +11 -4     jbossweb/JMX.Connector.Howto.html
  
  Index: JMX.Connector.Howto.html
  ===================================================================
  RCS file: /products/cvs/ejboss/jbossweb/JMX.Connector.Howto.html,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- JMX.Connector.Howto.html  2000/09/20 19:07:16     1.3
  +++ JMX.Connector.Howto.html  2000/10/13 05:26:25     1.4
  @@ -226,6 +226,10 @@
   </DIV>
   <H3>How to create a client without the server and protocol/H3>
   <DIV class="para" ALIGN="left">
  +First you have to make sure that the JNDI property: <B>java.naming.provider.url</B>
  +points to the JNDI server your JMX Connectors are registered to. At the moment
  +you can only have one JMX Connector running at the same computer (but serveral can
  +be registered at the same JNDI server) and you can only have one JNDI server.
   <OL>
   <LI>
   Import the necessary classes
  @@ -277,16 +281,19 @@
   </PRE>
   </LI>
   <LI>
  -Look for the list of servers
  +Look for the list of servers (if a null is passed as parameter this
  +method returns all the servers at the given JNDI server)
   <PRE class="code" ALIGN="left">
   Collection lServers = (Collection) lLocalServer.invoke(
   lFactoryInstance.getObjectName(),
       "getServers",
  -    null,
  -    null
  +    new String[] {null},
  +    new String[] {"java.lang.String"}
   );
   </PRE>
  -and within a server for the list of protocols
  +and within a server for the list of protocols (if a null or empty
  +string is passed then all protocols at the given JNDI server will
  +be listed)
   <PRE class="code" ALIGN="left">
   Collection lProtocols = (Collection) lLocalServer.invoke(
   lFactoryInstance.getObjectName(),
  
  
  

Reply via email to