Package it.tidalwave.role.spi
Interface OwnerRoleFactory
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
A provider of roles for a given owner.
- Author:
- Fabrizio Giudici
-
Method Summary
Modifier and TypeMethodDescription<T> Collection
<T> Returns all role instances of the given type.
-
Method Details
-
findRoles
Returns all role instances of the given type.- Type Parameters:
T
- the static type of the role- Parameters:
roleType
- the dynamic type of the role- Returns:
- a collection of roles
-