*/
package org.mxchange.pizzaapplication.application;
+import java.io.IOException;
+import java.sql.SQLException;
import java.util.Iterator;
+import javax.servlet.ServletContext;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;
import org.mxchange.jcore.application.Application;
+import org.mxchange.jcore.exceptions.BadTokenException;
+import org.mxchange.jcore.exceptions.UnsupportedDatabaseBackendException;
import org.mxchange.pizzaapplication.category.Category;
import org.mxchange.pizzaapplication.exceptions.CategoryTitleAlreadyUsedException;
import org.mxchange.pizzaapplication.exceptions.ProductTitleAlreadyUsedException;
*/
public float getTotalPositionPriceFromRequestSession (final Product product, final HttpServletRequest request, final HttpSession session);
+ /**
+ * Initializes this instance with given ServletContext
+ *
+ * @param context Servlet context
+ * @throws org.mxchange.jcore.exceptions.UnsupportedDatabaseBackendException If the backend is unsupported
+ * @throws java.sql.SQLException If an SQL error occurs
+ * @throws java.io.IOException If an IO error occurs
+ * @throws org.mxchange.jcore.exceptions.BadTokenException If a bad token was found
+ */
+ public void init (final ServletContext context) throws UnsupportedDatabaseBackendException, SQLException, IOException, BadTokenException;
+
/**
* Checks whether the given product is choosen, request overules session.
*