org.jboss.weld.environment.servlet.util
Class ServiceLoader

java.lang.Object
  extended by org.jboss.weld.environment.servlet.util.ServiceLoader

public class ServiceLoader
extends Object

Abstract away service loader usage.

Author:
Ales Justin

Constructor Summary
ServiceLoader()
           
 
Method Summary
static
<S> Iterable<S>
load(Class<S> service)
           
static
<S> Iterable<S>
load(Class<S> service, ClassLoader loader)
           
 
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> Iterable<S> load(Class<S> service)

load

public static <S> Iterable<S> load(Class<S> service,
                                   ClassLoader loader)


Copyright © 2013 Seam Framework. All Rights Reserved.