Package persist.lint.legacy
Class LegacyPersistenceLinterFactory
java.lang.Object
persist.lint.legacy.LegacyPersistenceLinterFactory
- All Implemented Interfaces:
PersistenceServiceProvider,PersistenceLinterFactory
- Direct Known Subclasses:
LegacyNamedObjectParserFactory,LegacySchemaValidatorFactory
public abstract class LegacyPersistenceLinterFactory
extends Object
implements PersistenceLinterFactory
Abstract base class for legacy (javax) Persistence linter factories.
Provides the common getSupportedNamespace() implementation
that returns "javax", shared by all legacy-specific factory
types such as LegacyNamedObjectParserFactory and
LegacySchemaValidatorFactory.
- Since:
- 2.1.0
- See Also:
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCreates a newLegacyPersistenceLinterFactory. -
Method Summary
Modifier and TypeMethodDescriptionReturns the persistence namespace supported by this factory.
-
Constructor Details
-
LegacyPersistenceLinterFactory
protected LegacyPersistenceLinterFactory()Creates a newLegacyPersistenceLinterFactory.
-
-
Method Details
-
getSupportedNamespace
Returns the persistence namespace supported by this factory.- Specified by:
getSupportedNamespacein interfacePersistenceLinterFactory- Specified by:
getSupportedNamespacein interfacePersistenceServiceProvider- Returns:
- the namespace identifier, for example
"javax"for JPA 2.x or"jakarta"for JPA 3.x
-