aboutsummaryrefslogtreecommitdiffstats
path: root/weaver
diff options
context:
space:
mode:
authormwebster <mwebster>2007-03-07 01:29:17 +0000
committermwebster <mwebster>2007-03-07 01:29:17 +0000
commit2f71a4085231169ab07d54c2c6cc453a3c0027bf (patch)
treed0714796efc9825243c52d925d20dcc9fa927e95 /weaver
parent49aad5d5b4767aa81d2dac74ea80d55bdc8e9643 (diff)
downloadaspectj-2f71a4085231169ab07d54c2c6cc453a3c0027bf.tar.gz
aspectj-2f71a4085231169ab07d54c2c6cc453a3c0027bf.zip
Bug 176546 "Allow custom aop.xml provider through IWeavingContext"
Diffstat (limited to 'weaver')
-rw-r--r--weaver/src/org/aspectj/weaver/loadtime/IWeavingContext.java13
1 files changed, 13 insertions, 0 deletions
diff --git a/weaver/src/org/aspectj/weaver/loadtime/IWeavingContext.java b/weaver/src/org/aspectj/weaver/loadtime/IWeavingContext.java
index 4e4dfc2b7..2ff58dcd0 100644
--- a/weaver/src/org/aspectj/weaver/loadtime/IWeavingContext.java
+++ b/weaver/src/org/aspectj/weaver/loadtime/IWeavingContext.java
@@ -14,6 +14,9 @@ package org.aspectj.weaver.loadtime;
import java.io.IOException;
import java.net.URL;
import java.util.Enumeration;
+import java.util.List;
+
+import org.aspectj.weaver.tools.WeavingAdaptor;
/**
* This class adds support to AspectJ for an OSGi environment
@@ -73,4 +76,14 @@ public interface IWeavingContext {
*/
public boolean isLocallyDefined(String classname);
+ /**
+ * Allow custom parsing of aop.xml or alternative mechanism for providing
+ * Definitions
+ *
+ * @param loader
+ * @param adaptor
+ * @return List containing 0 or more Definition instances
+ */
+ public List getDefinitions(final ClassLoader loader, WeavingAdaptor adaptor);
+
}