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

FieldAccessorGenerator (Drools 4.0.0.11754MR2 API) - JBoss RULES 4.0.0.11754MR2 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 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.

Author:
Michael Neale, "Jeff Brown"

Method Summary
static FieldAccessorGenerator getInstance()
          Deprecated.  
 FieldAccessorMap getInstanceFor(Class cls)
          Deprecated. Looks up an instance of a field accessor for the given class.
 FieldAccessorMap newInstanceFor(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(Class cls)
                                throws 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:
Exception

newInstanceFor

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

Throws:
Exception


Copyright © 2001-2007 JBoss Inc.. All Rights Reserved.