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

java.lang.Object
  extended by org.objectweb.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(java.lang.String realPath)
          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(java.lang.String realPath)
Just initialize the connection attribute

Parameters:
realPath - the real path of the root directory
Method Detail

findAllOrganizations

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

Specified by:
findAllOrganizations in interface SearchRegistry
Returns:

findAllServices

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

Specified by:
findAllServices in interface SearchRegistry
Returns:

findOrganizationByName

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

Specified by:
findOrganizationByName in interface SearchRegistry
Returns:

findServiceByName

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

Specified by:
findServiceByName in interface SearchRegistry
Returns:

findServiceByCompany

public javax.xml.registry.infomodel.Service findServiceByCompany(java.lang.String name,
                                                                 javax.xml.registry.infomodel.Organization org)
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:


Copyright © 2005-2007 ObjectWeb Consortium. All Rights Reserved.