org.apache.openjpa.jdbc.meta
Class RuntimeStrategyInstaller

java.lang.Object
  extended by org.apache.openjpa.jdbc.meta.StrategyInstaller
      extended by org.apache.openjpa.jdbc.meta.RuntimeStrategyInstaller

public class RuntimeStrategyInstaller
extends StrategyInstaller

Installer that attempts to use the given mapping information, and fails if it does not work.

Since:
0.4.0
Author:
Abe White

Field Summary
 
Fields inherited from class org.apache.openjpa.jdbc.meta.StrategyInstaller
conf, repos
 
Constructor Summary
RuntimeStrategyInstaller(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.
 
Methods inherited from class org.apache.openjpa.jdbc.meta.StrategyInstaller
isAdapting
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RuntimeStrategyInstaller

public RuntimeStrategyInstaller(MappingRepository repos)
Constructor; supply configuration.

Method Detail

installStrategy

public void installStrategy(ClassMapping cls)
Description copied from class: StrategyInstaller
Install a strategy on the given mapping.

Specified by:
installStrategy in class StrategyInstaller

installStrategy

public void installStrategy(FieldMapping field)
Description copied from class: StrategyInstaller
Install a strategy on the given mapping.

Specified by:
installStrategy in class StrategyInstaller

installStrategy

public void installStrategy(Version version)
Description copied from class: StrategyInstaller
Install a strategy on the given mapping.

Specified by:
installStrategy in class StrategyInstaller

installStrategy

public void installStrategy(Discriminator discrim)
Description copied from class: StrategyInstaller
Install a strategy on the given mapping.

Specified by:
installStrategy in class StrategyInstaller


Copyright © 2006 Apache Software Foundation. All Rights Reserved.