Package org.aspectj.weaver.tools.cache
Class GeneratedCachedClassHandler
java.lang.Object
org.aspectj.weaver.tools.cache.GeneratedCachedClassHandler
- All Implemented Interfaces:
GeneratedClassHandler
Handler for generated classes; such as Shadowed closures, etc. This wraps the normal
generated class handler with caching
-
Constructor Summary
ConstructorDescriptionGeneratedCachedClassHandler
(WeavedClassCache cache, GeneratedClassHandler nextHandler) -
Method Summary
Modifier and TypeMethodDescriptionvoid
acceptClass
(String name, byte[] originalBytes, byte[] wovenBytes) Accept class generated by WeavingAdaptor.
-
Constructor Details
-
GeneratedCachedClassHandler
-
-
Method Details
-
acceptClass
Description copied from interface:GeneratedClassHandler
Accept class generated by WeavingAdaptor. The class loader should store the class definition in its local cache until called upon to load it.- Specified by:
acceptClass
in interfaceGeneratedClassHandler
- Parameters:
name
- class nameoriginalBytes
- original class byteswovenBytes
- woven class bytes
-