Package org.apache.webbeans.spi
Interface LoaderService
-
public interface LoaderService
Decouples OpenWebBeans from the Service-Loader approach. It allows to provide custom loaders with custom mechanisms as well as support for Java 1.5
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <T> List<T>
load(Class<T> serviceType)
Loads all active implementations for the given service-type<T> List<T>
load(Class<T> serviceType, ClassLoader classLoader)
Loads all active implementations for the given service-type
-
-
-
Method Detail
-
load
<T> List<T> load(Class<T> serviceType)
Loads all active implementations for the given service-type- Type Parameters:
T
- current type- Parameters:
serviceType
- base type of the services which should be loaded- Returns:
- all active implementations for the given service-type
-
load
<T> List<T> load(Class<T> serviceType, ClassLoader classLoader)
Loads all active implementations for the given service-type- Type Parameters:
T
- current type- Parameters:
serviceType
- base type of the services which should be loadedclassLoader
-- Returns:
- all active implementations for the given service-type
-
-