Package it.tidalwave.role.spi
Interface OwnerRoleFactoryProvider
-
- 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 OwnerRoleFactoryProvider
The provider of the singletonOwnerRoleFactory
.- Author:
- Fabrizio Giudici
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
OwnerRoleFactoryProvider.Inner
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description OwnerRoleFactory
createRoleFactory(java.lang.Object owner)
Creates anOwnerRoleFactory
for the given objectstatic OwnerRoleFactoryProvider
getInstance()
Returns the singleton instance ofOwnerRoleFactoryProvider
-
-
-
Method Detail
-
getInstance
@Nonnull static OwnerRoleFactoryProvider getInstance()
Returns the singleton instance ofOwnerRoleFactoryProvider
- Returns:
- the singleton instance
-
createRoleFactory
@Nonnull OwnerRoleFactory createRoleFactory(@Nonnull java.lang.Object owner)
Creates anOwnerRoleFactory
for the given object- Parameters:
owner
- the object- Returns:
AsDelegate
-
-