Liferay 6.0.5

com.liferay.portal.kernel.util
Class InstanceFactory

java.lang.Object
  extended by com.liferay.portal.kernel.util.InstanceFactory

public class InstanceFactory
extends Object


Constructor Summary
InstanceFactory()
           
 
Method Summary
static Object newInstance(ClassLoader classLoader, String className)
           
static Object newInstance(ClassLoader classLoader, String className, Class<?>[] parameterTypes, Object[] arguments)
           
static Object newInstance(ClassLoader classLoader, String className, Class<?> parameterType, Object argument)
           
static Object newInstance(String className)
           
static Object newInstance(String className, Class<?>[] parameterTypes, Object[] arguments)
           
static Object newInstance(String className, Class<?> parameterType, Object argument)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InstanceFactory

public InstanceFactory()
Method Detail

newInstance

public static Object newInstance(ClassLoader classLoader,
                                 String className)
                          throws Exception
Throws:
Exception

newInstance

public static Object newInstance(ClassLoader classLoader,
                                 String className,
                                 Class<?> parameterType,
                                 Object argument)
                          throws Exception
Throws:
Exception

newInstance

public static Object newInstance(ClassLoader classLoader,
                                 String className,
                                 Class<?>[] parameterTypes,
                                 Object[] arguments)
                          throws Exception
Throws:
Exception

newInstance

public static Object newInstance(String className)
                          throws Exception
Throws:
Exception

newInstance

public static Object newInstance(String className,
                                 Class<?> parameterType,
                                 Object argument)
                          throws Exception
Throws:
Exception

newInstance

public static Object newInstance(String className,
                                 Class<?>[] parameterTypes,
                                 Object[] arguments)
                          throws Exception
Throws:
Exception

Liferay 6.0.5