@ConsumerType public interface AttributableResourceProvider extends ResourceProvider
ResourceProvider. It allows to add attributes to the set of available attributes from a resource resolver. This extension is supported for services directly implementing the
ResourceProviders returned through a
|Modifier and Type||Method and Description|
Returns the value of the given resource provider attribute or
Returns a collection of attribute names whose value can be retrieved calling the
Collection<String> getAttributeNames(ResourceResolver resolver)
IllegalStateException- if this resource provider has already been closed.
Object getAttribute(ResourceResolver resolver, String name)
nullif the attribute is not set or not visible (as e.g. security sensitive attributes).
Copyright © 2015 The Apache Software Foundation. All rights reserved.