org.apache.openjpa.jdbc.conf
Class JDBCProductDerivation

java.lang.Object
  extended by org.apache.openjpa.lib.conf.AbstractProductDerivation
      extended by org.apache.openjpa.jdbc.conf.JDBCProductDerivation
All Implemented Interfaces:
OpenJPAProductDerivation, ProductDerivation

public class JDBCProductDerivation
extends AbstractProductDerivation
implements OpenJPAProductDerivation

Sets JDBC as default store.


Field Summary
static String PREFIX
           
 
Fields inherited from interface org.apache.openjpa.conf.OpenJPAProductDerivation
TYPE_PRODUCT_STORE, TYPE_SPEC, TYPE_SPEC_STORE, TYPE_STORE
 
Fields inherited from interface org.apache.openjpa.lib.conf.ProductDerivation
TYPE_FEATURE, TYPE_PRODUCT
 
Constructor Summary
JDBCProductDerivation()
           
 
Method Summary
 boolean beforeConfigurationConstruct(ConfigurationProvider cp)
          Provides the instance with a callback to mutate the initial properties of the ConfigurationProvider.
 Set<String> getSupportedQueryHints()
          Return set of Query hint keys recognized by this receiver.
 int getType()
          Return the type of derivation.
 void putBrokerFactoryAliases(Map m)
          Load default alias options into the given map.
 
Methods inherited from class org.apache.openjpa.lib.conf.AbstractProductDerivation
afterSpecificationSet, beforeConfigurationClose, beforeConfigurationLoad, getAnchorsInFile, getAnchorsInResource, getConfigurationPrefix, getDefaultResourceLocation, load, load, loadDefaults, loadGlobals, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.openjpa.lib.conf.ProductDerivation
afterSpecificationSet, beforeConfigurationClose, beforeConfigurationLoad, getAnchorsInFile, getAnchorsInResource, getConfigurationPrefix, getDefaultResourceLocation, load, load, loadDefaults, loadGlobals, validate
 

Field Detail

PREFIX

public static final String PREFIX
See Also:
Constant Field Values
Constructor Detail

JDBCProductDerivation

public JDBCProductDerivation()
Method Detail

putBrokerFactoryAliases

public void putBrokerFactoryAliases(Map m)
Description copied from interface: OpenJPAProductDerivation
Load default alias options into the given map. Each entry maps an alias to a broker factory class name. Replace anything previously under the desired keys.

Specified by:
putBrokerFactoryAliases in interface OpenJPAProductDerivation

getType

public int getType()
Description copied from interface: ProductDerivation
Return the type of derivation.

Specified by:
getType in interface ProductDerivation

beforeConfigurationConstruct

public boolean beforeConfigurationConstruct(ConfigurationProvider cp)
Description copied from interface: ProductDerivation
Provides the instance with a callback to mutate the initial properties of the ConfigurationProvider. This is primarily to alter or add properties that determine what type of configuration is constructed, and therefore is typically used at runtime only.

Specified by:
beforeConfigurationConstruct in interface ProductDerivation
Overrides:
beforeConfigurationConstruct in class AbstractProductDerivation
Returns:
true if given ConfigurationProvider has been mutated.

getSupportedQueryHints

public Set<String> getSupportedQueryHints()
Description copied from interface: ProductDerivation
Return set of Query hint keys recognized by this receiver.

Specified by:
getSupportedQueryHints in interface ProductDerivation
Overrides:
getSupportedQueryHints in class AbstractProductDerivation


Copyright © 2006-2010 Apache Software Foundation. All Rights Reserved.