| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface DistributedConfiguration
A configuration for multiple data stores, each referred as slice.
 This configuration allows each underlying slice be configured with its
 own specific configuration properties such as JDBC Driver or connection
 user/password etc. 
 This configuration also extends by adding a DistributionPolicy that governs how new instances be distributed
 among the slices.
| Field Summary | 
|---|
| Fields inherited from interface org.apache.openjpa.lib.conf.Configuration | 
|---|
| ATTRIBUTE_ALLOWED_VALUES, ATTRIBUTE_CATEGORY, ATTRIBUTE_INTERFACE, ATTRIBUTE_ORDER, ATTRIBUTE_TYPE, ATTRIBUTE_XML, INIT_STATE_FREEZING, INIT_STATE_FROZEN, INIT_STATE_LIQUID | 
| Fields inherited from interface java.beans.BeanInfo | 
|---|
| ICON_COLOR_16x16, ICON_COLOR_32x32, ICON_MONO_16x16, ICON_MONO_32x32 | 
| Method Summary | |
|---|---|
|  List<String> | getActiveSliceNames()Gets the active slice identifiers. | 
|  List<String> | getAvailableSliceNames()Gets the available slice identifiers irrespective of their status. | 
|  DistributionPolicy | getDistributionPolicyInstance()Gets the policy that governs how new instances will be distributed across the available slices. | 
|  Slice | getSlice(String sliceName)Gets the Slice for a given name. | 
|  List<Slice> | getSlices(Slice.Status... statuses)Gets the slices of given status. | 
| Methods inherited from interface org.apache.openjpa.lib.conf.Configuration | 
|---|
| addPropertyChangeListener, addValue, clone, close, fromProperties, getConfigurationLog, getId, getLog, getLog, getLogFactory, getProductName, getValue, getValues, instantiateAll, isReadOnly, removePropertyChangeListener, removeValue, setId, setLog, setLogFactory, setProductName, setReadOnly, toProperties | 
| Methods inherited from interface java.beans.BeanInfo | 
|---|
| getAdditionalBeanInfo, getBeanDescriptor, getDefaultEventIndex, getDefaultPropertyIndex, getEventSetDescriptors, getIcon, getMethodDescriptors, getPropertyDescriptors | 
| Method Detail | 
|---|
List<String> getActiveSliceNames()
openjpa.slice.Names property or by scanning 
 openjpa.slice.*.* properties.
 openjpa.slice.Names property or 
 ordered alphabetically when found by scanning the properties.
 
List<String> getAvailableSliceNames()
List<Slice> getSlices(Slice.Status... statuses)
statuses - list of status flags. If null, returns all slices 
 irrespective of status.Slice getSlice(String sliceName)
DistributionPolicy getDistributionPolicyInstance()
| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||