org.apache.webbeans.service
Class DefaultLoaderService

java.lang.Object
  extended by org.apache.webbeans.service.DefaultLoaderService
All Implemented Interfaces:
LoaderService

public class DefaultLoaderService
extends Object
implements LoaderService

Default implementation which delegates to the sServiceLoader of Java 1.6 and uses a fallback for Java 1.5


Constructor Summary
DefaultLoaderService()
           
 
Method Summary
<T> List<T>
load(Class<T> serviceType)
           
<T> List<T>
load(Class<T> serviceType, ClassLoader classLoader)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultLoaderService

public DefaultLoaderService()
Method Detail

load

public <T> List<T> load(Class<T> serviceType)
Specified by:
load in interface LoaderService

load

public <T> List<T> load(Class<T> serviceType,
                        ClassLoader classLoader)
Specified by:
load in interface LoaderService


Copyright © 2008-2011 The Apache Software Foundation. All Rights Reserved.