Interface Controller


public interface Controller
Decides what set of operations should be allowed or denied based on the caller's Module.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns rules which determine if a calling module is allowed to perform an operation.
  • Method Details

    • rulesForCaller

      Rules rulesForCaller(Module caller)
      Returns rules which determine if a calling module is allowed to perform an operation.
      Parameters:
      caller - the caller's module, which can be named or unnamed
      Returns:
      a Rules instance, which can be null if all operations are allowed