Package | Description |
---|---|
javax.validation |
Top level package of the Bean Validation API.
|
javax.validation.spi |
Package containing objects specific to the interaction between the
Bean Validation bootstrapping process and Bean Validation providers.
|
Modifier and Type | Method and Description |
---|---|
ClockProvider |
ValidatorFactory.getClockProvider()
Returns the
ClockProvider instance configured at
initialization time for the ValidatorFactory . |
ClockProvider |
ConstraintValidatorContext.getClockProvider()
Returns the provider for obtaining the current time in the form of a
Clock ,
e.g. |
ClockProvider |
Configuration.getDefaultClockProvider()
Returns an implementation of the
ClockProvider
interface following the default ClockProvider
defined in the specification:
returns a clock representing the current system time and default time
zone.
|
Modifier and Type | Method and Description |
---|---|
ValidatorContext |
ValidatorContext.clockProvider(ClockProvider clockProvider)
Defines the
ClockProvider implementation used by the Validator . |
T |
Configuration.clockProvider(ClockProvider clockProvider)
Defines the clock provider.
|
Modifier and Type | Method and Description |
---|---|
ClockProvider |
ConfigurationState.getClockProvider()
Returns the clock provider for this configuration.
|
Copyright © 1996-2017, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.