Package dev.getelements.elements.rt
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 Summary
Modifier and TypeMethodDescriptiongetContextForApplication(ApplicationId applicationId) Gets aContextwhich can communicate with the remote application.default ContextgetContextForApplication(String applicationIdString) Gets theContextfor the supplied string representing theApplicationId.
-
Method Details
-
getContextForApplication
Gets theContextfor the supplied string representing theApplicationId.- Parameters:
applicationIdString- The unique application name- Returns:
- the
Context
-
getContextForApplication
Gets aContextwhich can communicate with the remote application.- Parameters:
applicationId- theApplicationIdof the remote application- Returns:
- the
Context
-