org.oasisopen.sca.client.impl
Class SCAClientFactoryFinderImpl

java.lang.Object
  extended by 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

Constructor Summary
SCAClientFactoryFinderImpl()
          Public Constructor
 
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
 

Constructor Detail

SCAClientFactoryFinderImpl

public SCAClientFactoryFinderImpl()
Public Constructor

Method Detail

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 SCAClient
classLoader - ClassLoader that may be used when creating a new instance of the SCAClient
domainURI - - the Domain URI - must be a valid SCA Domain URI
Returns:
new instance of the SCAClientFactory
Throws:
ServiceRuntimeException - Failed to create SCAClientFactory Implementation.
NoSuchDomainException