*/
package org.mxchange.addressbook.client;
+import java.text.MessageFormat;
import java.util.HashMap;
import java.util.Map;
import org.mxchange.addressbook.BaseFrameworkSystem;
* Shutdown method for all clients
*/
public void doShutdown () {
+ // Trace message
+ this.getLogger().trace("CALLED!"); //NOI18N
+
// Disable client
this.disableIsRunning();
// Shuts down contact manager
this.getContactManager().doShutdown();
+
+ // Trace message
+ this.getLogger().trace("EXIT!"); //NOI18N
}
/**
* Initializes contact manager
*/
protected void initContactManager () {
+ // Trace message
+ this.getLogger().trace("CALLED!"); //NOI18N
+
// Debug message
this.getLogger().debug("Initializing contact manager ...");
// Debug message
this.getLogger().debug("Contact manager has been initialized.");
+
+ // Trace message
+ this.getLogger().trace("EXIT!"); //NOI18N
}
/**
* @param menuType Given menu to show
*/
protected void showMenu (final String menuType) {
+ // Trace message
+ this.getLogger().trace(MessageFormat.format("menuType={0} - CALLED!", menuType)); //NOI18N
+
Menu menu = this.getMenu(menuType);
// Is the menu set?
// Show menu
menu.show((Client) this);
+
+ // Trace message
+ this.getLogger().trace("EXIT!"); //NOI18N
}
}