From: mwebster Date: Mon, 14 Aug 2006 15:54:06 +0000 (+0000) Subject: Bug 150487 "Tracing and Logging Framework" (allow LTW IMessageHandler implementations... X-Git-Tag: post_pr_153572~19 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=41340ae6cb640bf77b6e68cce2ff71e5aa982a2b;p=aspectj.git Bug 150487 "Tracing and Logging Framework" (allow LTW IMessageHandler implementations to add context) --- 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); +}