|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DistributedBrokerFactory
Extension to BrokerFactory to allow dynamically add/remove slices.
Method Summary | |
---|---|
Slice |
addSlice(String name,
Map properties)
Adds the given slice with the given properties. |
Methods inherited from interface org.apache.openjpa.kernel.BrokerFactory |
---|
addLifecycleListener, addTransactionListener, assertOpen, close, getConfiguration, getProperties, getSupportedProperties, getUserObject, isClosed, lock, newBroker, newBroker, newBroker, putUserObject, removeLifecycleListener, removeTransactionListener, unlock |
Method Detail |
---|
Slice addSlice(String name, Map properties)
name
- logical name of the to be added slice. Must be different from
any currently available slices.properties
- key-value pair of configuration for the slice to be
added. The keys must have openjpa.slice.<name>.* as prefix.DistributedConfiguration.getAvailableSliceNames()
,
DistributedConfiguration.addSlice(String, Map)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |