public class ResourceResolver extends Object
Constructor and Description |
---|
ResourceResolver() |
Modifier and Type | Method and Description |
---|---|
static void |
register(ResourceResolverSpi resourceResolverSpi,
boolean start)
Registers a ResourceResolverSpi instance.
|
static void |
register(String className)
Registers a ResourceResolverSpi class.
|
static void |
registerAtStart(String className)
Registers a ResourceResolverSpi class at the beginning of the provider list.
|
static void |
registerClassNames(List<String> classNames)
Registers a list of ResourceResolverSpi classes.
|
static void |
registerDefaultResolvers()
This method registers the default resolvers.
|
static XMLSignatureInput |
resolve(List<ResourceResolverSpi> individualResolvers,
ResourceResolverContext context)
Method resolve
|
static XMLSignatureInput |
resolve(ResourceResolverContext context)
Method resolve
|
public static void register(String className) throws ClassNotFoundException, IllegalAccessException, InstantiationException
className
- the name of the ResourceResolverSpi class to be registeredInstantiationException
IllegalAccessException
ClassNotFoundException
SecurityException
- if a security manager is installed and the
caller does not have permission to register a resource resolverpublic static void registerAtStart(String className) throws ClassNotFoundException, IllegalAccessException, InstantiationException
className
- the name of the ResourceResolverSpi class to be registeredInstantiationException
IllegalAccessException
ClassNotFoundException
SecurityException
- if a security manager is installed and the
caller does not have permission to register a resource resolverpublic static void register(ResourceResolverSpi resourceResolverSpi, boolean start)
resourceResolverSpi
- start
- SecurityException
- if a security manager is installed and the
caller does not have permission to register a resource resolverpublic static void registerClassNames(List<String> classNames) throws ClassNotFoundException, IllegalAccessException, InstantiationException
classNames
- InstantiationException
IllegalAccessException
ClassNotFoundException
SecurityException
- if a security manager is installed and the
caller does not have permission to register the key resolverpublic static void registerDefaultResolvers()
public static XMLSignatureInput resolve(ResourceResolverContext context) throws ResourceResolverException
context
- ResourceResolverException
public static XMLSignatureInput resolve(List<ResourceResolverSpi> individualResolvers, ResourceResolverContext context) throws ResourceResolverException
individualResolvers
- context
- ResourceResolverException
Copyright © 2000–2020 The Apache Software Foundation. All rights reserved.