com.germinus.easyconf
Class ClassParameter

java.lang.Object
  extended bycom.germinus.easyconf.ClassParameter

public class ClassParameter
extends java.lang.Object

M?todos de utilidad para trabajar con par?metros de configuraci?n que representan clases Fecha: 09-jul-2004 -- 12:06:34

Author:
Jes?s J?imez Rodr?guez

Constructor Summary
ClassParameter()
           
 
Method Summary
static java.lang.Object getNewInstance(org.apache.commons.configuration.Configuration conf, java.lang.String propertyName)
           
static java.lang.Object getNewInstance(java.util.Properties props, java.lang.String propertyName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClassParameter

public ClassParameter()
Method Detail

getNewInstance

public static java.lang.Object getNewInstance(org.apache.commons.configuration.Configuration conf,
                                              java.lang.String propertyName)
                                       throws java.lang.ClassNotFoundException,
                                              java.lang.IllegalAccessException,
                                              java.lang.InstantiationException
Throws:
java.lang.ClassNotFoundException
java.lang.IllegalAccessException
java.lang.InstantiationException

getNewInstance

public static java.lang.Object getNewInstance(java.util.Properties props,
                                              java.lang.String propertyName)
                                       throws java.lang.ClassNotFoundException,
                                              java.lang.IllegalAccessException,
                                              java.lang.InstantiationException
Throws:
java.lang.ClassNotFoundException
java.lang.IllegalAccessException
java.lang.InstantiationException


Copyright © 2005 EasyConf team. All Rights Reserved.