@Configuration(name="global-config") public class GlobalConfig extends Object implements org.mule.runtime.api.lifecycle.Initialisable, org.mule.runtime.api.lifecycle.Disposable
| Constructor and Description |
|---|
GlobalConfig()
Default Constructor used by Mule.
|
GlobalConfig(List<OtherOptionConfig> otherOptionConfigs)
Constructor for manually constructing the endpoint.
|
| Modifier and Type | Method and Description |
|---|---|
void |
dispose()
Dispose configuration.
|
static Optional<org.eclipse.californium.core.coap.option.OptionDefinition> |
getOtherOptionDefinition(String alias)
Get the definition of an other option.
|
void |
initialise()
Initialize configuration.
|
public GlobalConfig()
public GlobalConfig(List<OtherOptionConfig> otherOptionConfigs)
otherOptionConfigs - List of expected other options.public static Optional<org.eclipse.californium.core.coap.option.OptionDefinition> getOtherOptionDefinition(String alias)
alias - The alias of the other option.public void initialise()
throws org.mule.runtime.api.lifecycle.InitialisationException
initialise in interface org.mule.runtime.api.lifecycle.Initialisableorg.mule.runtime.api.lifecycle.InitialisationExceptionpublic void dispose()
dispose in interface org.mule.runtime.api.lifecycle.DisposableCopyright © 2019–2024 Teslanet.nl. All rights reserved.