org.fao.geonet.services.util.z3950
Class RepositoryInfo

java.lang.Object
  extended by org.fao.geonet.services.util.z3950.RepositoryInfo

public class RepositoryInfo
extends Object

helperclass to get a list of remote searchable collections from the repositories in the JZkit configuration

Author:
'Timo Proescholdt ', 'Simon Pigot'

Method Summary
 String getClassName()
           
 String getCode()
           
 String getDn()
           
 String getName()
           
static Collection<RepositoryInfo> getRepositories(ServiceContext srvContext)
          returns the list of repositories that are configured in JZkit
 String getServerCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getDn

public String getDn()

getName

public String getName()

getCode

public String getCode()

getServerCode

public String getServerCode()

getClassName

public String getClassName()

toString

public String toString()
Overrides:
toString in class Object

getRepositories

public static Collection<RepositoryInfo> getRepositories(ServiceContext srvContext)
                                                  throws org.jzkit.configuration.api.ConfigurationException
returns the list of repositories that are configured in JZkit

Parameters:
srvContext -
Returns:
Throws:
org.jzkit.configuration.api.ConfigurationException


Copyright © 2003-2013. All Rights Reserved.