Schnittstelle GeneratedClassHandler

Alle bekannten Unterschnittstellen:
WeavingClassLoader
Alle bekannten Implementierungsklassen:
GeneratedCachedClassHandler, WeavingURLClassLoader

public interface GeneratedClassHandler
Interface implemented by weaving class loaders to allow classes generated by the weaving process to be defined.
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    void
    acceptClass(String name, byte[] originalBytes, byte[] weavedBytes)
    Accept class generated by WeavingAdaptor.
  • Methodendetails

    • acceptClass

      void acceptClass(String name, byte[] originalBytes, byte[] weavedBytes)
      Accept class generated by WeavingAdaptor. The class loader should store the class definition in its local cache until called upon to load it.
      Parameter:
      name - class name
      originalBytes - original class bytes
      weavedBytes - woven class bytes