|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MenuComponentCreationListener
Instances of MenuComponentCreationListener can be registered at
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.
Method Summary | |
---|---|
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. |
Method Detail |
---|
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
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |