public class WebappServiceLoader<T> extends Object
ServletContainerInitializer
,
ServiceLoader
Constructor and Description |
---|
WebappServiceLoader(ServletContext context,
String containerSciFilter)
Construct a loader to load services from a ServletContext.
|
public WebappServiceLoader(ServletContext context, String containerSciFilter)
context
- the context to usepublic List<T> load(Class<T> serviceType) throws IOException
serviceType
- the type of service to loadIOException
- if there was a problem loading any serviceCopyright © 2000-2015 Apache Software Foundation. All Rights Reserved.