Liferay 7.0-ce-m6

com.liferay.portal.kernel.util
Class ServiceLoader

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

public class ServiceLoader
extends Object


Constructor Summary
ServiceLoader()
           
 
Method Summary
static
<S> List<S>
load(Class<S> clazz)
           
static
<S> List<S>
load(Class<S> clazz, ServiceLoaderCondition serviceLoaderCondition)
           
static
<S> List<S>
load(ClassLoader classLoader, Class<S> clazz)
           
static
<S> List<S>
load(ClassLoader classLoader, Class<S> clazz, ServiceLoaderCondition serviceLoaderCondition)
           
static URL normalizeURL(URL url)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServiceLoader

public ServiceLoader()
Method Detail

load

public static <S> List<S> load(Class<S> clazz)
                    throws Exception
Throws:
Exception

load

public static <S> List<S> load(Class<S> clazz,
                               ServiceLoaderCondition serviceLoaderCondition)
                    throws Exception
Throws:
Exception

load

public static <S> List<S> load(ClassLoader classLoader,
                               Class<S> clazz)
                    throws Exception
Throws:
Exception

load

public static <S> List<S> load(ClassLoader classLoader,
                               Class<S> clazz,
                               ServiceLoaderCondition serviceLoaderCondition)
                    throws Exception
Throws:
Exception

normalizeURL

public static URL normalizeURL(URL url)
                        throws MalformedURLException
Throws:
MalformedURLException
See Also:
ClassPathUtil._buildClassPath( ClassLoader, String)

Liferay 7.0-ce-m6