|
Cumulus4j API (1.0.1) |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.cumulus4j.store.crypto.CryptoContext
public class CryptoContext
Context for encryption and decryption.
Constructor Summary | |
---|---|
CryptoContext(EncryptionCoordinateSetManager encryptionCoordinateSetManager,
ExecutionContext executionContext,
PersistenceManagerConnection persistenceManagerConnection)
Create a new context. |
Method Summary | |
---|---|
EncryptionCoordinateSetManager |
getEncryptionCoordinateSetManager()
Get the EncryptionCoordinateSetManager to be used in this context; never null . |
ExecutionContext |
getExecutionContext()
Get the ExecutionContext to be used in this context; never null . |
PersistenceManagerConnection |
getPersistenceManagerConnection()
Get the PersistenceManagerConnection to be used in this context; never null . |
PersistenceManager |
getPersistenceManagerForData()
Convenience method synonymous to PersistenceManagerConnection.getDataPM() . |
PersistenceManager |
getPersistenceManagerForIndex()
Convenience method synonymous to PersistenceManagerConnection.getIndexPM() . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CryptoContext(EncryptionCoordinateSetManager encryptionCoordinateSetManager, ExecutionContext executionContext, PersistenceManagerConnection persistenceManagerConnection)
encryptionCoordinateSetManager
- the EncryptionCoordinateSetManager
to be used in this context; must not be null
.executionContext
- the ExecutionContext
to be used in this context; must not be null
.persistenceManagerConnection
- the PersistenceManagerConnection
to be used in this context; must not be null
.Method Detail |
---|
public EncryptionCoordinateSetManager getEncryptionCoordinateSetManager()
EncryptionCoordinateSetManager
to be used in this context; never null
.
EncryptionCoordinateSetManager
to be used in this context; never null
.public ExecutionContext getExecutionContext()
ExecutionContext
to be used in this context; never null
.
ExecutionContext
to be used in this context; never null
.public PersistenceManagerConnection getPersistenceManagerConnection()
PersistenceManagerConnection
to be used in this context; never null
.
PersistenceManagerConnection
to be used in this context; never null
.public PersistenceManager getPersistenceManagerForData()
PersistenceManagerConnection.getDataPM()
.
public PersistenceManager getPersistenceManagerForIndex()
PersistenceManagerConnection.getIndexPM()
.
getPersistenceManagerForData()
.
|
Cumulus4j API (1.0.1) |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |