|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.openjpa.jdbc.meta.StrategyInstaller org.apache.openjpa.jdbc.meta.RefreshStrategyInstaller
public class RefreshStrategyInstaller
Attempts to install using the given mapping information. If that fails, clears the mapping information and constructs new mappings.
Field Summary |
---|
Fields inherited from class org.apache.openjpa.jdbc.meta.StrategyInstaller |
---|
repos |
Constructor Summary | |
---|---|
RefreshStrategyInstaller(MappingRepository repos)
Constructor; supply configuration. |
Method Summary | |
---|---|
void |
installStrategy(ClassMapping cls)
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 |
isAdapting()
Return whether this installer adapts the given mapping data and schema, vs requiring that all information be supplied correctly. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RefreshStrategyInstaller(MappingRepository repos)
Method Detail |
---|
public boolean isAdapting()
StrategyInstaller
isAdapting
in class StrategyInstaller
public void installStrategy(ClassMapping cls)
StrategyInstaller
installStrategy
in class StrategyInstaller
public void installStrategy(FieldMapping field)
StrategyInstaller
installStrategy
in class StrategyInstaller
public void installStrategy(Version version)
StrategyInstaller
installStrategy
in class StrategyInstaller
public void installStrategy(Discriminator discrim)
StrategyInstaller
installStrategy
in class StrategyInstaller
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |