User: andreas 
  Date: 00/12/07 10:16:12

  Modified:    src/main/org/jboss/jmx/client ConnectorFactoryImpl.java
                        ConnectorFactoryService.java
  Log:
  Changes to ServiceMBean therefore that if the Default-
  Log class is not available then it does not logging.
  Thus I could extract the JMX Connector (server-side)
  from jBoss therefore that it can be used elsewhere.
  Both (server- and client-side) connector archives are then
  put in the new directory external which should keep all
  archives developed under jBoss but available to other
  groups.
  
  Revision  Changes    Path
  1.5       +1 -0      jboss/src/main/org/jboss/jmx/client/ConnectorFactoryImpl.java
  
  Index: ConnectorFactoryImpl.java
  ===================================================================
  RCS file: 
/products/cvs/ejboss/jboss/src/main/org/jboss/jmx/client/ConnectorFactoryImpl.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- ConnectorFactoryImpl.java 2000/12/07 15:44:52     1.4
  +++ ConnectorFactoryImpl.java 2000/12/07 18:16:11     1.5
  @@ -65,6 +65,7 @@
                String pProtocol
   //AS         ServerQuery pServerQuery
        ) {
  +             System.out.println( "ConnectorFactoryImpl.getServers(), protocol: " + 
pProtocol );
                // Check if there is a protocol given to query for
                boolean lProtocolQuery = pProtocol != null && pProtocol.length() > 0;
                // Get all available connectors from the JNDI server
  
  
  
  1.4       +4 -1      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.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- ConnectorFactoryService.java      2000/12/07 15:44:52     1.3
  +++ ConnectorFactoryService.java      2000/12/07 18:16:11     1.4
  @@ -63,6 +63,7 @@
                String pProtocol
   //AS         ServerQuery pServerQuery
        ) {
  +             System.out.println( "ConnectorFactoryService.getServers(), protocol: " 
+ pProtocol );
                return mFactory.getServers( pProtocol );
        }
        
  @@ -135,15 +136,17 @@
        }
        
        protected void startService() throws Exception {
  -             new InitialContext().bind( JNDI_NAME, mFactory );
  +//AS         new InitialContext().bind( JNDI_NAME, mFactory );
        }
        
        protected void stopService() {
  +/* AS
                try {
                        new InitialContext().unbind(JNDI_NAME);
                }
                catch( Exception e )    {
                        log.exception( e );
                }
  +*/
        }
   }
  
  
  

Reply via email to