com.liferay.portal.kernel.util
Class ServiceLoader
java.lang.Object
com.liferay.portal.kernel.util.ServiceLoader
public class ServiceLoader
- extends java.lang.Object
- Author:
- Brian Wing Shun Chan, Miguel Pastor, Raymond Augé
|
Method Summary |
static
|
load(java.lang.Class<S> clazz)
|
static
|
load(java.lang.Class<S> clazz,
ServiceLoaderCondition serviceLoaderCondition)
|
static
|
load(java.lang.ClassLoader classLoader,
java.lang.Class<S> clazz)
|
static
|
load(java.lang.ClassLoader classLoader,
java.lang.Class<S> clazz,
ServiceLoaderCondition serviceLoaderCondition)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ServiceLoader
public ServiceLoader()
load
public static <S> java.util.List<S> load(java.lang.Class<S> clazz)
throws java.lang.Exception
- Throws:
java.lang.Exception
load
public static <S> java.util.List<S> load(java.lang.Class<S> clazz,
ServiceLoaderCondition serviceLoaderCondition)
throws java.lang.Exception
- Throws:
java.lang.Exception
load
public static <S> java.util.List<S> load(java.lang.ClassLoader classLoader,
java.lang.Class<S> clazz)
throws java.lang.Exception
- Throws:
java.lang.Exception
load
public static <S> java.util.List<S> load(java.lang.ClassLoader classLoader,
java.lang.Class<S> clazz,
ServiceLoaderCondition serviceLoaderCondition)
throws java.lang.Exception
- Throws:
java.lang.Exception