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 asslice. All Slice specific configuration is prefixed asopenjpa.slice.*.*- Author:
- Pinaki Poddar
 
- 
- 
Field SummaryFields Modifier and Type Field Description static java.lang.StringHINT_TARGETHint keyopenjpa.hint.slice.Targetto specify a subset of slices for query.static java.lang.StringPREFIX_SLICEPrefix for all Slice-specific configuration properties.- 
Fields inherited from interface org.apache.openjpa.conf.OpenJPAProductDerivationTYPE_PRODUCT_STORE, TYPE_SPEC, TYPE_SPEC_STORE, TYPE_STORE
 - 
Fields inherited from interface org.apache.openjpa.lib.conf.ProductDerivationTYPE_FEATURE, TYPE_PRODUCT
 
- 
 - 
Constructor SummaryConstructors Constructor Description ProductDerivation()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetConfigurationPrefix()Return the configuration prefix for properties of this product.java.util.Set<java.lang.String>getSupportedQueryHints()Return set of Query hint keys recognized by this receiver.intgetType()Return the type of derivation.voidputBrokerFactoryAliases(java.util.Map m)Load default alias options into the given map.- 
Methods inherited from class org.apache.openjpa.lib.conf.AbstractProductDerivationafterSpecificationSet, beforeConfigurationClose, beforeConfigurationConstruct, beforeConfigurationLoad, getAnchorsInFile, getAnchorsInResource, getDefaultResourceLocation, load, load, loadDefaults, loadGlobals, validate
 - 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface org.apache.openjpa.lib.conf.ProductDerivationafterSpecificationSet, beforeConfigurationClose, beforeConfigurationConstruct, beforeConfigurationLoad, getAnchorsInFile, getAnchorsInResource, getDefaultResourceLocation, load, load, loadDefaults, loadGlobals, validate
 
- 
 
- 
- 
- 
Field Detail- 
PREFIX_SLICEpublic static final java.lang.String PREFIX_SLICE Prefix for all Slice-specific configuration properties.- See Also:
- Constant Field Values
 
 - 
HINT_TARGETpublic static final java.lang.String 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:
- Constant Field Values
 
 
- 
 - 
Method Detail- 
putBrokerFactoryAliasespublic void putBrokerFactoryAliases(java.util.Map m) 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 interface- OpenJPAProductDerivation
 
 - 
getConfigurationPrefixpublic java.lang.String getConfigurationPrefix() Description copied from interface:ProductDerivationReturn the configuration prefix for properties of this product.- Specified by:
- getConfigurationPrefixin interface- ProductDerivation
- Overrides:
- getConfigurationPrefixin class- AbstractProductDerivation
 
 - 
getTypepublic int getType() Description copied from interface:ProductDerivationReturn the type of derivation.- Specified by:
- getTypein interface- ProductDerivation
 
 - 
getSupportedQueryHintspublic java.util.Set<java.lang.String> getSupportedQueryHints() Description copied from interface:ProductDerivationReturn set of Query hint keys recognized by this receiver.- Specified by:
- getSupportedQueryHintsin interface- ProductDerivation
- Overrides:
- getSupportedQueryHintsin class- AbstractProductDerivation
 
 
- 
 
-