Interface Context.Factory

All Known Implementing Classes:
CachingContextFactory
Enclosing interface:
Context

public static interface Context.Factory
Builds a Context which can communicate with a specific application.
  • Method Details

    • getContextForApplication

      default Context getContextForApplication(String applicationIdString)
      Gets the Context for the supplied string representing the ApplicationId.
      Parameters:
      applicationIdString - The unique application name
      Returns:
      the Context
    • getContextForApplication

      Context getContextForApplication(ApplicationId applicationId)
      Gets a Context which can communicate with the remote application.
      Parameters:
      applicationId - the ApplicationId of the remote application
      Returns:
      the Context