From 67bbaac0301bf2007c16ab5b6ad0e62664a99fbd Mon Sep 17 00:00:00 2001 From: aclement Date: Mon, 14 Aug 2006 14:21:17 +0000 Subject: [PATCH] 133770 'call and ltw': moving type from loadtime to weaver --- .../org/aspectj/weaver/loadtime/IWeavingContext.java | 10 ++++++++++ 1 file changed, 10 insertions(+) rename {loadtime => weaver}/src/org/aspectj/weaver/loadtime/IWeavingContext.java (81%) diff --git a/loadtime/src/org/aspectj/weaver/loadtime/IWeavingContext.java b/weaver/src/org/aspectj/weaver/loadtime/IWeavingContext.java similarity index 81% rename from loadtime/src/org/aspectj/weaver/loadtime/IWeavingContext.java rename to weaver/src/org/aspectj/weaver/loadtime/IWeavingContext.java index 8311f6e0c..4e4dfc2b7 100644 --- a/loadtime/src/org/aspectj/weaver/loadtime/IWeavingContext.java +++ b/weaver/src/org/aspectj/weaver/loadtime/IWeavingContext.java @@ -62,5 +62,15 @@ public interface IWeavingContext { * @return short name */ public String getId (); + + /** + * Return true if the classloader associated with this weaving context + * is the one that will define the class with the specified name. + * In a delegating classloader hierarchy this might check the parent won't + * define it and the child will - in OSGi it will do something else. + * @param classname name of the class, eg. "java.lang.String" + * @return true if the associated classloader will define the class + */ + public boolean isLocallyDefined(String classname); } -- 2.39.5