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 aContext
which can communicate with the remote application.default Context
getContextForApplication
(String applicationIdString) Gets theContext
for the supplied string representing theApplicationId
.
-
Method Details
-
getContextForApplication
Gets theContext
for the supplied string representing theApplicationId
.- Parameters:
applicationIdString
- The unique application name- Returns:
- the
Context
-
getContextForApplication
Gets aContext
which can communicate with the remote application.- Parameters:
applicationId
- theApplicationId
of the remote application- Returns:
- the
Context
-