KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > tc > object > appevent > NonPortableLogicalInvokeContext


1 /*
2  * All content copyright (c) 2003-2006 Terracotta, Inc., except as may otherwise be noted in a separate copyright notice. All rights reserved.
3  */

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 JavaDoc logicalMethod;
13
14   public NonPortableLogicalInvokeContext(String JavaDoc targetClassName, String JavaDoc threadName,
15                                          String JavaDoc clientId, String JavaDoc logicalMethod) {
16     super(targetClassName, threadName, clientId);
17     this.logicalMethod = logicalMethod;
18   }
19
20   public String JavaDoc 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