01: /*
02: * Copyright 2001 Sun Microsystems, Inc. All rights reserved.
03: * PROPRIETARY/CONFIDENTIAL. Use of this product is subject to license terms.
04: */
05: package com.sun.portal.taskadmin.context;
06:
07: import java.util.Set;
08:
09: import javax.servlet.ServletContext;
10: import javax.servlet.http.HttpServletRequest;
11:
12: import com.sun.portal.taskadmin.TaskAdminException;
13:
14: public interface UserTaskAdminContextFactory {
15: public void init();
16:
17: public UserTaskAdminContext getUserTaskAdminContext(
18: HttpServletRequest req) throws TaskAdminException;
19:
20: public UserTaskAdminContext getUserTaskAdminContext(
21: HttpServletRequest req, boolean create)
22: throws TaskAdminException;
23: }
|