Package com.cognifide.slice.api.execution

Examples of com.cognifide.slice.api.execution.ExecutionContext


    this.resourceResolver = resourceResolver;
  }

  @Override
  public Resource get() {
    final ExecutionContext executionItem = currentExecutionContext.peek();
    if (executionItem.getResource() != null) {
      return executionItem.getResource();
    } else {
      final Resource resource = resourceResolver.getResource(executionItem.getPath());
      return ResourceUtil.getValidResourceOrNull(resource);
    }
  }
View Full Code Here

TOP

Related Classes of com.cognifide.slice.api.execution.ExecutionContext

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.