站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss RULES 3.0.6 API 英文版文档

FieldAccessorGenerator - JBoss RULES 3.0.6 API 英文版文档


org.drools.util.asm
Class FieldAccessorGenerator

java.lang.Object
  extended by org.drools.util.asm.FieldAccessorGenerator

Deprecated. Use ClassFieldExtractor instead.

public class FieldAccessorGenerator
extends java.lang.Object

Will provide implementations of FieldAccessor as needed. There is no proxying involved. Uses ASM to generate a implementation of a FieldAccessor. Uses tableswitch so it is as fast as humanly possible.


Method Summary
static FieldAccessorGenerator getInstance()
          Deprecated.  
 FieldAccessorMap getInstanceFor(java.lang.Class cls)
          Deprecated. Looks up an instance of a field accessor for the given class.
 FieldAccessorMap newInstanceFor(java.lang.Class cls)
          Deprecated. Generate a new implementation for of a FieldAccessor for the given class.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static FieldAccessorGenerator getInstance()
Deprecated. 

getInstanceFor

public FieldAccessorMap getInstanceFor(java.lang.Class cls)
                                throws java.lang.Exception
Deprecated. 
Looks up an instance of a field accessor for the given class. If none is found it will generate one, and then cache it.

Throws:
java.lang.Exception

newInstanceFor

public FieldAccessorMap newInstanceFor(java.lang.Class cls)
                                throws java.lang.Exception
Deprecated. 
Generate a new implementation for of a FieldAccessor for the given class. No caching. Uses ASM.

Throws:
java.lang.Exception