public final class XmlApplicationServiceRegistry extends AbstractServiceRegistry
XmlNamespaceInfoProvider
s discovered
using a ServiceRegistry
with a XmlNamespaceInfoProvider
providing information
of the namespaces for the extensions
in the current context.Constructor and Description |
---|
XmlApplicationServiceRegistry(ServiceRegistry delegate,
DslResolvingContext context) |
Modifier and Type | Method and Description |
---|---|
protected <T> Collection<T> |
doLookupProviders(Class<T> providerClass,
ClassLoader classLoader)
Retrieves a collection of providers.
|
lookupProvider, lookupProviders
public XmlApplicationServiceRegistry(ServiceRegistry delegate, DslResolvingContext context)
protected <T> Collection<T> doLookupProviders(Class<T> providerClass, ClassLoader classLoader)
{@link #lookupProviders(Class, ClassLoader)},
and {@code {@link #lookupProvider(Class, ClassLoader)}}
.doLookupProviders
in class AbstractServiceRegistry
providerClass
- a Class
object indicating the class or interface of the service providers being detected.classLoader
- the class loader to be used to load provider/configuration files and instantiate provider instances. If
null
, it will be up to the implementation to choose a ClassLoader
Collection
that yields provider objects for the given service, in some arbitrary order.Copyright © 2018. All rights reserved.