Package it.tidalwave.role.spi
Class OwnerRoleFactoryProvider.EmptyOwnerRoleFactory
- java.lang.Object
-
- it.tidalwave.role.spi.OwnerRoleFactoryProvider.EmptyOwnerRoleFactory
-
- All Implemented Interfaces:
OwnerRoleFactory
- Enclosing interface:
- OwnerRoleFactoryProvider
public static class OwnerRoleFactoryProvider.EmptyOwnerRoleFactory extends java.lang.Object implements OwnerRoleFactory
-
-
Constructor Summary
Constructors Constructor Description EmptyOwnerRoleFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> java.util.Collection<T>findRoles(java.lang.Class<? extends T> type)Returns all role instances of the given type.
-
-
-
Method Detail
-
findRoles
@Nonnull public <T> java.util.Collection<T> findRoles(@Nonnull java.lang.Class<? extends T> type)Description copied from interface:OwnerRoleFactoryReturns all role instances of the given type.- Specified by:
findRolesin interfaceOwnerRoleFactory- Type Parameters:
T- the static type of the role- Parameters:
type- the dynamic type of the role- Returns:
- a collection of roles
-
-