|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.openjpa.lib.conf.AbstractProductDerivation org.apache.openjpa.slice.ProductDerivation
public class ProductDerivation
Derives configuration for Slice.
Introduces a specialized BrokerFactory aliased as slice
.
All Slice specific configuration is prefixed as
openjpa.slice.*.*
Field Summary | |
---|---|
static String |
HINT_TARGET
Hint key openjpa.hint.slice.Target to specify a subset of
slices for query. |
static String |
PREFIX_SLICE
Prefix for all Slice-specific configuration properties. |
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 | |
---|---|
ProductDerivation()
|
Method Summary | |
---|---|
boolean |
afterSpecificationSet(Configuration c)
Sets the DistributionPolicy and ReplicationPolicy to
their respective defaults if not set by the user. |
(package private) void |
forceSet(Value v,
String forced,
Log log)
|
String |
getConfigurationPrefix()
Return the configuration prefix for properties of this product. |
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 |
---|
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 |
Field Detail |
---|
public static final String PREFIX_SLICE
public static final String HINT_TARGET
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.
Constructor Detail |
---|
public ProductDerivation()
Method Detail |
---|
public void putBrokerFactoryAliases(Map m)
OpenJPAProductDerivation
putBrokerFactoryAliases
in interface OpenJPAProductDerivation
public String getConfigurationPrefix()
ProductDerivation
getConfigurationPrefix
in interface ProductDerivation
getConfigurationPrefix
in class AbstractProductDerivation
public int getType()
ProductDerivation
getType
in interface ProductDerivation
public boolean afterSpecificationSet(Configuration c)
DistributionPolicy
and ReplicationPolicy
to
their respective defaults if not set by the user.
afterSpecificationSet
in interface ProductDerivation
afterSpecificationSet
in class AbstractProductDerivation
void forceSet(Value v, String forced, Log log)
public Set<String> getSupportedQueryHints()
ProductDerivation
getSupportedQueryHints
in interface ProductDerivation
getSupportedQueryHints
in class AbstractProductDerivation
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |