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
ConstructorDescriptionConstructor; supply configuration. -
Method Summary
Modifier and TypeMethodDescriptionvoid
Install a strategy on the given mapping.void
installStrategy
(Discriminator discrim) Install a strategy on the given mapping.void
installStrategy
(FieldMapping field) Install a strategy on the given mapping.void
installStrategy
(Version version) Install a strategy on the given mapping.boolean
Return 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:StrategyInstaller
Return whether this installer adapts the given mapping data and schema, vs requiring that all information be supplied correctly.- Overrides:
isAdapting
in classStrategyInstaller
-
installStrategy
Description copied from class:StrategyInstaller
Install a strategy on the given mapping.- Specified by:
installStrategy
in classStrategyInstaller
-
installStrategy
Description copied from class:StrategyInstaller
Install a strategy on the given mapping.- Specified by:
installStrategy
in classStrategyInstaller
-
installStrategy
Description copied from class:StrategyInstaller
Install a strategy on the given mapping.- Specified by:
installStrategy
in classStrategyInstaller
-
installStrategy
Description copied from class:StrategyInstaller
Install a strategy on the given mapping.- Specified by:
installStrategy
in classStrategyInstaller
-