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 OwnerRoleFactoryProviderThe provider of the singletonOwnerRoleFactory.- Author:
- Fabrizio Giudici
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classOwnerRoleFactoryProvider.Inner
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description OwnerRoleFactorycreateRoleFactory(java.lang.Object owner)Creates anOwnerRoleFactoryfor the given objectstatic OwnerRoleFactoryProvidergetInstance()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 anOwnerRoleFactoryfor the given object- Parameters:
owner- the object- Returns:
AsDelegate
-
-