Browse Source

133770 'call and ltw': moving type from loadtime to weaver

tags/post_pr_153572
aclement 17 years ago
parent
commit
67bbaac030
1 changed files with 10 additions and 0 deletions
  1. 10
    0
      weaver/src/org/aspectj/weaver/loadtime/IWeavingContext.java

loadtime/src/org/aspectj/weaver/loadtime/IWeavingContext.java → weaver/src/org/aspectj/weaver/loadtime/IWeavingContext.java View File

@@ -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);

}

Loading…
Cancel
Save