org.rhq.enterprise.server.plugins.rhnhosted.xmlrpc
Class RhnSSLTransportFactory

java.lang.Object
  extended by org.apache.xmlrpc.client.XmlRpcTransportFactoryImpl
      extended by org.apache.xmlrpc.client.XmlRpcSun14HttpTransportFactory
          extended by org.apache.xmlrpc.client.XmlRpcSun15HttpTransportFactory
              extended by org.rhq.enterprise.server.plugins.rhnhosted.xmlrpc.RhnSSLTransportFactory
All Implemented Interfaces:
org.apache.xmlrpc.client.XmlRpcTransportFactory
Direct Known Subclasses:
CustomReqPropTransportFactory

public class RhnSSLTransportFactory
extends org.apache.xmlrpc.client.XmlRpcSun15HttpTransportFactory


Field Summary
protected  String sslCertPath
           
 
Constructor Summary
RhnSSLTransportFactory(org.apache.xmlrpc.client.XmlRpcClient pClient)
          Creates a new factory, which creates transports for the given client.
 
Method Summary
protected  Proxy getProxy()
          We can't access the proxy member directly from our super class so we are grabbing it from the transport instance.
 String getSSLCert(String certPath)
           
 org.apache.xmlrpc.client.XmlRpcTransport getTransport()
           
protected  RhnSSLTransport newTransportInstance()
          Override to specify a different Transport
 void setSSLCert(String certPath)
           
 
Methods inherited from class org.apache.xmlrpc.client.XmlRpcSun15HttpTransportFactory
setProxy, setProxy
 
Methods inherited from class org.apache.xmlrpc.client.XmlRpcSun14HttpTransportFactory
getSSLSocketFactory, setSSLSocketFactory
 
Methods inherited from class org.apache.xmlrpc.client.XmlRpcTransportFactoryImpl
getClient
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

sslCertPath

protected String sslCertPath
Constructor Detail

RhnSSLTransportFactory

public RhnSSLTransportFactory(org.apache.xmlrpc.client.XmlRpcClient pClient)
Creates a new factory, which creates transports for the given client.

Parameters:
pClient - The client, which is operating the factory.
Method Detail

newTransportInstance

protected RhnSSLTransport newTransportInstance()
Override to specify a different Transport


setSSLCert

public void setSSLCert(String certPath)

getSSLCert

public String getSSLCert(String certPath)

getProxy

protected Proxy getProxy()
We can't access the proxy member directly from our super class so we are grabbing it from the transport instance. Would prefer if XmlRpcSun15HttpTransportFactory had a getProxy method


getTransport

public org.apache.xmlrpc.client.XmlRpcTransport getTransport()
Specified by:
getTransport in interface org.apache.xmlrpc.client.XmlRpcTransportFactory
Overrides:
getTransport in class org.apache.xmlrpc.client.XmlRpcSun15HttpTransportFactory


Copyright © 2008-2011 Red Hat, Inc.. All Rights Reserved.