Class Context<R extends Resource>

java.lang.Object
javax.crac.Context<R>
Type Parameters:
R - Resource
All Implemented Interfaces:
Resource

public abstract class Context<R extends Resource> extends Object implements Resource
A Resource that allows other Resources to be registered with it.

Context implementation overrides beforeCheckpoint and afterRestore, defining how the notification about checkpoint and restore will be distributed by the Context hierarchy.

A Context implementor is encouraged to respect properties of the global Context.

  • Constructor Details

    • Context

      protected Context()
      Creates a Context.
  • Method Details