Interface ContextManager
-
- All Known Implementing Classes:
ContextManagerImpl
public interface ContextManager
Manages allContext
objects for sites- Since:
- 4.0.0
- Author:
- joseross
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
destroyContext(String siteId)
Destroys the context for the given siteorg.craftercms.core.service.Context
getContext(String siteId)
Returns the context for the given site, creating it if needed
-
-
-
Method Detail
-
getContext
org.craftercms.core.service.Context getContext(String siteId)
Returns the context for the given site, creating it if needed- Parameters:
siteId
- the id of the site- Returns:
- the context
-
destroyContext
void destroyContext(String siteId)
Destroys the context for the given site- Parameters:
siteId
- the id of the site
-
-