|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.openvpms.esci.service.client.DefaultServiceLocatorFactory
public class DefaultServiceLocatorFactory
Default implementation of the ServiceLocatorFactory
interface.
Constructor Summary | |
---|---|
DefaultServiceLocatorFactory()
|
Method Summary | ||
---|---|---|
|
getServiceLocator(Class<T> serviceInterface,
String wsdlDocumentURL,
String username,
String password)
Returns a ServiceLocator for the specified service interface, WSDL document URL and credentials. |
|
|
getServiceLocator(Class<T> serviceInterface,
String wsdlDocumentURL,
String endpointAddress,
String username,
String password)
Returns a ServiceLocator for the specified service interface, WSDL document URL and credentials. |
|
void |
setServiceAuthenticators(ServiceAuthenticators authenticators)
Sets the service authenticators. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultServiceLocatorFactory()
Method Detail |
---|
public void setServiceAuthenticators(ServiceAuthenticators authenticators)
authenticators
- the authenticators. May be nullpublic <T> ServiceLocator<T> getServiceLocator(Class<T> serviceInterface, String wsdlDocumentURL, String username, String password) throws MalformedURLException
getServiceLocator
in interface ServiceLocatorFactory
serviceInterface
- the service interfacewsdlDocumentURL
- the WSDL document URLusername
- the user name to connect with. May be nullpassword
- the password to connect with. May be null
MalformedURLException
- if the WSDL document URL is invalidpublic <T> ServiceLocator<T> getServiceLocator(Class<T> serviceInterface, String wsdlDocumentURL, String endpointAddress, String username, String password) throws MalformedURLException
getServiceLocator
in interface ServiceLocatorFactory
serviceInterface
- the service interfacewsdlDocumentURL
- the WSDL document URLendpointAddress
- the endpoint address. May be nullusername
- the user name to connect with. May be nullpassword
- the password to connect with. May be null
MalformedURLException
- if the WSDL document URL is invalid
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |