Top Description Methods
org.hibernate.bytecode.util

public Interface ClassDescriptor

Known Direct Implementers
org.hibernate.bytecode.buildtime.CGLIBInstrumenter.CustomClassDescriptor, org.hibernate.bytecode.buildtime.JavassistInstrumenter.CustomClassDescriptor

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

Method Summary

Modifier and TypeMethod and Description
public byte[]

Returns:

The bytecode bytes.
getBytes
()

The bytes making up the class' bytecode.

public String

Returns:

The class name.
getName
()

The name of the class.

public boolean

Returns:

True if already instrumented; false otherwise.
isInstrumented
()

Determine if the class is already instrumented.

Method Detail

getBytesback to summary
public byte[] getBytes()

The bytes making up the class' bytecode.

Returns:byte[]

The bytecode bytes.

getNameback to summary
public String getName()

The name of the class.

Returns:String

The class name.

isInstrumentedback to summary
public boolean isInstrumented()

Determine if the class is already instrumented.

Returns:boolean

True if already instrumented; false otherwise.