org.apache.wsrp4j.producer
Class ConsumerRegistryAccess

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

public class ConsumerRegistryAccess
extends java.lang.Object

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

Author:
Stefan Behl

Field Summary
static java.lang.String CONSUMER_REGISTRY_FACTORY
          String representing a factory type
 
Constructor Summary
ConsumerRegistryAccess()
           
 
Method Summary
static ConsumerRegistry getConsumerRegistry()
          Fetches a ConsumerRegistry-instance utilizing the read ConsumerRegistryFactory and returns it.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CONSUMER_REGISTRY_FACTORY

public static java.lang.String CONSUMER_REGISTRY_FACTORY
String representing a factory type

Constructor Detail

ConsumerRegistryAccess

public ConsumerRegistryAccess()
Method Detail

getConsumerRegistry

public static ConsumerRegistry getConsumerRegistry()
                                            throws WSRPException
Fetches a ConsumerRegistry-instance utilizing the read ConsumerRegistryFactory and returns it.

Returns:
ConsumerRegistry-interface.
Throws:
WSRPException