org.jboss.dtf.testframework.utils
Class ServiceUtils

java.lang.Object
  extended by org.jboss.dtf.testframework.utils.ServiceUtils

public class ServiceUtils
extends java.lang.Object


Constructor Summary
ServiceUtils(java.lang.String nameServiceURI)
           
 
Method Summary
 NameServiceInterface getNameService()
          Retrieve a reference to the name service.
 java.lang.String getNameServiceURI()
           
 ProductRepositoryInterface getProductRepository()
          Retrieve a reference to the product repository.
 ServiceRegisterInterface getServiceRegister()
          Retrieve a reference to the service register.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServiceUtils

public ServiceUtils(java.lang.String nameServiceURI)
Method Detail

getNameServiceURI

public java.lang.String getNameServiceURI()

getNameService

public NameServiceInterface getNameService()
                                    throws ServiceNotFound
Retrieve a reference to the name service.

Returns:
A reference to the name service.
Throws:
ServiceNotFound

getProductRepository

public ProductRepositoryInterface getProductRepository()
                                                throws ServiceNotFound
Retrieve a reference to the product repository.

Returns:
A reference to the product repository.
Throws:
ServiceNotFound

getServiceRegister

public ServiceRegisterInterface getServiceRegister()
                                            throws ServiceNotFound
Retrieve a reference to the service register.

Returns:
A reference to the product repository.
Throws:
ServiceNotFound