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