com.alibaba.fastjson.util
Class ServiceLoader

java.lang.Object
  extended by com.alibaba.fastjson.util.ServiceLoader

public class ServiceLoader
extends Object


Constructor Summary
ServiceLoader()
           
 
Method Summary
static void close(Closeable x)
           
static
<T> Set<T>
load(Class<T> clazz, ClassLoader classLoader)
           
static void load(URL url, Set<String> set)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServiceLoader

public ServiceLoader()
Method Detail

load

public static <T> Set<T> load(Class<T> clazz,
                              ClassLoader classLoader)

load

public static void load(URL url,
                        Set<String> set)
                 throws IOException
Throws:
IOException

close

public static void close(Closeable x)
                  throws IOException
Throws:
IOException


Copyright © 2012 Alibaba Group. All Rights Reserved.