Package org.apache.openjpa.jdbc.meta
Class RefreshStrategyInstaller
java.lang.Object
org.apache.openjpa.jdbc.meta.StrategyInstaller
org.apache.openjpa.jdbc.meta.RefreshStrategyInstaller
- All Implemented Interfaces:
Serializable
Attempts to install using the given mapping information. If that
fails, clears the mapping information and constructs new mappings.
- Since:
- 0.4.0
- Author:
- Abe White
- See Also:
-
Field Summary
Fields inherited from class org.apache.openjpa.jdbc.meta.StrategyInstaller
repos -
Constructor Summary
ConstructorsConstructorDescriptionConstructor; supply configuration. -
Method Summary
Modifier and TypeMethodDescriptionvoidInstall a strategy on the given mapping.voidinstallStrategy(Discriminator discrim) Install a strategy on the given mapping.voidinstallStrategy(FieldMapping field) Install a strategy on the given mapping.voidinstallStrategy(Version version) Install a strategy on the given mapping.booleanReturn whether this installer adapts the given mapping data and schema, vs requiring that all information be supplied correctly.
-
Constructor Details
-
RefreshStrategyInstaller
Constructor; supply configuration.
-
-
Method Details
-
isAdapting
public boolean isAdapting()Description copied from class:StrategyInstallerReturn whether this installer adapts the given mapping data and schema, vs requiring that all information be supplied correctly.- Overrides:
isAdaptingin classStrategyInstaller
-
installStrategy
Description copied from class:StrategyInstallerInstall a strategy on the given mapping.- Specified by:
installStrategyin classStrategyInstaller
-
installStrategy
Description copied from class:StrategyInstallerInstall a strategy on the given mapping.- Specified by:
installStrategyin classStrategyInstaller
-
installStrategy
Description copied from class:StrategyInstallerInstall a strategy on the given mapping.- Specified by:
installStrategyin classStrategyInstaller
-
installStrategy
Description copied from class:StrategyInstallerInstall a strategy on the given mapping.- Specified by:
installStrategyin classStrategyInstaller
-