public interface

ClassDescriptor

org.hibernate.bytecode.util.ClassDescriptor

Class Overview

Contract describing the information Hibernate needs in terms of instrumenting a class, either via ant task or dynamic classloader.

Summary

Public Methods
abstract byte[] getBytes()
The bytes making up the class' bytecode.
abstract String getName()
The name of the class.
abstract boolean isInstrumented()
Determine if the class is already instrumented.

Public Methods

public abstract byte[] getBytes ()

The bytes making up the class' bytecode.

Returns
  • The bytecode bytes.

public abstract String getName ()

The name of the class.

Returns
  • The class name.

public abstract boolean isInstrumented ()

Determine if the class is already instrumented.

Returns
  • True if already instrumented; false otherwise.