01: /*
02: * All content copyright (c) 2003-2007 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 java.io.Serializable;
08:
09: /**
10: * An event detailing an abnormal application condition, such as an attempt to share a non-portable object or an
11: * unlocked shared object modification.
12: */
13: public interface ApplicationEvent extends Serializable {
14: /**
15: * @return The context in which this event occurred
16: */
17: ApplicationEventContext getApplicationEventContext();
18:
19: /**
20: * @return The event message
21: */
22: String getMessage();
23: }
|