Java 类org.eclipse.jgit.lib.Config.SectionParser 实例源码

项目:gitblit    文件:GitDaemonService.java   
GitDaemonService(final String cmdName, final String cfgName) {
    command = cmdName.startsWith("git-") ? cmdName : "git-" + cmdName; //$NON-NLS-1$ //$NON-NLS-2$
    configKey = new SectionParser<ServiceConfig>() {
        public ServiceConfig parse(final Config cfg) {
            return new ServiceConfig(GitDaemonService.this, cfg, cfgName);
        }
    };
    overridable = true;
}