public class WebappServiceLoader<T> extends Object
ServletContainerInitializer
,
ServiceLoader
Constructor and Description |
---|
WebappServiceLoader(Context context)
Construct a loader to load services from a ServletContext.
|
public WebappServiceLoader(Context context)
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-2017 Apache Software Foundation. All Rights Reserved.