Example usage for org.apache.commons.chain.config ConfigParser getDigester

List of usage examples for org.apache.commons.chain.config ConfigParser getDigester

Introduction

In this page you can find the example usage for org.apache.commons.chain.config ConfigParser getDigester.

Prototype

public Digester getDigester() 

Source Link

Document

Return the Digester instance to be used for parsing, creating one if necessary.

Usage

From source file:org.exoplatform.services.command.impl.CommandService.java

public CommandService() {
    this.catalogFactory = CatalogFactoryBase.getInstance();

    final ConfigParser parser = new ConfigParser();
    this.digester = SecurityHelper.doPrivilegedAction(new PrivilegedAction<Digester>() {
        public Digester run() {
            return parser.getDigester();
        }// w ww . j  a  va  2s  . c  o m
    });
}