You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by pe...@apache.org on 2005/03/25 09:31:33 UTC

cvs commit: jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/mbeans MBeanFactory.java

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: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org