org.fcrepo.client.mtom
Class APIAStubFactory
java.lang.Object
org.fcrepo.client.mtom.APIAStubFactory
public abstract class APIAStubFactory
- extends Object
- Author:
- Chris Wilper
|
Method Summary |
static FedoraAPIAMTOM |
getStub(String protocol,
String host,
int port,
String username,
String password)
Method to rewrite the default API-A base URL (specified in the service
locator class FedoraAPIAServiceLocator). |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SOCKET_TIMEOUT_SECONDS
public static int SOCKET_TIMEOUT_SECONDS
APIAStubFactory
public APIAStubFactory()
getStub
public static FedoraAPIAMTOM getStub(String protocol,
String host,
int port,
String username,
String password)
throws MalformedURLException,
javax.xml.rpc.ServiceException
- Method to rewrite the default API-A base URL (specified in the service
locator class FedoraAPIAServiceLocator). In this case we allow the
protocol, host, and port parts of the service URL to be replaced. A SOAP
stub will be returned with the desired service endpoint URL.
- Parameters:
protocol - host - port - username - password -
- Returns:
- FedoraAPIA SOAP stub
- Throws:
MalformedURLException
javax.xml.rpc.ServiceException
Copyright © 2012 DuraSpace. All Rights Reserved.