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

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


org.drools.base
Class ClassTypeResolver

java.lang.Object
  extended by org.drools.base.ClassTypeResolver
All Implemented Interfaces:
TypeResolver

public class ClassTypeResolver
extends Object
implements TypeResolver


Constructor Summary
ClassTypeResolver()
           
ClassTypeResolver(List imports)
           
ClassTypeResolver(List imports, ClassLoader classLoader)
           
 
Method Summary
 void addImport(String importEntry)
           
 List getImports()
           
 boolean isEmpty()
           
 Class lookupFromCache(String className)
           
 Class resolveType(String className)
           
 void setClassLoader(ClassLoader classLoader)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClassTypeResolver

public ClassTypeResolver()

ClassTypeResolver

public ClassTypeResolver(List imports)

ClassTypeResolver

public ClassTypeResolver(List imports,
                         ClassLoader classLoader)
Method Detail

setClassLoader

public void setClassLoader(ClassLoader classLoader)

getImports

public List getImports()
Specified by:
getImports in interface TypeResolver

addImport

public void addImport(String importEntry)
Specified by:
addImport in interface TypeResolver

lookupFromCache

public Class lookupFromCache(String className)

resolveType

public Class resolveType(String className)
                  throws ClassNotFoundException
Specified by:
resolveType in interface TypeResolver
Throws:
ClassNotFoundException

isEmpty

public boolean isEmpty()


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