Uses of Interface
javax.validation.ClockProvider
Packages that use ClockProvider
Package
Description
Top level package of the Bean Validation API.
Package containing objects specific to the interaction between the
Bean Validation bootstrapping process and Bean Validation providers.
-
Uses of ClockProvider in javax.validation
Methods in javax.validation that return ClockProviderModifier and TypeMethodDescriptionConstraintValidatorContext.getClockProvider()
Returns the provider for obtaining the current time in the form of aClock
, e.g.ValidatorFactory.getClockProvider()
Returns theClockProvider
instance configured at initialization time for theValidatorFactory
.Configuration.getDefaultClockProvider()
Returns an implementation of theClockProvider
interface following the defaultClockProvider
defined in the specification: returns a clock representing the current system time and default time zone.Methods in javax.validation with parameters of type ClockProviderModifier and TypeMethodDescriptionConfiguration.clockProvider
(ClockProvider clockProvider) Defines the clock provider.ValidatorContext.clockProvider
(ClockProvider clockProvider) Defines theClockProvider
implementation used by theValidator
. -
Uses of ClockProvider in javax.validation.spi
Methods in javax.validation.spi that return ClockProviderModifier and TypeMethodDescriptionConfigurationState.getClockProvider()
Returns the clock provider for this configuration.