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 /loadtime | |
parent | 9197a11f244b49c8567e1a46e937b5bb93a0175c (diff) | |
download | aspectj-67bbaac0301bf2007c16ab5b6ad0e62664a99fbd.tar.gz aspectj-67bbaac0301bf2007c16ab5b6ad0e62664a99fbd.zip |
133770 'call and ltw': moving type from loadtime to weaver
Diffstat (limited to 'loadtime')
-rw-r--r-- | loadtime/src/org/aspectj/weaver/loadtime/IWeavingContext.java | 66 |
1 files changed, 0 insertions, 66 deletions
diff --git a/loadtime/src/org/aspectj/weaver/loadtime/IWeavingContext.java b/loadtime/src/org/aspectj/weaver/loadtime/IWeavingContext.java deleted file mode 100644 index 8311f6e0c..000000000 --- a/loadtime/src/org/aspectj/weaver/loadtime/IWeavingContext.java +++ /dev/null @@ -1,66 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2005 Contributors. - * 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://eclipse.org/legal/epl-v10.html - * - * Contributors: - * David Knibb initial implementation - *******************************************************************************/ -package org.aspectj.weaver.loadtime; - -import java.io.IOException; -import java.net.URL; -import java.util.Enumeration; - -/** - * This class adds support to AspectJ for an OSGi environment - * - * @author David Knibb - */ -public interface IWeavingContext { - - /** - * Allows the standard ClassLoader.getResources() mechanisms to be - * replaced with a different implementation. - * In an OSGi environment, this will allow for filtering to take - * place on the results of ClassLoader.getResources(). In a non-OSGi - * environment, ClassLoader.getResources should be returned. - * @param name the name of the resource to search for - * @return an enumeration containing all of the matching resources found - * @throws IOException - */ - public Enumeration getResources(String name) throws IOException; - - /** - * In an OSGi environment, determin which bundle a URL originated from. - * In a non-OSGi environment, implementors should return <code>null<code>. - * @param url - * @return - * @deprecated use getFile() or getClassLoaderName() - */ - public String getBundleIdFromURL(URL url); - - /** - * In an environment with multiple class loaders allows each to be - * identified using something safer and possibly shorter than toString - * @return name of the associated class loader - */ - public String getClassLoaderName (); - - /** - * Format a URL - * @return filename - */ - public String getFile(URL url); - - /** - * In an environment with multiple class loaders allows messages - * to identified according to the weaving context - * @return short name - */ - public String getId (); - -} |