Class ApacheRuntimeConfiguration
java.lang.Object
io.micronaut.http.poja.apache.ApacheRuntimeConfiguration
- All Implemented Interfaces:
io.micronaut.core.util.Toggleable
@ConfigurationProperties("poja.apache")
public class ApacheRuntimeConfiguration
extends Object
implements io.micronaut.core.util.Toggleable
Enablement configuration for the Apache POJA runtime.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanvoidsetEnabled(boolean enabled) Sets whether the Apache POJA runtime is enabled.
-
Field Details
-
PREFIX
- See Also:
-
ENABLED_PROPERTY
- See Also:
-
-
Constructor Details
-
ApacheRuntimeConfiguration
public ApacheRuntimeConfiguration()
-
-
Method Details
-
isEnabled
public boolean isEnabled()- Specified by:
isEnabledin interfaceio.micronaut.core.util.Toggleable
-
setEnabled
public void setEnabled(boolean enabled) Sets whether the Apache POJA runtime is enabled.- Parameters:
enabled- True if the runtime is enabled
-