public synchronized ExecutionContext getExecutionContext() { if (executionContext!=null) return executionContext; if (managementContextUsable.get()) { executionContext = managementContext.getExecutionContext(entity); return executionContext; } return nonDeploymentManagementContext.getExecutionContext(entity); } public synchronized SubscriptionContext getSubscriptionContext() {
ExecutionContext getEntityExecutionContext() { return getManagementContext().getExecutionContext(entity); } }