org.apache.cactus.client.connector.http
Class ConnectionHelperFactory

java.lang.Object
  extended byorg.apache.cactus.client.connector.http.ConnectionHelperFactory

public class ConnectionHelperFactory
extends java.lang.Object

Factory that returns the ConnectionHelper specified in Cactus configuration or the default one if none has been specified.

Version:
$Id: ConnectionHelperFactory.java,v 1.2 2003/05/26 11:45:26 cmlenz Exp $
Author:
Vincent Massol
See Also:
Configuration

Constructor Summary
ConnectionHelperFactory()
           
 
Method Summary
static ConnectionHelper getConnectionHelper(java.lang.String theUrl, Configuration theConfiguration)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConnectionHelperFactory

public ConnectionHelperFactory()
Method Detail

getConnectionHelper

public static ConnectionHelper getConnectionHelper(java.lang.String theUrl,
                                                   Configuration theConfiguration)
Parameters:
theUrl - the URL to connect to as a String
theConfiguration - the Cactus configuration
Returns:
a ConnectionHelper instance of the type specified in Cactus configuration or the default one (JdkConnectionHelper)


Copyright © 2000-2003 Apache Software Foundation. All Rights Reserved.