public interface MenuComponentCreationListener
DefaultMenuComponentFactory
to receive informations or failure messages of menu component
creation process.
This mechanism can be used to forward these informations to application specific logging frameworks or to initiate certain failure handling.
Modifier and Type | Method and Description |
---|---|
void |
creationFailure(NamedMenuComponentFactory source,
String message,
String key,
Throwable t)
This method will be called if a failure occurred while menu component creation.
|
void |
creationInformation(NamedMenuComponentFactory source,
String message,
String key)
This method will be called when ever informational messages should be provided while a menu
component creation.
|
void |
creationWarning(NamedMenuComponentFactory source,
String message,
String key)
This method will be called if something happens while menu component creation, which should be
notified as a warning indicating a potential problem.
|
void creationFailure(NamedMenuComponentFactory source, String message, String key, Throwable t)
source
- The source object where the failure occurred.message
- A failure descriptionkey
- (optional) The key of the problematic menu structure or null
t
- (optional) the occurred Throwable
or null
void creationWarning(NamedMenuComponentFactory source, String message, String key)
source
- The source object where the problem occurred.message
- A problem descriptionkey
- (optional) The key of the problematic menu structure or null
void creationInformation(NamedMenuComponentFactory source, String message, String key)
source
- The source object which propagates the information.message
- A messagekey
- (optional) The key of the menu structure or null
Copyright © 2024 levigo holding gmbh. All rights reserved.