Interface DeploymentContext


public interface DeploymentContext
The DeploymentContext allows to access useful information at deployment time. It is the responsibility of the implementation to give access to the component of its choice (ex: api definition, services components, ...).
Author:
Jeoffrey HAEYAERT (jeoffrey.haeyaert at graviteesource.com), GraviteeSource Team
  • Method Summary

    Modifier and Type
    Method
    Description
    <T> T
    getComponent(Class<T> componentClass)
    Returns the component corresponding to the specified componentClass.
    io.gravitee.el.TemplateEngine
    Get the TemplateEngine that can be used to evaluate EL expressions.
  • Method Details

    • getComponent

      <T> T getComponent(Class<T> componentClass)
      Returns the component corresponding to the specified componentClass.
      Type Parameters:
      T - the expected instance type.
      Parameters:
      componentClass - the Class of the expected component to retrieve.
      Returns:
      the component or null if no component found.
    • getTemplateEngine

      io.gravitee.el.TemplateEngine getTemplateEngine()
      Get the TemplateEngine that can be used to evaluate EL expressions.
      Returns:
      the El TemplateEngine.