/* BookProvider.java

	Purpose:
		
	Description:
		
	History:
		2013/6/27, Dennis

Copyright (C) 2010 Potix Corporation. All Rights Reserved.
*/
package org.zkoss.zss.jsp;

import javax.servlet.ServletContext;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.zkoss.zss.api.model.Book;
/**
 * The provider interface for providing a book in jsp or servlet.
 * This provide is called when initialing a spreadsheet and in zk context.
 * @author dennis
 * @since 3.0.0
 */
public interface BookProvider {

	Book loadBook(ServletContext servletContext, HttpServletRequest request,HttpServletResponse res);
}
