Java Runtime 3.0.1
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | List of all members
com.schemarise.alfa.runtime.RuntimeContext Interface Reference

Inherits com.schemarise.alfa.runtime.PersistenceSupport, and com.schemarise.alfa.runtime.MessagingSupport.

Inherited by com.schemarise.alfa.runtime.NoOpRuntimeContext, and com.schemarise.alfa.runtime_int.DefaultRuntimeContext.

Public Member Functions

byte[] encrypt (byte[] inputData)
 
byte[] decrypt (byte[] inputData)
 
ILogger getLogger ()
 
byte[] compress (byte[] inputData)
 
byte[] uncompress (byte[] inputData)
 
IBuiltinFunctions getBuiltinFunctions ()
 

Static Public Member Functions

static RuntimeContext getDefaultRuntimeContext ()
 
static PersistenceSupport getDefaultPersistenceSupport ()
 
static MessagingSupport getDefaultMessagingSupport ()
 
static RuntimeContext createRuntimeContext (PersistenceSupport ps)
 
static RuntimeContext createRuntimeContext (PersistenceSupport ps, MessagingSupport ms)
 

Detailed Description

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.

Member Function Documentation

◆ compress()

byte[] com.schemarise.alfa.runtime.RuntimeContext.compress ( byte[] inputData)

Compress the input bytes using a compression implementation

Parameters
inputData
Returns

◆ decrypt()

byte[] com.schemarise.alfa.runtime.RuntimeContext.decrypt ( byte[] inputData)

Decrypt the given byte[]

Parameters
inputDataByte[] to decrypt
Returns
An decrypted byte[]

◆ encrypt()

byte[] com.schemarise.alfa.runtime.RuntimeContext.encrypt ( byte[] inputData)

Encrypt the given byte[]

Parameters
inputDataByte[] to encrypt
Returns
An encrypted byte[]

◆ uncompress()

byte[] com.schemarise.alfa.runtime.RuntimeContext.uncompress ( byte[] inputData)

Decompress the input bytes using the reverse of the compression implementation

Parameters
inputData
Returns

The documentation for this interface was generated from the following file: