pero        2005/03/25 00:31:33

  Modified:    catalina/src/share/org/apache/catalina/mbeans
                        MBeanFactory.java
  Log:
  Remove DefaultContext comment
  
  Revision  Changes    Path
  1.35      +1 -28     
jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/mbeans/MBeanFactory.java
  
  Index: MBeanFactory.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/mbeans/MBeanFactory.java,v
  retrieving revision 1.34
  retrieving revision 1.35
  diff -u -r1.34 -r1.35
  --- MBeanFactory.java 29 Jan 2005 19:37:27 -0000      1.34
  +++ MBeanFactory.java 25 Mar 2005 08:31:31 -0000      1.35
  @@ -143,35 +143,8 @@
           }
           return t;
       }
  -
       
      /**
  -     * Get Parent DefaultContext to add its child component 
  -     * from parent's ObjectName
  -     */
  -    /*
  -    private DefaultContext getDefaultContext(ObjectName pname) 
  -        throws Exception {
  -        
  -        String type = pname.getKeyProperty("type");
  -        if (type.equals("DefaultContext")) {
  -            Service service = getService(pname);
  -            StandardEngine engine = (StandardEngine) service.getContainer();
  -            String hostName = pname.getKeyProperty("host");
  -            if (hostName!=null) {
  -                StandardHost host = 
  -                    (StandardHost) engine.findChild(hostName);
  -                return host.getDefaultContext();
  -            } else {
  -                return engine.getDefaultContext();
  -            }
  -        }
  -        return null;
  -    }
  -    */
  -    
  -
  -    /**
        * Get Parent ContainerBase to add its child component 
        * from parent's ObjectName
        */
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to