*/
package org.mxchange.pizzaapplication;
-import java.text.MessageFormat;
-import javax.servlet.ServletContext;
-import org.mxchange.jcore.BaseFrameworkSystem;
+import org.mxchange.jsfcore.BaseServletSystem;
/**
* A general class for whole pizza application.
*
* @author Roland Haeder
*/
-public class BasePizzaServiceSystem extends BaseFrameworkSystem {
- /**
- * Initializes properties from given servlet configuration
- * @param context Servlet context instance
- */
- protected void initProperties (final ServletContext context) {
- // Trace message
- this.getLogger().trace(MessageFormat.format("context={0} - CALLED!", context));
-
- // We need some properties that needs to be set
- for (final String name : this.getPropertyNames()) {
- // Debug log
- this.getLogger().debug(MessageFormat.format("name={0}", name));
-
- // Get value
- String value = context.getInitParameter(name).trim();
-
- // Debug log
- this.getLogger().debug(MessageFormat.format("{0}={1}", name, value));
-
- // Set property
- this.setProperty(name, value);
- }
-
- // Trace message
- this.getLogger().trace("EXIT!");
- }
+public class BasePizzaServiceSystem extends BaseServletSystem {
}