diff options
author | mwebster <mwebster> | 2006-08-14 15:54:06 +0000 |
---|---|---|
committer | mwebster <mwebster> | 2006-08-14 15:54:06 +0000 |
commit | 41340ae6cb640bf77b6e68cce2ff71e5aa982a2b (patch) | |
tree | ad880e5a13eae3dba8a34d0d1e55675315f2fb3e | |
parent | 2aac0a2e476d4c5bda5b9e2c5ea24ef337aa3388 (diff) | |
download | aspectj-41340ae6cb640bf77b6e68cce2ff71e5aa982a2b.tar.gz aspectj-41340ae6cb640bf77b6e68cce2ff71e5aa982a2b.zip |
Bug 150487 "Tracing and Logging Framework" (allow LTW IMessageHandler implementations to add context)
-rw-r--r-- | bridge/src/org/aspectj/bridge/IMessageContext.java | 16 | ||||
-rw-r--r-- | weaver/src/org/aspectj/weaver/tools/ISupportsMessageContext.java | 18 |
2 files changed, 34 insertions, 0 deletions
diff --git a/bridge/src/org/aspectj/bridge/IMessageContext.java b/bridge/src/org/aspectj/bridge/IMessageContext.java new file mode 100644 index 000000000..2f5512a1d --- /dev/null +++ b/bridge/src/org/aspectj/bridge/IMessageContext.java @@ -0,0 +1,16 @@ +/******************************************************************************* + * Copyright (c) 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Matthew Webster - initial implementation + *******************************************************************************/ +package org.aspectj.bridge; + +public interface IMessageContext { + + public String getContextId (); +} diff --git a/weaver/src/org/aspectj/weaver/tools/ISupportsMessageContext.java b/weaver/src/org/aspectj/weaver/tools/ISupportsMessageContext.java new file mode 100644 index 000000000..69e55b143 --- /dev/null +++ b/weaver/src/org/aspectj/weaver/tools/ISupportsMessageContext.java @@ -0,0 +1,18 @@ +/******************************************************************************* + * Copyright (c) 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Matthew Webster - initial implementation + *******************************************************************************/ +package org.aspectj.weaver.tools; + +import org.aspectj.bridge.IMessageContext; + +public interface ISupportsMessageContext { + + public void setMessageContext (IMessageContext messageContext); +} |