boolean isSSLSupported = false;
Class transportFactoryClass = null;
try
{
transportFactoryClass = getTransportClientFactory(transport);
ClientFactory clientFactory = (ClientFactory)transportFactoryClass.newInstance();
Method meth = transportFactoryClass.getMethod("supportsSSL", new Class[]{});
Boolean boolVal = (Boolean)meth.invoke(clientFactory, null);
isSSLSupported = boolVal.booleanValue();
}
catch (ClassNotFoundException e)