org.apache.openjpa.slice
Class ProductDerivation
java.lang.Object
org.apache.openjpa.lib.conf.AbstractProductDerivation
org.apache.openjpa.slice.ProductDerivation
- All Implemented Interfaces:
- OpenJPAProductDerivation, ProductDerivation
public class ProductDerivation
- extends AbstractProductDerivation
- implements OpenJPAProductDerivation
Derives configuration for Slice.
Introduces a specialized BrokerFactory aliased as slice.
All Slice specific configuration is prefixed as
openjpa.slice.*.*
- Author:
- Pinaki Poddar
|
Field Summary |
static java.lang.String |
HINT_TARGET
Hint key openjpa.hint.slice.Target to specify a subset of
slices for query. |
static java.lang.String |
PREFIX_SLICE
Prefix for all Slice-specific configuration properties. |
| Methods inherited from class org.apache.openjpa.lib.conf.AbstractProductDerivation |
beforeConfigurationClose, beforeConfigurationConstruct, beforeConfigurationLoad, getAnchorsInFile, getAnchorsInResource, 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 |
beforeConfigurationClose, beforeConfigurationConstruct, beforeConfigurationLoad, getAnchorsInFile, getAnchorsInResource, getDefaultResourceLocation, load, load, loadDefaults, loadGlobals, validate |
PREFIX_SLICE
public static final java.lang.String PREFIX_SLICE
- Prefix for all Slice-specific configuration properties.
- See Also:
- Constant Field Values
HINT_TARGET
public static final java.lang.String HINT_TARGET
- Hint key
openjpa.hint.slice.Target to specify a subset of
slices for query. The value corresponding to the key is comma-separated
list of slice identifiers.
- See Also:
- Constant Field Values
ProductDerivation
public ProductDerivation()
putBrokerFactoryAliases
public void putBrokerFactoryAliases(java.util.Map m)
- Specified by:
putBrokerFactoryAliases in interface OpenJPAProductDerivation
getConfigurationPrefix
public java.lang.String getConfigurationPrefix()
- Specified by:
getConfigurationPrefix in interface ProductDerivation- Overrides:
getConfigurationPrefix in class AbstractProductDerivation
getType
public int getType()
- Specified by:
getType in interface ProductDerivation
afterSpecificationSet
public boolean afterSpecificationSet(Configuration c)
- Sets the
DistributionPolicy and ReplicationPolicy to
their respective defaults if not set by the user.
- Specified by:
afterSpecificationSet in interface ProductDerivation- Overrides:
afterSpecificationSet in class AbstractProductDerivation
getSupportedQueryHints
public java.util.Set<java.lang.String> getSupportedQueryHints()
- Specified by:
getSupportedQueryHints in interface ProductDerivation- Overrides:
getSupportedQueryHints in class AbstractProductDerivation
Copyright © 2006-2009 Apache Software Foundation. All Rights Reserved.