|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.oasisopen.sca.client.SCAClientFactory
public abstract class SCAClientFactory
The SCAClientFactory can be used by non-SCA managed code to lookup services that exist in a SCADomain.
SCAClientFactoryFinderImpl
Method Summary | ||
---|---|---|
abstract
|
getService(java.lang.Class<T> interfaze,
java.lang.String serviceURI)
Returns a reference proxy that implements the business interface |
|
static SCAClientFactory |
newInstance(java.lang.ClassLoader classLoader,
java.net.URI domainURI)
Creates a new instance of the SCAClientFactory that can be used to lookup SCA Services. |
|
static SCAClientFactory |
newInstance(java.util.Properties properties,
java.lang.ClassLoader classLoader,
java.net.URI domainURI)
Creates a new instance of the SCAClientFactory that can be used to lookup SCA Services. |
|
static SCAClientFactory |
newInstance(java.util.Properties properties,
java.net.URI domainURI)
Creates a new instance of the SCAClientFactory that can be used to lookup SCA Services. |
|
static SCAClientFactory |
newInstance(java.net.URI domainURI)
Creates a new instance of the SCAClientFactory that can be used to lookup SCA Services. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static SCAClientFactory newInstance(java.net.URI domainURI) throws NoSuchDomainException
domainURI
- URI of the target domain for the SCAClientFactory
NoSuchDomainException
public static SCAClientFactory newInstance(java.util.Properties properties, java.net.URI domainURI) throws NoSuchDomainException
properties
- Properties that may be used when
creating a new instance of the SCAClientFactorydomainURI
- URI of the target domain for the SCAClientFactory
NoSuchDomainException
public static SCAClientFactory newInstance(java.lang.ClassLoader classLoader, java.net.URI domainURI) throws NoSuchDomainException
classLoader
- ClassLoader that may be used when
creating a new instance of the SCAClientFactorydomainURI
- URI of the target domain for the SCAClientFactory
NoSuchDomainException
public static SCAClientFactory newInstance(java.util.Properties properties, java.lang.ClassLoader classLoader, java.net.URI domainURI) throws NoSuchDomainException
properties
- Properties that may be used when
creating a new instance of the SCAClientFactoryclassLoader
- ClassLoader that may be used when
creating a new instance of the SCAClientFactorydomainURI
- URI of the target domain for the SCAClientFactory
NoSuchDomainException
public abstract <T> T getService(java.lang.Class<T> interfaze, java.lang.String serviceURI) throws NoSuchServiceException, NoSuchDomainException
T
- The business interface class of the service in the domainserviceURI
- the relative URI of the target service. Takes the
form componentName/serviceName.
Can also take the extended form componentName/serviceName/bindingName
to use a specific binding of the target serviceinterfaze
- The business interface class of the service in the
domain
NoSuchServiceException
- Service requested was not found
NoSuchDomainException
- Domain requested was not found
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |