Class ProfileSupplierProvider

java.lang.Object
dev.getelements.elements.security.ProfileSupplierProvider
All Implemented Interfaces:
jakarta.inject.Provider<Supplier<Profile>>

public class ProfileSupplierProvider extends Object implements jakarta.inject.Provider<Supplier<Profile>>
Returns a Supplier<Profile> which can be used to obtain an instance of Profile, or throw the appropriate exception type if a Profile cannot be supplied. This returns a Supplier<Profile> to defer the attempt to resolve the Profile until it is absolutely needed.
  • Constructor Details

    • ProfileSupplierProvider

      public ProfileSupplierProvider()
  • Method Details