1 4 package com.tc.object.appevent; 5 6 import com.tc.util.NonPortableReason; 7 8 public class NonPortableLogicalInvokeContext extends NonPortableEventContext { 9 10 private static final long serialVersionUID = -7205127466022191118L; 11 12 private final String logicalMethod; 13 14 public NonPortableLogicalInvokeContext(String targetClassName, String threadName, 15 String clientId, String logicalMethod) { 16 super(targetClassName, threadName, clientId); 17 this.logicalMethod = logicalMethod; 18 } 19 20 public String getLogicalMethod() { 21 return logicalMethod; 22 } 23 24 public void addDetailsTo(NonPortableReason reason) { 25 super.addDetailsTo(reason); 26 reason.addDetail("Logically-managed class name", getTargetClassName()); 27 reason.addDetail("Logical method name", logicalMethod); 28 } 29 30 } 31 | Popular Tags |