Interface ClassDescriptor


public interface ClassDescriptor
Contract describing the information Hibernate needs in terms of instrumenting a class, either via ant task or dynamic classloader.
  • Method Summary

    Modifier and Type
    Method
    Description
    byte[]
    The bytes making up the class' bytecode.
    The name of the class.
    boolean
    Determine if the class is already instrumented.
  • Method Details

    • getName

      String getName()
      The name of the class.
      Returns:
      The class name.
    • isInstrumented

      boolean isInstrumented()
      Determine if the class is already instrumented.
      Returns:
      True if already instrumented; false otherwise.
    • getBytes

      byte[] getBytes()
      The bytes making up the class' bytecode.
      Returns:
      The bytecode bytes.