org.apache.wsrp4j.producer
Class ConsumerRegistryAccess
java.lang.Object
org.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 "WSRPServices.properties".
- Version:
- $Id: ConsumerRegistryAccess.java,v 1.6 2005/08/12 12:56:54 cziegeler Exp $
- Author:
- Stefan Behl
|
Method Summary |
static ConsumerRegistry |
getConsumerRegistry()
Fetches a ConsumerRegistry-instance utilizing the read
ConsumerRegistryFactory and returns it. |
private static java.lang.Object |
getFactory(java.lang.String type)
Internal mehtod. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WSRP_SERVICES
private static java.lang.String WSRP_SERVICES
CONSUMER_REGISTRY_FACTORY
public static java.lang.String CONSUMER_REGISTRY_FACTORY
- String representing a factory type
pFactories
private static java.util.Properties pFactories
consumerRegistry
private static ConsumerRegistry consumerRegistry
logger
private static Logger logger
ConsumerRegistryAccess
public ConsumerRegistryAccess()
getConsumerRegistry
public static ConsumerRegistry getConsumerRegistry()
throws WSRPException
- Fetches a ConsumerRegistry-instance utilizing the read
ConsumerRegistryFactory and returns it.
- Returns:
- ConsumerRegistry-interface.
- Throws:
WSRPException
getFactory
private static java.lang.Object getFactory(java.lang.String type)
throws WSRPException
- Internal mehtod.
Returns a configured Factory class.
- Parameters:
type - java.lang.String representing the factory type.
- Returns:
- java.lang.Object
- Throws:
WSRPException
--