All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.hibernate.bytecode.util.ClassDescriptor Maven / Gradle / Ivy

There is a newer version: 4.2.4
Show newest version
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