public interface OptionalObjectsController
| Modifier and Type | Method and Description |
|---|---|
void |
discardOptionalObject(String key)
Registers the given
key as a discarded object |
Collection<String> |
getAllOptionalKeys() |
Object |
getDiscardedObjectPlaceholder()
A placeholder for Spring to temporarily work with.
|
boolean |
isDiscarded(String key) |
boolean |
isOptional(String key) |
void |
registerOptionalKey(String key)
Registers the given
key as optional |
void registerOptionalKey(String key)
key as optionalkey - an object keyvoid discardOptionalObject(String key)
key as a discarded objectkey - an object keyboolean isOptional(String key)
key - an object keytrue if the given key is optional. false otherwiseboolean isDiscarded(String key)
key - an object keytrue if the given key is discarded. false otherwiseObject getDiscardedObjectPlaceholder()
null entries. This object will
be removed from the registry when MuleArtifactContext is fully startedCollection<String> getAllOptionalKeys()
Copyright © 2003–2025 MuleSoft, Inc.. All rights reserved.