| Modifier and Type | Field and Description |
|---|---|
| private WeavingAdaptor | |
| private URL[] | |
| private Map | |
| private boolean | |
| private static Trace | |
| public static final String | |
| public static final String |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | acceptClass(String
class name name, byte[] original class bytes classBytes, byte[] woven class bytes weavedBytes)Implements org. |
| protected void | addURL(URL
the URL to be added to the search path of URLs url)Overrides org. |
| private void | |
| protected Class | defineClass(String name, byte[] b, CodeSource cs)
Overrides org. |
| private static String | |
| public URL[] | getAspectURLs()
Implements org. |
| protected byte[] | getBytes(String name)
Overrides org. |
| private static String | |
| private static URL[] |
| adaptor | back to summary |
|---|---|
| private WeavingAdaptor adaptor | |
| aspectURLs | back to summary |
|---|---|
| private URL[] aspectURLs | |
| generatedClasses | back to summary |
|---|---|
| private Map<K, V> generatedClasses | |
| initializingAdaptor | back to summary |
|---|---|
| private boolean initializingAdaptor | |
| trace | back to summary |
|---|---|
| private static Trace trace | |
| WEAVING_ASPECT_PATH | back to summary |
|---|---|
| public static final String WEAVING_ASPECT_PATH | |
| WEAVING_CLASS_PATH | back to summary |
|---|---|
| public static final String WEAVING_CLASS_PATH | |
| WeavingURLClassLoader | back to summary |
|---|---|
| public WeavingURLClassLoader(ClassLoader parent) | |
| WeavingURLClassLoader | back to summary |
|---|---|
| public WeavingURLClassLoader(URL[] urls, ClassLoader parent) | |
| WeavingURLClassLoader | back to summary |
|---|---|
| public WeavingURLClassLoader(URL[] classURLs, URL[] aspectURLs, ClassLoader parent) | |
| acceptClass | back to summary |
|---|---|
| public void acceptClass(String name, byte[] classBytes, byte[] weavedBytes) Implements org. Doc from org. Accept class generated by WeavingAdaptor. The class loader should store the class definition in its local cache until called upon to load it.
| |
| addURL | back to summary |
|---|---|
| protected void addURL(URL url) Overrides org. Doc from java. Appends the specified URL to the list of URLs to search for classes and resources.
If the URL specified is
| |
| createAdaptor | back to summary |
|---|---|
| private void createAdaptor() | |
| defineClass | back to summary |
|---|---|
| protected Class Overrides org. Override to weave class using WeavingAdaptor | |
| getAspectPath | back to summary |
|---|---|
| private static String getAspectPath() | |
| getAspectURLs | back to summary |
|---|---|
| public URL[] getAspectURLs() Implements org. Implement method from WeavingClassLoader
| |
| getBytes | back to summary |
|---|---|
| protected byte[] getBytes(String name) throws IOException Overrides org. Override to find classes generated by WeavingAdaptor | |
| getClassPath | back to summary |
|---|---|
| private static String getClassPath() | |
| getURLs | back to summary |
|---|---|
| private static URL[] getURLs(String path) | |