electric.net.socket
Class SocketFactories

java.lang.Object
  extended byelectric.net.socket.SocketFactories
All Implemented Interfaces:
IEXMLLoggingConstants, IGLUELoggingConstants, ILoggingConstants

public final class SocketFactories
extends java.lang.Object
implements IGLUELoggingConstants

SocketFactories.

Author:
webMethods

Field Summary
 
Fields inherited from interface electric.glue.IGLUELoggingConstants
CLUSTER_DEBUG_EVENT, CLUSTER_EVENT, CONSOLE_DEBUG_EVENT, DEPLOY_EVENT, DETECTORS_EVENT, HTTP_EVENT, JMS_EVENT, REBINDING_EVENT, SECURITY_DEBUG_EVENT, SECURITY_DETAIL_EVENT, SERVLET_EVENT, SOAP_EVENT
 
Fields inherited from interface electric.xml.IEXMLLoggingConstants
MAPPING_EVENT, SCHEMA_EVENT
 
Fields inherited from interface electric.util.log.ILoggingConstants
CLASSLOADER_EVENT, COMMAND_EVENT, COMMENT_EVENT, CONFIG_EVENT, DEBUG_EVENT, ELECTRIC_LOGGING_PROPERTY, ERROR_EVENT, EXCEPTION_EVENT, FILE_EVENT, LICENSE_EVENT, RESOURCES_EVENT, SECURITY_EVENT, SHUTDOWN_EVENT, SOURCE_EVENT, SQL_EVENT, STARTUP_EVENT, WARNING_EVENT
 
Constructor Summary
SocketFactories()
           
 
Method Summary
static void addFactory(ISocketFactory factory)
           
static void addFactory(java.lang.String className)
           
static ISocketFactory createFactory(java.lang.String className)
           
static java.net.ServerSocket createServerSocket(XURL xurl, int backlog, Context context)
           
static java.net.Socket createSocket(java.net.Socket socket, XURL xurl)
           
static java.net.Socket createSocket(XURL xurl)
           
static java.net.Socket createSocket(XURL xurl, Context context)
           
static java.net.Socket createSocket(XURL remote, XURL local)
           
static java.net.Socket createSocket(XURL remote, XURL local, Context context)
           
static ISocketFactory getFactory(java.lang.String protocol)
           
static void removeAllFactories()
           
static void removeFactory(java.lang.String protocol)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SocketFactories

public SocketFactories()
Method Detail

addFactory

public static void addFactory(java.lang.String className)
Parameters:
className -

addFactory

public static void addFactory(ISocketFactory factory)
Parameters:
factory -

removeFactory

public static void removeFactory(java.lang.String protocol)
Parameters:
protocol -

removeAllFactories

public static void removeAllFactories()

getFactory

public static ISocketFactory getFactory(java.lang.String protocol)
                                 throws java.io.IOException
Parameters:
protocol -
Throws:
java.io.IOException

createFactory

public static ISocketFactory createFactory(java.lang.String className)
                                    throws java.lang.Exception
Parameters:
className -
Throws:
java.lang.Exception

createSocket

public static java.net.Socket createSocket(XURL xurl,
                                           Context context)
                                    throws java.io.IOException
Parameters:
xurl -
Throws:
java.io.IOException

createSocket

public static java.net.Socket createSocket(XURL xurl)
                                    throws java.io.IOException
Parameters:
xurl -
Throws:
java.io.IOException

createSocket

public static java.net.Socket createSocket(XURL remote,
                                           XURL local,
                                           Context context)
                                    throws java.io.IOException
Parameters:
remote -
local -
Throws:
java.io.IOException

createSocket

public static java.net.Socket createSocket(XURL remote,
                                           XURL local)
                                    throws java.io.IOException
Parameters:
remote -
local -
Throws:
java.io.IOException

createSocket

public static java.net.Socket createSocket(java.net.Socket socket,
                                           XURL xurl)
                                    throws java.io.IOException
Parameters:
socket -
xurl -
Throws:
java.io.IOException

createServerSocket

public static java.net.ServerSocket createServerSocket(XURL xurl,
                                                       int backlog,
                                                       Context context)
                                                throws java.io.IOException
Parameters:
xurl -
backlog -
Throws:
java.io.IOException


copyright© 2001-2004 by webMethods All Rights Reserved.