Interface Context

All Known Implementing Classes:
ContextImpl

public interface Context
Context for a deployment. The context will be kept around for the entire length of the processing of the deployment
Author:
Jesper Pedersen
  • Method Details

    • getKernel

      Kernel getKernel()
      Get the kernel instance for the deployment
      Returns:
      The instance
    • exists

      boolean exists(Object key)
      Exists
      Parameters:
      key - The key of the resource
      Returns:
      True if the key/value pair exists; otherwise false
    • put

      Object put(Object key, Object value)
      Put
      Parameters:
      key - The key of the resource
      value - The value of the resource
      Returns:
      The previous value for the key
    • get

      Object get(Object key)
      Get
      Parameters:
      key - The key of the resource
      Returns:
      The value of the resource
    • remove

      Object remove(Object key)
      Remove
      Parameters:
      key - The key of the resource
      Returns:
      The value of the resource