Package com.liferay.portal.kernel.util
Class InstanceFactory
Object
com.liferay.portal.kernel.util.InstanceFactory
- Author:
- Brian Wing Shun Chan
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic 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)
-
Constructor Details
-
InstanceFactory
public InstanceFactory()
-
-
Method Details
-
newInstance
- 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
- 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
-