|
||||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
This interface what is a Proxy in Speedo. A proxy a PersistentCapable instance because it is the user object. It is the jorm PBinding because it is unique. There are several fields:
| Nested Class Summary |
|---|
| Nested classes inherited from class javax.jdo.spi.PersistenceCapable |
|---|
javax.jdo.spi.PersistenceCapable.ObjectIdFieldConsumer, javax.jdo.spi.PersistenceCapable.ObjectIdFieldManager, javax.jdo.spi.PersistenceCapable.ObjectIdFieldSupplier |
| Field Summary |
|---|
| Fields inherited from interface javax.jdo.spi.PersistenceCapable |
|---|
CHECK_READ, CHECK_WRITE, DETACHED, LOAD_REQUIRED, MEDIATE_READ, MEDIATE_WRITE, READ_OK, READ_WRITE_OK, SERIALIZABLE |
| Fields inherited from interface org.objectweb.jorm.api.PBinding |
|---|
ACTION_BIND, ACTION_EXIST, ACTION_EXPORT, ACTION_READ, ACTION_UNBIND, ACTION_UNEXPORT, ACTION_WRITE, LIFECYCLE_ACTIVEFORIO, LIFECYCLE_DELTOWRITE, LIFECYCLE_ERROR, LIFECYCLE_NEWTOWRITE, LIFECYCLE_NOTBOUND |
| Method Summary | |
|---|---|
void |
copyAccessor(SpeedoAccessor src,
SpeedoAccessor dest)
Copies persistent fields from an accessor to another. |
SpeedoAccessor |
createAccessor()
|
java.lang.Object |
getEncodedPName()
|
SpeedoAccessor |
getReferenceAccessor()
|
SpeedoAccessor |
getSpeedoAccessor()
It retrieves the SpeedoAccessor instance used in the current context. |
SpeedoHome |
getSpeedoHome()
|
java.lang.String |
jdoGetJdoFileName()
|
java.lang.Object |
jdoGetPNameHints()
Retrieves the hints needed to build the PName of the persistent object during the export action. |
boolean |
jdoIsActive()
Tests whether the Proxy infrastructure has already been set. |
void |
jdoIsActive(boolean newvalue)
Sets the new value of the proxy flags |
void |
setEncodedPName(java.lang.Object encodedPName)
Set the encoded PName of the detach copy to allow serialization. |
void |
setReferenceAccessor(SpeedoAccessor refAcc)
Assignes the reference accessor to the SpeedoProxy The Reference accessor is used for non persistent instance, as cache value and for pessimistic policy. |
void |
speedoAdd(java.lang.Object elem,
int gcFieldNumber)
Adds an element in the gen class field whose number is given. |
| Methods inherited from interface javax.jdo.spi.PersistenceCapable |
|---|
jdoCopyFields, jdoCopyKeyFieldsFromObjectId, jdoCopyKeyFieldsToObjectId, jdoCopyKeyFieldsToObjectId, jdoGetObjectId, jdoGetPersistenceManager, jdoGetTransactionalObjectId, jdoGetVersion, jdoIsDeleted, jdoIsDetached, jdoIsDirty, jdoIsNew, jdoIsPersistent, jdoIsTransactional, jdoMakeDirty, jdoNewInstance, jdoNewInstance, jdoNewObjectIdInstance, jdoNewObjectIdInstance, jdoProvideField, jdoProvideFields, jdoReplaceField, jdoReplaceFields, jdoReplaceFlags, jdoReplaceStateManager |
| Methods inherited from interface org.objectweb.jorm.api.PBinding |
|---|
bind, exist, export, export, getPClassMapping, getPName, getStatus, init, read, read, unbind, unexport, write |
| Methods inherited from interface org.objectweb.perseus.cache.replacement.api.ReplaceableCacheEntry |
|---|
getCeAge, setCeAge |
| Methods inherited from interface org.objectweb.perseus.cache.api.FixableCacheEntry |
|---|
fixCe, getCeFixCount, unfixCe |
| Methods inherited from interface org.objectweb.perseus.cache.api.CacheEntry |
|---|
getCeIdentifier, getCeObject |
| Method Detail |
public boolean jdoIsActive()
public void jdoIsActive(boolean newvalue)
newvalue - the new value of the proxy flagjdoIsActive()public SpeedoHome getSpeedoHome()
public SpeedoAccessor getSpeedoAccessor()
public SpeedoAccessor getReferenceAccessor()
public void setReferenceAccessor(SpeedoAccessor refAcc)
refAcc - the new reference accessorpublic SpeedoAccessor createAccessor()
public void copyAccessor(SpeedoAccessor src,
SpeedoAccessor dest)
src - is the accessor containing peristent fields to copydest - is the accessor where persistent fields have to be copiedpublic void setEncodedPName(java.lang.Object encodedPName)
encodedPName - : the encoded PName of the persistent objectpublic java.lang.Object getEncodedPName()
public java.lang.String jdoGetJdoFileName()
public java.lang.Object jdoGetPNameHints()
public void speedoAdd(java.lang.Object elem,
int gcFieldNumber)
|
||||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||