|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jpox.store.poid.AbstractPoidGenerator
org.jpox.store.poid.AbstractDatastorePoidGenerator
public abstract class AbstractDatastorePoidGenerator
Abstract representation of a PoidGenerator for a datastore. Builds on the base AbstractPoidGenerator, and providing datastore connection and StoreManager information.
| Field Summary | |
|---|---|
protected PoidConnectionProvider |
connectionProvider
The means of connecting to the datastore (if required by the generator). |
protected StoreManager |
storeMgr
Manager for the datastore. |
| Fields inherited from class org.jpox.store.poid.AbstractPoidGenerator |
|---|
defaultBlockSize, LOCALISER, name, poidBlock, properties |
| Constructor Summary | |
|---|---|
AbstractDatastorePoidGenerator(java.lang.String name,
java.util.Properties props)
Constructor. |
|
| Method Summary | |
|---|---|
void |
setConnectionProvider(PoidConnectionProvider provider)
Mutator for setting the connection provider. |
void |
setStoreManager(StoreManager storeMgr)
Method to set the StoreManager to be used. |
| Methods inherited from class org.jpox.store.poid.AbstractPoidGenerator |
|---|
allocate, createRepository, current, currentValue, getName, next, nextValue, obtainPoidBlock, obtainPoidBlock, requiresRepository, reserveBlock, reserveBlock |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected StoreManager storeMgr
protected PoidConnectionProvider connectionProvider
| Constructor Detail |
|---|
public AbstractDatastorePoidGenerator(java.lang.String name,
java.util.Properties props)
name - Symbolic name for the generatorprops - Properties controlling the behaviour of the generator| Method Detail |
|---|
public void setStoreManager(StoreManager storeMgr)
storeMgr - The Store Managerpublic void setConnectionProvider(PoidConnectionProvider provider)
provider - The connection provider.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||