Examples of Traceable


Examples of org.apache.camel.processor.Traceable

            if (target instanceof InstrumentationProcessor) {
                target = ((InstrumentationProcessor) target).getProcessor();
            }

            if (target instanceof Traceable) {
                Traceable trace = (Traceable) target;
                return trace.getTraceLabel();
            }
        }

        // default then to definition
        return processorDefinition.getLabel();
View Full Code Here

Examples of org.aspectj.weaver.tools.Traceable

    } else {
      try {

        /* Classes can provide an alternative implementation of toString() */
        if (obj instanceof Traceable) {
          Traceable t = (Traceable) obj;
          return t.toTraceString();
        } else {
          return obj.getClass().getName() + "@" + Integer.toHexString(System.identityHashCode(obj));
        }

        /* Object.hashCode() can be override and may thow an exception */
 
View Full Code Here

Examples of org.aspectj.weaver.tools.Traceable

    } else {
      try {

        /* Classes can provide an alternative implementation of toString() */
        if (obj instanceof Traceable) {
          Traceable t = (Traceable) obj;
          return t.toTraceString();
        } else {
          return obj.getClass().getName() + "@" + Integer.toHexString(System.identityHashCode(obj));
        }

        /* Object.hashCode() can be override and may thow an exception */
 
View Full Code Here

Examples of org.openbravo.base.structure.Traceable

        // written.
        SecurityChecker.getInstance().checkWriteAccess(o);
        return;
      }

      final Traceable t = (Traceable) o;
      if (t.getCreatedBy() == null) { // new
        onNew(t, propertyNames, currentState);
      } else {
        onUpdate(t, propertyNames, currentState);
      }
    } catch (Exception e) {
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.