KickJava   Java API By Example, From Geeks To Geeks.

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


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.ArrayList JavaDoc;
12 import java.util.List JavaDoc;
13
14 import org.jboss.portal.common.plugin.PluginMetaData;
15
16 /**
17  * @author <a HREF="mailto:julien@jboss.org">Julien Viet</a>
18  * @version $Revision: 1.2 $
19  */

20 public class InterceptorListMetaData implements PluginMetaData
21 {
22
23    private List JavaDoc list;
24
25    public InterceptorListMetaData()
26    {
27       list = new ArrayList JavaDoc();
28    }
29
30    public List JavaDoc getList()
31    {
32       return list;
33    }
34
35    public void add(InterceptorMetaData interceptor)
36    {
37       list.add(interceptor);
38    }
39 }
40
Popular Tags