com.tibco.cep.runtime.session

## Interface RuleRuntime

- All Known Implementing Classes:
    RuleSessionManager

      public interface RuleRuntime

  Manages the life cycle of `RuleSession` objects.
  Since:
    2.0.0

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `RuleServiceProvider` | `getRuleServiceProvider()` Returns the `RuleServiceProvider` associated with this `RuleRuntime`.
    `RuleSession` | `getRuleSession(java.lang.String name)` Gets a `RuleSession` by name.
    `RuleSession[]` | `getRuleSessions()` Gets an array of all the `RuleSession` associated with this runtime.

- - ### Method Detail

    - #### getRuleSessions

          RuleSession[] getRuleSessions()

      Gets an array of all the `RuleSession` associated with this runtime.
      Returns:
        an array of all the `RuleSession` associated with this runtime.
      Since:
        2.0.0

    - #### getRuleSession

          RuleSession getRuleSession(java.lang.String name)

      Gets a `RuleSession` by name.
      Parameters:
        `name` - - A string whose value is one of the BusinessEvent's archive name (not the Enterprise archive) configured during the packaging process.
      Returns:
        The `RuleSession` found, or null if not found.
      Since:
        2.0.0

    - #### getRuleServiceProvider

          RuleServiceProvider getRuleServiceProvider()

      Returns the `RuleServiceProvider` associated with this `RuleRuntime`.
      Returns:
        the `RuleServiceProvider` associated with this `RuleRuntime`.
      Since:
        2.0.0