Class HypermediaAutoConfigurationAdapter

java.lang.Object
com.foreach.across.autoconfigure.hateoas.HypermediaAutoConfigurationAdapter
All Implemented Interfaces:
com.foreach.across.core.context.bootstrap.AcrossBootstrapConfigurer

@Configuration @ConditionalOnClass({org.springframework.hateoas.EntityModel.class,org.springframework.web.bind.annotation.RequestMapping.class,org.springframework.plugin.core.Plugin.class}) @ConditionalOnWebApplication public class HypermediaAutoConfigurationAdapter extends Object implements com.foreach.across.core.context.bootstrap.AcrossBootstrapConfigurer
Adapts the default HypermediaAutoConfiguration. Ensures that EntityLinks and RelProvider are available in all Across modules.
Since:
1.0.2
Author:
Arne Vandamme
  • Field Summary

    Fields inherited from interface com.foreach.across.core.context.bootstrap.AcrossBootstrapConfigurer

    CONTEXT_INFRASTRUCTURE_MODULE, CONTEXT_POSTPROCESSOR_MODULE
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    configureContext(com.foreach.across.core.context.bootstrap.AcrossBootstrapConfig contextConfiguration)
     
    void
    configureModule(com.foreach.across.core.context.bootstrap.ModuleBootstrapConfig moduleConfiguration)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • HypermediaAutoConfigurationAdapter

      public HypermediaAutoConfigurationAdapter()
  • Method Details

    • configureContext

      public void configureContext(com.foreach.across.core.context.bootstrap.AcrossBootstrapConfig contextConfiguration)
      Specified by:
      configureContext in interface com.foreach.across.core.context.bootstrap.AcrossBootstrapConfigurer
    • configureModule

      public void configureModule(com.foreach.across.core.context.bootstrap.ModuleBootstrapConfig moduleConfiguration)
      Specified by:
      configureModule in interface com.foreach.across.core.context.bootstrap.AcrossBootstrapConfigurer