org.act.xservices.rt.metaset
类 ClassFinder

java.lang.Object
  继承者 org.act.xservices.rt.metaset.ClassFinder

public class ClassFinder
extends java.lang.Object


构造函数摘要
ClassFinder()
           
 
方法摘要
static java.lang.Object findByClassName(java.lang.String className, java.lang.String fallbackClassName)
          Finds the implementation Class object in the specified order.
static java.lang.Object findBySystemPropertyId(java.lang.String systemPropertyId, java.lang.String fallbackClassName)
          Finds the implementation Class object in the specified order.
 
从类 java.lang.Object 继承的方法
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造函数详细信息

ClassFinder

public ClassFinder()
方法详细信息

findBySystemPropertyId

public static java.lang.Object findBySystemPropertyId(java.lang.String systemPropertyId,
                                                      java.lang.String fallbackClassName)
                                               throws ConfigurationError
Finds the implementation Class object in the specified order. Main entry point.

参数:
systemPropertyId - Name of the systemPropertyId of the class to find, same as a property name
fallbackClassName - Implementation class name, if nothing else is found. Use null to mean no fallback. Package private so this code can be shared.
返回:
Class object of factory, never null
抛出:
ConfigurationError

findByClassName

public static java.lang.Object findByClassName(java.lang.String className,
                                               java.lang.String fallbackClassName)
                                        throws ConfigurationError
Finds the implementation Class object in the specified order. Main entry point.

参数:
className - Name of the systemPropertyId of the class to find, same as a property name
fallbackClassName - Implementation class name, if nothing else is found. Use null to mean no fallback. Package private so this code can be shared.
返回:
Class object of factory, never null
抛出:
ConfigurationError