public class RestIntegrationModule extends Object implements info.magnolia.module.ModuleLifecycle
EndpointDefinitionRegistry
,
as well as supports additional resteasy providers.Constructor and Description |
---|
RestIntegrationModule(info.magnolia.config.source.ConfigurationSourceFactory cfgSourceFactory,
EndpointDefinitionRegistry endpointRegistry) |
RestIntegrationModule(ConfiguredEndpointDefinitionManager configuredEndpointDefinitionManager)
Deprecated.
since 2.0 use
RestIntegrationModule(ConfigurationSourceFactory, EndpointDefinitionRegistry) instead. |
Modifier and Type | Method and Description |
---|---|
List<AdditionalProviderDefinition> |
getAdditionalProviders() |
void |
setAdditionalProviders(List<AdditionalProviderDefinition> additionalProviders) |
void |
start(info.magnolia.module.ModuleLifecycleContext ctx) |
void |
stop(info.magnolia.module.ModuleLifecycleContext moduleLifecycleContext) |
@Inject public RestIntegrationModule(info.magnolia.config.source.ConfigurationSourceFactory cfgSourceFactory, EndpointDefinitionRegistry endpointRegistry)
@Deprecated public RestIntegrationModule(ConfiguredEndpointDefinitionManager configuredEndpointDefinitionManager)
RestIntegrationModule(ConfigurationSourceFactory, EndpointDefinitionRegistry)
instead.public void start(info.magnolia.module.ModuleLifecycleContext ctx)
start
in interface info.magnolia.module.ModuleLifecycle
public void stop(info.magnolia.module.ModuleLifecycleContext moduleLifecycleContext)
stop
in interface info.magnolia.module.ModuleLifecycle
public List<AdditionalProviderDefinition> getAdditionalProviders()
public void setAdditionalProviders(List<AdditionalProviderDefinition> additionalProviders)
Copyright © 2019 Magnolia International Ltd.. All rights reserved.