com.liferay.portal.kernel.util
Class InstanceFactory
java.lang.Object
com.liferay.portal.kernel.util.InstanceFactory
public class InstanceFactory
- extends Object
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 |
InstanceFactory
public InstanceFactory()
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