KickJava   Java API By Example, From Geeks To Geeks.

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


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 org.jboss.portal.common.metadata.MetaData;
12
13 /**
14  * @author <a HREF="mailto:julien@jboss.org">Julien Viet</a>
15  * @version $Revision: 1.3 $
16  */

17 public class ComponentConfigurationMetaData implements MetaData
18 {
19
20    /** . */
21    private String JavaDoc name;
22
23    /** The interceptor list of the portlet */
24    private InterceptorListMetaData interceptorList;
25
26    public ComponentConfigurationMetaData(String JavaDoc name)
27    {
28       if (name == null)
29       {
30          throw new IllegalArgumentException JavaDoc("name must not be null");
31       }
32       this.name = name;
33       this.interceptorList = new InterceptorListMetaData();
34    }
35
36    public String JavaDoc getName()
37    {
38       return name;
39    }
40
41    public InterceptorListMetaData getInterceptorList()
42    {
43       return interceptorList;
44    }
45
46    public void setInterceptorList(InterceptorListMetaData interceptorList)
47    {
48       this.interceptorList = interceptorList;
49    }
50 }
51
Popular Tags