01: /*
02: * All content copyright (c) 2003-2006 Terracotta, Inc., except as may otherwise be noted in a separate copyright
03: * notice. All rights reserved.
04: */
05: package com.tc.object.appevent;
06:
07: import com.tc.object.tx.UnlockedSharedObjectException;
08:
09: /**
10: * Event context for {@link UnlockedSharedObjectEvent}
11: */
12: public class UnlockedSharedObjectEventContext extends
13: AbstractLockEventContext {
14:
15: private static final long serialVersionUID = 4788562594133534828L;
16:
17: public UnlockedSharedObjectEventContext(Object pojo,
18: String threadName, String clientId,
19: UnlockedSharedObjectException exception) {
20: this (pojo, null, null, threadName, clientId, exception);
21: }
22:
23: public UnlockedSharedObjectEventContext(Object pojo,
24: String className, String fieldName, String threadName,
25: String clientId, UnlockedSharedObjectException exception) {
26: super (pojo, className, fieldName, threadName, clientId,
27: exception);
28: }
29:
30: public UnlockedSharedObjectException getUnlockedSharedObjectException() {
31: return (UnlockedSharedObjectException) getException();
32: }
33: }
|