org.ow2.petals.tools.juddiAdmin.search
Class SearchRegistryImpl

java.lang.Object
  extended by org.ow2.petals.tools.juddiAdmin.search.SearchRegistryImpl
All Implemented Interfaces:
SearchRegistry

public class SearchRegistryImpl
extends java.lang.Object
implements SearchRegistry

Author:
EL JAI Mohammed

Constructor Summary
SearchRegistryImpl()
          Just initialize the connection attribute
 
Method Summary
 java.util.List<javax.xml.registry.infomodel.Organization> findAllOrganizations()
          Return all the organizations registered into the registry.
 java.util.List<javax.xml.registry.infomodel.Service> findAllServices()
          Return all the services registered into the registry.
 javax.xml.registry.infomodel.Organization findOrganizationByName(java.lang.String name)
          Return the organization whose name is the string passed in parameter.
 javax.xml.registry.infomodel.Service findServiceByCompany(java.lang.String name, javax.xml.registry.infomodel.Organization org)
          Return the service named 'name' and provided by 'org'.
 javax.xml.registry.infomodel.Service findServiceByName(java.lang.String name)
          Return the service whose name is the string passed in parameter.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SearchRegistryImpl

public SearchRegistryImpl()
                   throws javax.xml.registry.JAXRException,
                          WebConsoleConfigException
Just initialize the connection attribute

Parameters:
realPath - the real path of the root directory
Throws:
javax.xml.registry.JAXRException
WebConsoleConfigException
java.io.IOException
java.io.FileNotFoundException
Method Detail

findAllOrganizations

public java.util.List<javax.xml.registry.infomodel.Organization> findAllOrganizations()
                                                                               throws javax.xml.registry.JAXRException
Description copied from interface: SearchRegistry
Return all the organizations registered into the registry.

Specified by:
findAllOrganizations in interface SearchRegistry
Returns:
Throws:
javax.xml.registry.JAXRException

findAllServices

public java.util.List<javax.xml.registry.infomodel.Service> findAllServices()
                                                                     throws javax.xml.registry.JAXRException
Description copied from interface: SearchRegistry
Return all the services registered into the registry.

Specified by:
findAllServices in interface SearchRegistry
Returns:
Throws:
javax.xml.registry.JAXRException

findOrganizationByName

public javax.xml.registry.infomodel.Organization findOrganizationByName(java.lang.String name)
                                                                 throws javax.xml.registry.JAXRException
Description copied from interface: SearchRegistry
Return the organization whose name is the string passed in parameter.

Specified by:
findOrganizationByName in interface SearchRegistry
Returns:
Throws:
javax.xml.registry.JAXRException

findServiceByName

public javax.xml.registry.infomodel.Service findServiceByName(java.lang.String name)
                                                       throws javax.xml.registry.JAXRException
Description copied from interface: SearchRegistry
Return the service whose name is the string passed in parameter.

Specified by:
findServiceByName in interface SearchRegistry
Returns:
Throws:
javax.xml.registry.JAXRException

findServiceByCompany

public javax.xml.registry.infomodel.Service findServiceByCompany(java.lang.String name,
                                                                 javax.xml.registry.infomodel.Organization org)
                                                          throws javax.xml.registry.JAXRException
Description copied from interface: SearchRegistry
Return the service named 'name' and provided by 'org'.

Specified by:
findServiceByCompany in interface SearchRegistry
Parameters:
name - service name
Returns:
Throws:
javax.xml.registry.JAXRException


Copyright © 2005-2008 OW2 Consortium. All Rights Reserved.