Interface IResourceReferenceFactory
-
- All Known Implementing Classes:
ResourceReferenceRegistry.DefaultResourceReferenceFactory
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface IResourceReferenceFactory
Used to create a ResourceReference for a given request attributes
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ResourceReference
create(ResourceReference.Key key)
Creates a new instance of ResourceReference with the given request attributes
-
-
-
Method Detail
-
create
ResourceReference create(ResourceReference.Key key)
Creates a new instance of ResourceReference with the given request attributes- Parameters:
key
- The object that brings the request attributes- Returns:
- a ResourceReference or
null
if the factory cannot create such with the given request attributes
-
-