diff options
author | aclement <aclement> | 2006-08-14 14:21:17 +0000 |
---|---|---|
committer | aclement <aclement> | 2006-08-14 14:21:17 +0000 |
commit | 67bbaac0301bf2007c16ab5b6ad0e62664a99fbd (patch) | |
tree | 91ee106bfc1f079f0e873e6e11d645e59c299006 | |
parent | 9197a11f244b49c8567e1a46e937b5bb93a0175c (diff) | |
download | aspectj-67bbaac0301bf2007c16ab5b6ad0e62664a99fbd.tar.gz aspectj-67bbaac0301bf2007c16ab5b6ad0e62664a99fbd.zip |
133770 'call and ltw': moving type from loadtime to weaver
-rw-r--r-- | weaver/src/org/aspectj/weaver/loadtime/IWeavingContext.java (renamed from loadtime/src/org/aspectj/weaver/loadtime/IWeavingContext.java) | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/loadtime/src/org/aspectj/weaver/loadtime/IWeavingContext.java b/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); } |