org.apache.wsrp4j.producer
Class ProviderAccess
java.lang.Object
org.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 "WSRPServices.properties".
- Version:
- $Id: ProviderAccess.java,v 1.6 2005/08/12 12:56:54 cziegeler Exp $
- Author:
- Stefan Behl
|
Method Summary |
private static java.lang.Object |
getFactory(java.lang.String type)
Internal mehtod. |
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 |
WSRP_SERVICES
private static java.lang.String WSRP_SERVICES
PROVIDER_FACTORY
private static java.lang.String PROVIDER_FACTORY
pFactories
private static java.util.Properties pFactories
provider
private static Provider provider
logger
private static Logger logger
ProviderAccess
public ProviderAccess()
getProvider
public static Provider getProvider()
throws WSRPException
- Fetches a Provider-instance utilizing the read ProviderFactory and returns it.
- Returns:
- A Provider-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
--