|
IBM WebSphereTM eXtreme Scale, Release 8.6 API Specification |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface JPAPropertyFactory
This interface is used to allow users plug in their own persistence property map to
the JPATxCallback
object.
In some cases, users might want to override the persistence properties defined in the
default persistence.xml. The getPersistenceProperties(ObjectGrid, int)
method can
be implemented to provide the override property map.
Method Summary | |
---|---|
Map |
getPersistenceProperties(ObjectGrid og,
int partitionId)
Provide the persistence properties to override those in the persistence.xml. |
Method Detail |
---|
Map getPersistenceProperties(ObjectGrid og, int partitionId)
An ObjectGrid instance and its partition identifier are passed to this method so users can get ObjectGrid attributes, such as ObjectGrid name. The partitionId indicates the partition identifier being used by this ObjectGrid instance if the ObjectGrid is a server ObjectGrid. If the ObjectGrid is a local or client ObjectGrid, the partition id is 0.
og
- the ObjectGrid instance this JPATxCallback
object is associated with.partitionId
- the partition identifier if the ObjectGrid instance
|
IBM WebSphereTM eXtreme Scale, Release 8.6 API Specification |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |