Package com.coalmine.connector

Examples of com.coalmine.connector.SimpleConnector


   *    # Use the default JUL handler and the CoalmineHandler
   *    handlers = java.util.logging.ConsoleHandler,com.coalmine.connector.logging.CoalmineHandler
   *
   */
  public CoalmineHandler() {
    this(new SimpleConnector(Coalmine.getSignature()));
    connector.setApplicationEnvironment(Coalmine.getEnvironment());
    connector.setVersion(Coalmine.getVersion());
  }
View Full Code Here


  /**
   * Init the Filter. Read configuration from web.xml
   */
  @Override
  public void init(FilterConfig config) throws ServletException {
    connector = new SimpleConnector(config.getInitParameter("signature"));
    Coalmine.setSignature(config.getInitParameter("signature"));
   
    String environment = config.getInitParameter("environment");
    if (environment != null && !environment.isEmpty()) {
      setEnvironment(environment);
View Full Code Here

   *    # Use the default JUL handler and the CoalmineHandler
   *    handlers = java.util.logging.ConsoleHandler,com.coalmine.connector.logging.CoalmineHandler
   *
   */
  public CoalmineHandler() {
    this(new SimpleConnector(Coalmine.getSignature()));
    connector.setApplicationEnvironment(Coalmine.getEnvironment());
    connector.setVersion(Coalmine.getVersion());
  }
View Full Code Here

TOP

Related Classes of com.coalmine.connector.SimpleConnector

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.