站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > Hibernate 3.2.3 正式版 API 英文文档

ClassDescriptor (Hibernate API Documentation) - Hibernate 3.2.3 正式版 API 英文文档


org.hibernate.bytecode.util
Interface ClassDescriptor


public interface ClassDescriptor

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

Author:
Steve Ebersole

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

Method Detail

getName

public String getName()
The name of the class.

Returns:
The class name.

isInstrumented

public boolean isInstrumented()
Determine if the class is already instrumented.

Returns:
True if already instrumented; false otherwise.

getBytes

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

Returns:
The bytecode bytes.