Package org.aspectj.weaver.tools
Interface GeneratedClassHandler
- All Known Subinterfaces:
WeavingClassLoader
- All Known Implementing Classes:
GeneratedCachedClassHandler
,WeavingURLClassLoader
public interface GeneratedClassHandler
Interface implemented by weaving class loaders to allow classes generated by
the weaving process to be defined.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
acceptClass
(String name, byte[] originalBytes, byte[] weavedBytes) Accept class generated by WeavingAdaptor.
-
Method Details
-
acceptClass
Accept class generated by WeavingAdaptor. The class loader should store the class definition in its local cache until called upon to load it.- Parameters:
name
- class nameoriginalBytes
- original class bytesweavedBytes
- woven class bytes
-