|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.endeca.itl.service.ServiceLocator<T>
public abstract class ServiceLocator<T>
Constructor Summary | |
---|---|
ServiceLocator(String host,
int port,
String instanceName)
|
Method Summary | |
---|---|
String |
getHost()
|
String |
getInstanceName()
|
KeyStore |
getKeyStore()
|
int |
getPort()
|
protected abstract QName |
getPortName()
|
T |
getService()
|
protected abstract Class<T> |
getServiceClass()
|
protected abstract QName |
getServiceName()
|
int |
getSocketConnectTimeout()
|
int |
getSocketReceiveTimeout()
|
KeyStore |
getTrustStore()
|
String |
getWsdlUrl()
|
boolean |
isAllowChunking()
|
boolean |
isPortSsl()
Return whether or not the port is interpreted an SSL port. |
void |
ping()
Attempts to ping the Service |
void |
setAllowChunking(boolean allowChunking)
|
void |
setKeyStore(String ksType,
String ksLocation,
String ksPassword)
Set the SSL keystore that will be used by the client. |
void |
setPortSsl(boolean isPortSsl)
Sets whether or not the port is interpreted an SSL port. |
void |
setSocketConnectTimeout(int timeout)
|
void |
setSocketReceiveTimeout(int timeout)
|
void |
setTrustStore(String tsType,
String tsLocation,
String tsPassword)
Set the SSL trust-store that will be used by the client. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ServiceLocator(String host, int port, String instanceName)
Method Detail |
---|
public void setSocketReceiveTimeout(int timeout)
public int getSocketReceiveTimeout()
public void setSocketConnectTimeout(int timeout)
public int getSocketConnectTimeout()
public void setAllowChunking(boolean allowChunking)
public boolean isAllowChunking()
public void setPortSsl(boolean isPortSsl)
isPortSsl
- public boolean isPortSsl()
public String getInstanceName()
public String getHost()
public int getPort()
public T getService()
public void ping() throws IOException
IOException
- if there is an error during pingpublic String getWsdlUrl()
public KeyStore getKeyStore()
KeyStore
used by the clientpublic void setKeyStore(String ksType, String ksLocation, String ksPassword)
ksType
- e.g. "JKS"ksLocation
- the absolute path to the keystore fileksPassword
- the keystore passwordpublic KeyStore getTrustStore()
public void setTrustStore(String tsType, String tsLocation, String tsPassword)
tsType
- e.g. "JKS"tsLocation
- the absolute path to the trust-store filetsPassword
- the trust-store passwordprotected abstract QName getServiceName()
protected abstract QName getPortName()
protected abstract Class<T> getServiceClass()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |