org.oasisopen.sca.client.impl
Class SCAClientFactoryFinderImpl
java.lang.Object
org.oasisopen.sca.client.impl.SCAClientFactoryFinderImpl
- All Implemented Interfaces:
- SCAClientFactoryFinder
public class SCAClientFactoryFinderImpl
- extends java.lang.Object
- implements SCAClientFactoryFinder
This is a default implementation of an SCAClientFactoryFinder which is
used to find an implementation of the SCAClientFactory interface.
- Author:
- OASIS Open
- See Also:
SCAClientFactoryFinder
,
SCAClientFactory
Method Summary |
SCAClientFactory |
find(java.util.Properties properties,
java.lang.ClassLoader classLoader,
java.net.URI domainURI)
Creates an instance of the SCAClientFactorySPI implementation. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SCAClientFactoryFinderImpl
public SCAClientFactoryFinderImpl()
- Public Constructor
find
public SCAClientFactory find(java.util.Properties properties,
java.lang.ClassLoader classLoader,
java.net.URI domainURI)
throws NoSuchDomainException,
ServiceRuntimeException
- Creates an instance of the SCAClientFactorySPI implementation.
This discovers the SCAClientFactorySPI Implementation and instantiates
the provider's implementation.
- Specified by:
find
in interface SCAClientFactoryFinder
- Parameters:
properties
- Properties that may be used when creating a new
instance of the SCAClientclassLoader
- ClassLoader that may be used when creating a new
instance of the SCAClientdomainURI
- URI for the Domain to which this client instance is connected
- Returns:
- new instance of the SCAClientFactory
- Throws:
ServiceRuntimeException
- Failed to create SCAClientFactory
Implementation.
NoSuchDomainException