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:OwnerRoleFactory
Returns all role instances of the given type.- Specified by:
findRoles
in interfaceOwnerRoleFactory
- Type Parameters:
T
- the static type of the role- Parameters:
type
- the dynamic type of the role- Returns:
- a collection of roles
-
-