Package persist.lint.legacy
Class LegacySchemaValidatorFactory
java.lang.Object
persist.lint.legacy.LegacyPersistenceLinterFactory
persist.lint.legacy.LegacySchemaValidatorFactory
- All Implemented Interfaces:
PersistenceServiceProvider,PersistenceLinterFactory,SchemaValidatorFactory
public class LegacySchemaValidatorFactory
extends LegacyPersistenceLinterFactory
implements SchemaValidatorFactory
SchemaValidatorFactory implementation for the legacy
javax.persistence namespace ("javax").
This factory is registered as a ServiceLoader
provider and creates LegacySchemaValidator instances backed by
Hibernate 5.
- Since:
- 2.1.0
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionnewSchemaValidator(List<String> discoveredClassNames) Creates a newSchemaValidatorconfigured with the given entity class names.Methods inherited from class persist.lint.legacy.LegacyPersistenceLinterFactory
getSupportedNamespaceMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface persist.lint.api.spi.PersistenceLinterFactory
getSupportedNamespace
-
Constructor Details
-
LegacySchemaValidatorFactory
public LegacySchemaValidatorFactory()Creates a newLegacySchemaValidatorFactory.
-
-
Method Details
-
newSchemaValidator
Creates a newSchemaValidatorconfigured with the given entity class names.- Specified by:
newSchemaValidatorin interfaceSchemaValidatorFactory- Parameters:
discoveredClassNames- fully qualified class names of the JPA entities to register in the metamodel- Returns:
- a ready-to-use schema validator
-