~ubuntu-branches/ubuntu/vivid/tomcat6/vivid

« back to all changes in this revision

Viewing changes to java/org/apache/tomcat/util/modeler/BaseModelMBean.java

  • Committer: Package Import Robot
  • Author(s): Emmanuel Bourg
  • Date: 2014-02-17 00:02:00 UTC
  • mfrom: (1.2.10)
  • Revision ID: package-import@ubuntu.com-20140217000200-qs6ki7bhqnfhkas7
Tags: 6.0.39-1
* Team upload.
* New upstream release.
  - Refreshed the patches
* Standards-Version updated to 3.9.5 (no changes)
* Switch to debhelper level 9
* Use XZ compression for the upstream tarball
* Use canonical URL for the Vcs-Git field

Show diffs side-by-side

added added

removed removed

Lines of Context:
1063
1063
        }
1064
1064
    }
1065
1065
 
1066
 
//    public void setRegistry(Registry registry) {
1067
 
//        this.registry = registry;
1068
 
//    }
1069
 
//
1070
 
//    public Registry getRegistry() {
1071
 
//        // XXX Need a better solution - to avoid the static
1072
 
//        if( registry == null )
1073
 
//            registry=Registry.getRegistry();
1074
 
//
1075
 
//        return registry;
1076
 
//    }
1077
 
 
1078
 
    // ------------------------------------------------------ Protected Methods
1079
 
 
1080
 
 
1081
 
    /**
1082
 
     * Create and return a default <code>ModelMBeanInfo</code> object.
1083
 
     */
1084
 
//    protected ModelMBeanInfo createDefaultModelMBeanInfo() {
1085
 
//
1086
 
//        return (new ModelMBeanInfoSupport(this.getClass().getName(),
1087
 
//                                          "Default ModelMBean",
1088
 
//                                          null, null, null, null));
1089
 
//
1090
 
//    }
1091
 
 
1092
 
    /**
1093
 
     * Is the specified <code>ModelMBeanInfo</code> instance valid?
1094
 
     *
1095
 
     * <p><strong>IMPLEMENTATION NOTE</strong> - This implementation
1096
 
     * does not check anything, but this method can be overridden
1097
 
     * as required.</p>
1098
 
     *
1099
 
     * @param info The <code>ModelMBeanInfo object to check
1100
 
     */
1101
 
//    protected boolean isModelMBeanInfoValid(ModelMBeanInfo info) {
1102
 
//        return (true);
1103
 
//    }
1104
1066
 
1105
1067
    // -------------------- Registration  --------------------
1106
1068
    // XXX We can add some method patterns here- like setName() and