
org.hibernate.bytecode.util.ClassDescriptor Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of hibernate Show documentation
Show all versions of hibernate Show documentation
Relational Persistence for Java
package org.hibernate.bytecode.util;
/**
* Contract describing the information Hibernate needs in terms of instrumenting
* a class, either via ant task or dynamic classloader.
*
* @author Steve Ebersole
*/
public interface ClassDescriptor {
/**
* The name of the class.
*
* @return The class name.
*/
public String getName();
/**
* Determine if the class is already instrumented.
*
* @return True if already instrumented; false otherwise.
*/
public boolean isInstrumented();
/**
* The bytes making up the class' bytecode.
*
* @return The bytecode bytes.
*/
public byte[] getBytes();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy