Inherits alfa.rt.PersistenceSupport, and alfa.rt.MessagingSupport.
Inherited by alfa.rt.NoOpRuntimeContext, and alfa.rt_int.DefaultRuntimeContext.
|
static RuntimeContext | getDefaultRuntimeContext () |
|
static PersistenceSupport | getDefaultPersistenceSupport () |
|
static MessagingSupport | getDefaultMessagingSupport () |
|
static RuntimeContext | createRuntimeContext (PersistenceSupport ps) |
|
static RuntimeContext | createRuntimeContext (PersistenceSupport ps, MessagingSupport ms) |
|
Interface passed into Builders and other classes that need to support runtime behaviour. Also supports encryption/decryption functions that can be implemented to encforce the required behaviour.
◆ compress()
byte[] alfa.rt.RuntimeContext.compress |
( |
byte[] | inputData | ) |
|
Compress the input bytes using a compression implementation
- Parameters
-
- Returns
◆ decrypt()
byte[] alfa.rt.RuntimeContext.decrypt |
( |
byte[] | inputData | ) |
|
Decrypt the given byte[]
- Parameters
-
inputData | Byte[] to decrypt |
- Returns
- An decrypted byte[]
◆ encrypt()
byte[] alfa.rt.RuntimeContext.encrypt |
( |
byte[] | inputData | ) |
|
Encrypt the given byte[]
- Parameters
-
inputData | Byte[] to encrypt |
- Returns
- An encrypted byte[]
◆ uncompress()
byte[] alfa.rt.RuntimeContext.uncompress |
( |
byte[] | inputData | ) |
|
Decompress the input bytes using the reverse of the compression implementation
- Parameters
-
- Returns
The documentation for this interface was generated from the following file:
- src/main/java/alfa/rt/RuntimeContext.java