@Configuration
public class BeanConfiguration
extends java.lang.Object
| Constructor and Description |
|---|
BeanConfiguration(ApplicationProperties applicationProperties) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String[] |
args()
Bean for starting up our Spring Boot Application, serving as our...
starts chantingpublic-static-void-main-string-args-public-static-void-main-string-args-public-static-void-main-string-args ehem... Sorry 'bout that. |
javax.xml.parsers.DocumentBuilder |
documentBuilder()
DocumentBuilder for working with XML data.
|
java.io.File |
fabricInstallerManifest()
Bean for the location of the Fabric installer version manifest-file.
|
java.io.File |
fabricIntermediariesManifest()
Bean for the location of the Fabric intermediaries manifest-file.
|
java.io.File |
fabricManifest()
Bean for the location of the Fabric version manifest-file.
|
java.io.File |
forgeManifest()
Bean for the location of the Forge version manifest-file.
|
java.io.File |
legacyFabricGameManifest()
Storage location for Legacy Fabric Game version manifest file.
|
java.io.File |
legacyFabricInstallerManifest()
Storage location for Legacy Fabric Installer version manifest file.
|
java.io.File |
legacyFabricLoaderManifest()
Storage location for Legacy Fabric Loader version manifest file.
|
java.io.File |
minecraftManifest()
Bean for the location of the Minecraft version manifest-file.
|
com.fasterxml.jackson.databind.ObjectMapper |
objectMapper()
ObjectMapper-bean for use in various JSON-related things. |
java.io.File |
quiltInstallerManifest()
Bean for the location of the Quilt installer version manifest-file.
|
java.io.File |
quiltManifest()
Bean for the location of the Quilt version manifest-file.
|
com.electronwill.nightconfig.toml.TomlParser |
tomlParser()
TomlParser for parsing .toml-files. |
@Autowired public BeanConfiguration(ApplicationProperties applicationProperties)
@Bean public java.io.File minecraftManifest()
@Bean public java.io.File forgeManifest()
@Bean public java.io.File fabricManifest()
@Bean public java.io.File fabricIntermediariesManifest()
@Bean public java.io.File fabricInstallerManifest()
@Bean public java.io.File quiltManifest()
@Bean public java.io.File quiltInstallerManifest()
@Bean public java.lang.String[] args()
starts chanting@Bean public com.fasterxml.jackson.databind.ObjectMapper objectMapper()
ObjectMapper-bean for use in various JSON-related things. Disabled
DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES, enabled
DeserializationFeature.ACCEPT_SINGLE_VALUE_AS_ARRAY.@Bean public com.electronwill.nightconfig.toml.TomlParser tomlParser()
TomlParser for parsing .toml-files.@Bean public java.io.File legacyFabricGameManifest()
@Bean public java.io.File legacyFabricLoaderManifest()
@Bean public java.io.File legacyFabricInstallerManifest()
@Bean
public javax.xml.parsers.DocumentBuilder documentBuilder()
throws javax.xml.parsers.ParserConfigurationException
javax.xml.parsers.ParserConfigurationException - if a DocumentBuilder cannot be created which satisfies the
configuration requested.