KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jboss > portal > server > InstanceContext


1 /*****************************************
2  * *
3  * JBoss Portal: The OpenSource Portal *
4  * *
5  * Distributable under LGPL license. *
6  * See terms of license at gnu.org. *
7  * *
8  *****************************************/

9 package org.jboss.portal.server;
10
11 import org.apache.log4j.Logger;
12 import org.jboss.portal.server.user.AbstractServerObjectContext;
13 import org.jboss.portal.server.util.Parameters;
14
15 /**
16  * The user state of a component instance.
17  *
18  * @author <a HREF="mailto:julien@jboss.org">Julien Viet</a>
19  * @version $Revision: 1.2 $
20  */

21 public class InstanceContext extends AbstractServerObjectContext
22 {
23
24    /** The logger. */
25    private static final Logger log = Logger.getLogger(InstanceContext.class);
26
27    /** The render parameters. */
28    protected final Parameters parameters;
29
30    public InstanceContext(ServerObjectID id)
31    {
32       super(id);
33       this.parameters = new Parameters();
34    }
35
36    /**
37     * Return the render parameters.
38     */

39    public Parameters getParameters()
40    {
41       return parameters;
42    }
43 }
44
Popular Tags