KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jboss > portal > core > portlet > test > TestModelContentProvider


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

11 package org.jboss.portal.core.portlet.test;
12
13 import org.jboss.portal.core.plugins.security.ModelContentProvider;
14 import org.jboss.portal.core.security.Item;
15 import org.apache.log4j.Logger;
16
17 import javax.servlet.ServletContext JavaDoc;
18 import java.util.Iterator JavaDoc;
19
20 /**
21  * @author <a HREF="mailto:julien@jboss.org">Julien Viet</a>
22  * @version $Revision: 1.2 $
23  */

24 public class TestModelContentProvider implements ModelContentProvider
25 {
26
27    private Logger log = Logger.getLogger(TestModelContentProvider.class);
28
29    public void init(ServletContext JavaDoc servletContext)
30    {
31    }
32
33    public Item getItem(String JavaDoc[] path)
34    {
35       return null;
36    }
37
38    public Iterator JavaDoc getChildren(String JavaDoc[] path)
39    {
40       return null;
41    }
42
43    public void destroy()
44    {
45    }
46 }
47
Popular Tags