public class WebappServiceLoader<T>
extends java.lang.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 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-2019 Apache Software Foundation. All Rights Reserved.