Package net.sf.isolation.logging

Examples of net.sf.isolation.logging.IsoLog.trace()


    if (methods == null) {
      synchronized (this.method) {
        methods = this.method.get(klass);
        if (methods == null) {
          methods = new WeakHashMap<IsoMethodNode, Method>();
          log.trace("Creating cache for: {0}", klass);
          this.method.put(klass, methods);
        }
      }
    }
    IsoMethodNode methodNode = new IsoMethodNode(methodName, parameterTypes);
View Full Code Here


    if (method == null) {
      synchronized (methods) {
        method = methods.get(methodNode);
        if (method == null) {
          method = super.getMethod(klass, methodName, parameterTypes);
          log.trace("Cache of {0} for: {1}", method, klass);
          methods.put(methodNode, method);
        }
      }
    }
    return method;
View Full Code Here

    if (constructors == null) {
      synchronized (this.constructor) {
        constructors = this.constructor.get(klass);
        if (constructors == null) {
          constructors = new WeakHashMap<IsoMethodNode, Constructor<?>>();
          log.trace("Creating cache for: {0}", klass);
          this.constructor.put(klass, constructors);
        }
      }
    }
    IsoMethodNode methodNode = new IsoMethodNode(null, parameterTypes);
View Full Code Here

    if (constructor == null) {
      synchronized (constructors) {
        constructor = constructors.get(methodNode);
        if (constructor == null) {
          constructor = super.getConstructor(klass, parameterTypes);
          log.trace("Cache of constructor for: {1}", klass);
          constructors.put(methodNode, constructor);
        }
      }
    }
    return constructor;
View Full Code Here

      Class<?>[] parameterTypes) {
    IsoLog log = context.getInstance(IsoLog.class);
    Map<IsoMethodNode, Method> methods = this.method.get(klass);
    if (methods == null) {
      methods = new WeakHashMap<IsoMethodNode, Method>();
      log.trace("Creating cache for: {0}", klass);
      this.method.put(klass, methods);
    }
    IsoMethodNode methodNode = new IsoMethodNode(methodName, parameterTypes);
    Method method = methods.get(methodNode);
    if (method == null) {
View Full Code Here

    }
    IsoMethodNode methodNode = new IsoMethodNode(methodName, parameterTypes);
    Method method = methods.get(methodNode);
    if (method == null) {
      method = super.getMethod(klass, methodName, parameterTypes);
      log.trace("Cache of {0} for: {1}", method, klass);
      methods.put(methodNode, method);
    }
    return method;
  }
View Full Code Here

    IsoLog log = context.getInstance(IsoLog.class);
    Map<IsoMethodNode, Constructor<?>> constructors = this.constructor
        .get(klass);
    if (constructors == null) {
      constructors = new WeakHashMap<IsoMethodNode, Constructor<?>>();
      log.trace("Creating cache for: {0}", klass);
      this.constructor.put(klass, constructors);
    }
    IsoMethodNode methodNode = new IsoMethodNode(null, parameterTypes);
    Constructor<?> constructor = constructors.get(methodNode);
    if (constructor == null) {
View Full Code Here

    }
    IsoMethodNode methodNode = new IsoMethodNode(null, parameterTypes);
    Constructor<?> constructor = constructors.get(methodNode);
    if (constructor == null) {
      constructor = super.getConstructor(klass, parameterTypes);
      log.trace("Cache of constructor for: {1}", klass);
      constructors.put(methodNode, constructor);
    }
    return constructor;
  }
}
View Full Code Here

    int columnCount = metaData.getColumnCount();
    String[] columnNames = new String[columnCount];
    for (int i = 0; i < columnCount; i++) {
      String columnName = metaData.getColumnName(i + 1);
      columnNames[i] = columnName;
      log.trace("Catch of column: {0}", columnName);
    }
    while (resultSet.next()) {
      Object bean = reflectionManager.newInstance(klass);
      for (int i = 0; i < columnCount; i++) {
        String columnName = columnNames[i];
View Full Code Here

      IsoSQLExpressionParameterInformation[] parametersInformation = query
          .getParametersInformation();
      if (parametersInformation != null
          && parametersInformation.length > 0 && parameters != null) {
        for (IsoSQLExpressionParameterInformation parameterInformation : parametersInformation) {
          log.trace(parameterInformation);
          statement.setObject(parameterInformation.getIndex(),
              parameters.get(parameterInformation.getName()));
        }
      }
      try {
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.