Package 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
FieldsModifier and TypeFieldDescriptionstatic final StringHint keyopenjpa.hint.slice.Targetto specify a subset of slices for query.static final StringPrefix for all Slice-specific configuration properties.Fields inherited from interface org.apache.openjpa.conf.OpenJPAProductDerivation
TYPE_PRODUCT_STORE, TYPE_SPEC, TYPE_SPEC_STORE, TYPE_STOREFields inherited from interface org.apache.openjpa.lib.conf.ProductDerivation
TYPE_FEATURE, TYPE_PRODUCT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturn the configuration prefix for properties of this product.Return set of Query hint keys recognized by this receiver.intgetType()Return the type of derivation.voidLoad default alias options into the given map.Methods inherited from class org.apache.openjpa.lib.conf.AbstractProductDerivation
afterSpecificationSet, beforeConfigurationClose, beforeConfigurationConstruct, beforeConfigurationLoad, getAnchorsInFile, getAnchorsInResource, getDefaultResourceLocation, load, load, loadDefaults, loadGlobals, validateMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.openjpa.lib.conf.ProductDerivation
afterSpecificationSet, beforeConfigurationClose, beforeConfigurationConstruct, beforeConfigurationLoad, getAnchorsInFile, getAnchorsInResource, getDefaultResourceLocation, load, load, loadDefaults, loadGlobals, validate
-
Field Details
-
PREFIX_SLICE
Prefix for all Slice-specific configuration properties.- See Also:
-
HINT_TARGET
Hint keyopenjpa.hint.slice.Targetto specify a subset of slices for query. The value corresponding to the key is comma-separated list of slice identifiers.- See Also:
-
-
Constructor Details
-
ProductDerivation
public ProductDerivation()
-
-
Method Details
-
putBrokerFactoryAliases
Description copied from interface:OpenJPAProductDerivationLoad 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:
putBrokerFactoryAliasesin interfaceOpenJPAProductDerivation
-
getConfigurationPrefix
Description copied from interface:ProductDerivationReturn the configuration prefix for properties of this product.- Specified by:
getConfigurationPrefixin interfaceProductDerivation- Overrides:
getConfigurationPrefixin classAbstractProductDerivation
-
getType
public int getType()Description copied from interface:ProductDerivationReturn the type of derivation.- Specified by:
getTypein interfaceProductDerivation
-
getSupportedQueryHints
Description copied from interface:ProductDerivationReturn set of Query hint keys recognized by this receiver.- Specified by:
getSupportedQueryHintsin interfaceProductDerivation- Overrides:
getSupportedQueryHintsin classAbstractProductDerivation
-