org.glite.security.trustmanager.axis
Class AXISSocketFactory

java.lang.Object
  extended by org.glite.security.trustmanager.axis.AXISSocketFactory
All Implemented Interfaces:
org.apache.axis.components.net.SecureSocketFactory, org.apache.axis.components.net.SocketFactory

public class AXISSocketFactory
extends java.lang.Object
implements org.apache.axis.components.net.SecureSocketFactory

The Axis socketfactory used for interfacing with axis 1.1 and 1.2.

Author:
Joni Hahkala Created on September 3, 2002, 9:04 PM

Constructor Summary
AXISSocketFactory(java.util.Hashtable attributes)
          Creates a new instance of AxisSocketFactory
 
Method Summary
static void clearCurrentProperties()
          Clears the thread specific properties.
 java.net.Socket create(java.lang.String host, int port, java.lang.StringBuffer otherHeaders, org.apache.axis.components.net.BooleanHolder useFullURL)
          DOCUMENT ME!
 java.lang.Object createServerFactory()
          DOCUMENT ME!
static java.util.Properties getCurrentProperties()
           
static void setCurrentProperties(java.util.Properties cp)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AXISSocketFactory

public AXISSocketFactory(java.util.Hashtable attributes)
Creates a new instance of AxisSocketFactory

Method Detail

getCurrentProperties

public static java.util.Properties getCurrentProperties()
Returns:
java.util.Properties with the settings of the current thread.

clearCurrentProperties

public static void clearCurrentProperties()
Clears the thread specific properties.


setCurrentProperties

public static void setCurrentProperties(java.util.Properties cp)
Parameters:
cp - the Properties associated with the current thread

create

public java.net.Socket create(java.lang.String host,
                              int port,
                              java.lang.StringBuffer otherHeaders,
                              org.apache.axis.components.net.BooleanHolder useFullURL)
                       throws java.lang.Exception
DOCUMENT ME!

Specified by:
create in interface org.apache.axis.components.net.SocketFactory
Parameters:
host - DOCUMENT ME!
port - DOCUMENT ME!
otherHeaders - DOCUMENT ME!
useFullURL - DOCUMENT ME!
Returns:
DOCUMENT ME!
Throws:
java.lang.Exception - DOCUMENT ME!

createServerFactory

public java.lang.Object createServerFactory()
                                     throws java.lang.Exception
DOCUMENT ME!

Returns:
DOCUMENT ME!
Throws:
java.lang.Exception - DOCUMENT ME!