01: /**
02: * $Id: MarkupConfigManager.java,v 1.5 2004/02/27 20:06:33 mjain Exp $
03: * Copyright 2003 Sun Microsystems, Inc. All
04: * rights reserved. Use of this product is subject
05: * to license terms. Federal Acquisitions:
06: * Commercial Software -- Government Users
07: * Subject to Standard License Terms and
08: * Conditions.
09: *
10: * Sun, Sun Microsystems, the Sun logo, and Sun ONE
11: * are trademarks or registered trademarks of Sun Microsystems,
12: * Inc. in the United States and other countries.
13: */package com.sun.portal.wsrp.consumer.markup;
14:
15: import com.sun.portal.container.ContainerRequest;
16: import com.sun.portal.container.ContainerException;
17: import com.sun.portal.container.ContentException;
18:
19: import com.sun.portal.wsrp.common.stubs.PortletContext;
20:
21: /**
22: * This class gives access to and manages the relatively static
23: * configuration information that is needed or updated to
24: * completly process a markup request.
25: *
26: * @see MarkupConfig
27: */
28: public interface MarkupConfigManager {
29:
30: /**
31: * Given a container request, this method
32: * returns a populated instance of MarkupConfig.
33: *
34: * @param request
35: * @exception com.sun.portal.container.ContainerException
36: * @exception com.sun.portal.container.ContentException
37: */
38: MarkupConfig getMarkupConfig(ContainerRequest request)
39: throws ContainerException, ContentException;
40:
41: /**
42: * PortletContext contains a portlet handle and state
43: * that a Producer returned when processing a request.
44: * This method is responsible for storing this relatively static
45: * information away to be used by all subsequent requests from
46: * this channel. If a portlet is read only or persistent state is
47: * not changed by the producer, portlet handle is left at the default
48: * value according to spec.
49: *
50: * @param request
51: * @param portletContext
52: * @exception com.sun.portal.container.ContainerException
53: * @exception com.sun.portal.container.ContentException
54: */
55: void processPortletContext(ContainerRequest request,
56: PortletContext portletContext) throws ContainerException,
57: ContentException;
58:
59: }
|