org.apache.wsrp4j.producer
Class ProviderAccess

java.lang.Object
  extended byorg.apache.wsrp4j.producer.ProviderAccess

public class ProviderAccess
extends java.lang.Object

This class provides a static method to access the Provider component. Reads in the file "wsrp-services.properties".

Author:
Stefan Behl

Constructor Summary
ProviderAccess()
           
 
Method Summary
static Provider getProvider()
          Fetches a Provider-instance utilizing the read ProviderFactory and returns it.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProviderAccess

public ProviderAccess()
Method Detail

getProvider

public static Provider getProvider()
                            throws WSRPException
Fetches a Provider-instance utilizing the read ProviderFactory and returns it.

Returns:
A Provider-interface.
Throws:
WSRPException