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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
configureContext
(com.foreach.across.core.context.bootstrap.AcrossBootstrapConfig contextConfiguration) void
configureModule
(com.foreach.across.core.context.bootstrap.ModuleBootstrapConfig moduleConfiguration)
-
Constructor Details
-
HypermediaAutoConfigurationAdapter
public HypermediaAutoConfigurationAdapter()
-
-
Method Details
-
configureContext
public void configureContext(com.foreach.across.core.context.bootstrap.AcrossBootstrapConfig contextConfiguration) - Specified by:
configureContext
in interfacecom.foreach.across.core.context.bootstrap.AcrossBootstrapConfigurer
-
configureModule
public void configureModule(com.foreach.across.core.context.bootstrap.ModuleBootstrapConfig moduleConfiguration) - Specified by:
configureModule
in interfacecom.foreach.across.core.context.bootstrap.AcrossBootstrapConfigurer
-