public class ExecutionContextImpl extends java.lang.Object implements ExecutionContext
Modifiers | Name | Description |
---|---|---|
static class |
ExecutionContextImpl.ThreadPoolRunnable |
Constructor and description |
---|
ExecutionContextImpl
(ExecutionContextFactoryImpl ecfi, java.lang.Thread forThread) |
Type Params | Return Type | Name and description |
---|---|---|
|
public void |
destroy() |
|
public ArtifactExecutionFacade |
getArtifactExecution() |
|
public CacheFacade |
getCache() |
|
public ContextStack |
getContext() |
|
public ContextBinding |
getContextBinding() |
|
public java.util.Map<java.lang.String, java.lang.Object> |
getContextRoot() |
|
public ElasticFacade |
getElastic() |
|
public EntityFacade |
getEntity() |
|
public EntityFacadeImpl |
getEntityFacade() |
|
public ExecutionContextFactory |
getFactory() |
|
public L10nFacade |
getL10n() |
|
public LoggerFacade |
getLogger() |
|
public MessageFacade |
getMessage() |
|
public java.util.List<NotificationMessage> |
getNotificationMessages(java.lang.String topic) |
|
public ResourceFacade |
getResource() |
|
public ScreenFacade |
getScreen() |
|
public ServiceFacade |
getService() |
|
public boolean |
getSkipStats() |
|
public javax.cache.Cache<java.lang.String, java.util.ArrayList> |
getTarpitHitCache() |
<V> |
public V |
getTool(java.lang.String toolName, java.lang.Class<V> instanceClass, java.lang.Object parameters) |
|
public TransactionFacade |
getTransaction() |
|
public UserFacade |
getUser() |
|
public WebFacade |
getWeb() |
|
public WebFacadeImpl |
getWebImpl() |
|
public void |
initWebFacade(java.lang.String webappMoquiName, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) |
|
public NotificationMessage |
makeNotificationMessage() |
|
public java.util.concurrent.Future |
runAsync(groovy.lang.Closure closure) |
|
public java.util.concurrent.Future |
runInWorkerThread(groovy.lang.Closure closure) Uses the ECFI constructor for ThreadPoolRunnable so does NOT use the current ECI in the separate thread |
|
public void |
setWebFacade(WebFacade wf) Meant to be used to set a test stub that implements the WebFacade interface |
|
public java.lang.String |
toString() |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Uses the ECFI constructor for ThreadPoolRunnable so does NOT use the current ECI in the separate thread
Meant to be used to set a test stub that implements the WebFacade interface