Package it.tidalwave.role.spi
Interface OwnerRoleFactory
-
- All Known Implementing Classes:
OwnerRoleFactoryProvider.EmptyOwnerRoleFactory
- 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 OwnerRoleFactory
A provider of roles for a given owner.- Author:
- Fabrizio Giudici
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <T> java.util.Collection<T>
findRoles(java.lang.Class<? extends T> roleType)
Returns all role instances of the given type.
-