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

AccessibleInstantiator (Drools 4.0.0.11754MR2 API) - JBoss RULES 4.0.0.11754MR2 API 英文版文档


org.objenesis.instantiator.basic
Class AccessibleInstantiator

java.lang.Object
  extended by org.objenesis.instantiator.basic.ConstructorInstantiator
      extended by org.objenesis.instantiator.basic.AccessibleInstantiator
All Implemented Interfaces:
ObjectInstantiator

public class AccessibleInstantiator
extends ConstructorInstantiator

Instantiates a class by grabbing the no-args constructor, making it accessible and then calling Constructor.newInstance(). Although this still requires no-arg constructors, it can call non-public constructors (if the security manager allows it).

See Also:
ObjectInstantiator

Field Summary
 
Fields inherited from class org.objenesis.instantiator.basic.ConstructorInstantiator
constructor
 
Constructor Summary
AccessibleInstantiator(Class type)
           
 
Method Summary
 
Methods inherited from class org.objenesis.instantiator.basic.ConstructorInstantiator
newInstance
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AccessibleInstantiator

public AccessibleInstantiator(Class type)


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