Uses of Class
org.apache.juneau.config.Config
Packages that use Config
Package
Description
REST Server API
-
Uses of Config in org.apache.juneau.config
Methods in org.apache.juneau.config that return ConfigModifier and TypeMethodDescriptionConfig.addListener
(ConfigEventListener listener) Add a listener to this config to react to modification events.Config.applyMods()
Encodes and unencoded entries in this config.Config.Builder.build()
Config.commit()
Commit the changes in this config to the store.static Config
Config.getSystemDefault()
Returns the system default configuration.Overwrites the contents of the config file.Overwrites the contents of the config file.Loads the contents of the specified map of maps into this config.Removes an entry with the specified key.Config.removeImport
(String sectionName, String importName) Removes the import statement with the specified name from the specified section.Config.removeListener
(ConfigEventListener listener) Removes a listener from this config.Config.removeSection
(String name) Removes the section with the specified name.Config.resolving
(VarResolverSession varSession) Creates a copy of this config using the specified var session for resolving variables.Config.rollback()
Does a rollback of any changes on this config currently in memory.Adds or replaces an entry with the specified key with a POJO serialized to a string using the registered serializer.Config.set
(String key, Object value, Serializer serializer) Same asset(String, Object)
but allows you to specify the serializer to use to serialize the value.Config.set
(String key, Object value, Serializer serializer, String modifiers, String comment, List<String> preLines) Same asset(String, Object)
but allows you to specify all aspects of a value.Sets a value in this config.Creates the specified import statement if it doesn't exist.Config.setSection
(String name, List<String> preLines) Creates the specified section if it doesn't exist.Creates the specified section if it doesn't exist.Config.setSystemProperties()
Takes the settings defined in this configuration and sets them as system properties.Methods in org.apache.juneau.config with parameters of type ConfigModifier and TypeMethodDescriptionstatic void
Config.setSystemDefault
(Config systemDefault) Sets a system default configuration.Constructors in org.apache.juneau.config with parameters of type Config -
Uses of Config in org.apache.juneau.microservice
Methods in org.apache.juneau.microservice that return ConfigModifier and TypeMethodDescriptionMicroservice.getConfig()
Returns the external INI-style configuration file that can be used to configure your microservice.Methods in org.apache.juneau.microservice with parameters of type ConfigModifier and TypeMethodDescriptionSpecifies the config for initializing this microservice. -
Uses of Config in org.apache.juneau.microservice.jetty
Methods in org.apache.juneau.microservice.jetty with parameters of type ConfigModifier and TypeMethodDescription -
Uses of Config in org.apache.juneau.microservice.resources
Methods in org.apache.juneau.microservice.resources with parameters of type ConfigConstructors in org.apache.juneau.microservice.resources with parameters of type Config -
Uses of Config in org.apache.juneau.rest
Methods in org.apache.juneau.rest that return ConfigModifier and TypeMethodDescriptionRestContext.Builder.config()
Returns the external configuration file for this resource.protected Config
RestContext.Builder.createConfig
(BeanStore beanStore, Supplier<?> resource, Class<?> resourceClass) Creates the config for this builder.RestContext.getConfig()
Returns the config file associated with this servlet.RestRequest.getConfig()
Config file associated with the resource.Methods in org.apache.juneau.rest with parameters of type ConfigModifier and TypeMethodDescriptionOverwrites the default config file with a custom config file.