org.apache.wsrp4j.producer
Interface ConsumerRegistryFactory


public interface ConsumerRegistryFactory

This class provides an interface to any ConsumerRegistry.

Author:
Stefan Behl

Method Summary
 ConsumerRegistry getConsumerRegistry(Provider provider)
          Returns an instance of ConsumerRegistry by calling the constructor of the corresponding class implementing the ConsumerRegistry-Interface
 

Method Detail

getConsumerRegistry

public ConsumerRegistry getConsumerRegistry(Provider provider)
                                     throws WSRPException
Returns an instance of ConsumerRegistry by calling the constructor of the corresponding class implementing the ConsumerRegistry-Interface

Returns:
ConsumerRegistry An instance of any class implementing the ConsumerRegistry.
Throws:
WSRPException