KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jboss > portal > server > metadata > PortalServerMetaData


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.metadata;
10
11 import java.util.Collections JavaDoc;
12 import java.util.Map JavaDoc;
13
14 import javax.servlet.ServletContext JavaDoc;
15
16 import org.jboss.portal.server.PortalConstants;
17 import org.jboss.portal.server.ServerObjectID;
18
19 /**
20  * @author <a HREF="mailto:julien@jboss.org">Julien Viet</a>
21  * @version $Revision: 1.3 $
22  */

23 public class PortalServerMetaData extends ServerObjectMetaData
24 {
25
26    private Map JavaDoc componentConfigurations;
27
28    public PortalServerMetaData(String JavaDoc name)
29    {
30       super(ServerObjectID.createPortalContainerID(), name);
31       this.componentConfigurations = Collections.EMPTY_MAP;
32    }
33
34    public InterceptorListMetaData getInterceptorList()
35    {
36       return (InterceptorListMetaData)getPlugin(PortalConstants.PLUGIN_INVOCATION);
37    }
38
39    public void setInterceptorList(InterceptorListMetaData interceptorList)
40    {
41       addPlugin(PortalConstants.PLUGIN_INVOCATION, interceptorList);
42    }
43
44    public Map JavaDoc getComponentConfigurations()
45    {
46       return componentConfigurations;
47    }
48
49    public void setComponentConfigurations(Map JavaDoc componentConfigurations)
50    {
51       this.componentConfigurations = componentConfigurations;
52    }
53 }
54
Popular Tags