org.apache.jetspeed.portlets.rpad
Class RepositoryManager

java.lang.Object
  extended by org.apache.jetspeed.portlets.rpad.RepositoryManager

public class RepositoryManager
extends Object


Field Summary
private  String configFileName
           
private static org.apache.commons.logging.Log log
          Logger for this class
private  Map repositories
           
private static RepositoryManager repositoryManager
           
 
Constructor Summary
RepositoryManager(String configFileName)
           
 
Method Summary
 void addRepository(String name, Repository repository)
           
static RepositoryManager getInstance()
           
 List getPortletApplications()
           
 List getPortletApplications(String name)
           
 List getRepositories()
           
 Repository getRepository(String name)
           
static void init(String configFileName)
           
protected  void load()
           
 void reload()
           
 void removeRepository(String name)
           
 void store()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

private static final org.apache.commons.logging.Log log
Logger for this class


configFileName

private String configFileName

repositories

private Map repositories

repositoryManager

private static RepositoryManager repositoryManager
Constructor Detail

RepositoryManager

public RepositoryManager(String configFileName)
                  throws RPADException
Throws:
RPADException
Method Detail

init

public static void init(String configFileName)
                 throws RPADException
Throws:
RPADException

getInstance

public static RepositoryManager getInstance()

load

protected void load()
             throws RPADException
Throws:
RPADException

reload

public void reload()
            throws RPADException
Throws:
RPADException

addRepository

public void addRepository(String name,
                          Repository repository)
                   throws RPADException
Throws:
RPADException

getRepository

public Repository getRepository(String name)

removeRepository

public void removeRepository(String name)
                      throws RPADException
Throws:
RPADException

getRepositories

public List getRepositories()

store

public void store()
           throws RPADException
Throws:
RPADException

getPortletApplications

public List getPortletApplications()

getPortletApplications

public List getPortletApplications(String name)


Copyright © 1999-2007 Apache Software Foundation. All Rights Reserved.