org.norther.tammi.core.net
Class DefaultSecureSocketFactory
java.lang.Object
org.norther.tammi.core.base.Adaptee
org.norther.tammi.core.base.DefaultObjectFactory<T>
org.norther.tammi.core.net.AbstractCommonFactory<T>
org.norther.tammi.core.net.AbstractCommonSecureFactory<T>
org.norther.tammi.core.net.AbstractSecureSocketFactory<Socket>
org.norther.tammi.core.net.DefaultSecureSocketFactory
- All Implemented Interfaces:
- Serializable, EventListener, NotificationBroadcaster, NotificationEmitter, NotificationListener, Manageable, MBeanDelegate, ObjectFactory<Socket>, CommonFactory<Socket>, CommonSecureFactory<Socket>, SecureSocketFactory, SocketFactory
public class DefaultSecureSocketFactory
- extends AbstractSecureSocketFactory<Socket>
- implements SecureSocketFactory
A default implementation of SecureSocketFactory.
- Version:
- $Id: DefaultSecureSocketFactory.java,v 1.6 2009/09/28 15:08:44 cvsimp Exp $
- Author:
- Ilkka Priha
- See Also:
- Serialized Form
Methods inherited from class org.norther.tammi.core.net.AbstractCommonSecureFactory |
clearContextObjects, getDefaultAlias, getKeyManagerAlgorithm, getKeyManagerProvider, getKeyStoreLoaderName, getSecureSocketProtocol, getSecureSocketProvider, getSSLContext, getTrustManagerAlgorithm, getTrustManagerProvider, getTrustStoreLoaderName, handleNotification, isSecure, postmanaged, setDefaultAlias, setDefaultPassword, setKeyManagerAlgorithm, setKeyManagerProvider, setKeyStoreLoaderName, setSecureSocketProtocol, setSecureSocketProvider, setTrustManagerAlgorithm, setTrustManagerProvider, setTrustStoreLoaderName, unmanaged |
Methods inherited from class org.norther.tammi.core.base.Adaptee |
addAdaptee, addNotificationListener, getAttributeSupport, getBroker, getCanonicalName, getDomain, getFactory, getLoader, getLog, getLog, getMBean, getMBeanServer, getNotificationInfo, getObjectName, getRegistrationTime, getSequenceNumber, hasListeners, isRegistered, premanaged, removeNotificationListener, removeNotificationListener, sendNotification, sendNotification, sendNotification, sendNotification, unregister |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.norther.tammi.core.net.CommonSecureFactory |
getDefaultAlias, getEnabledCipherSuites, getKeyManagerAlgorithm, getKeyManagerProvider, getKeyStoreLoaderName, getSecureSocketProtocol, getSecureSocketProvider, getSupportedCipherSuites, getTrustManagerAlgorithm, getTrustManagerProvider, getTrustStoreLoaderName, setDefaultAlias, setDefaultPassword, setKeyManagerAlgorithm, setKeyManagerProvider, setKeyStoreLoaderName, setSecureSocketProtocol, setSecureSocketProvider, setTrustManagerAlgorithm, setTrustManagerProvider, setTrustStoreLoaderName |
DefaultSecureSocketFactory
public DefaultSecureSocketFactory()
- Constructs an SSL socket factory.
getInstance
public Socket getInstance(String className,
ObjectName loader,
Object[] params,
String[] signature)
throws ConstructionException
- Description copied from interface:
ObjectFactory
- Gets an instance of a named class using a specified class loader.
Parameters for its constructor are given as an array of objects,
primitive types must be wrapped with a corresponding class.
Class loaders are supported only if the isLoaderSupported method returns
true. Otherwise the loader parameter is ignored.
- Specified by:
getInstance
in interface ObjectFactory<Socket>
- Overrides:
getInstance
in class DefaultObjectFactory<Socket>
- Parameters:
className
- the name of the class.loader
- the class loader.params
- an array containing the parameters of the constructor.signature
- an array containing the signature of the constructor.
- Returns:
- the instance.
- Throws:
ConstructionException
- if construction fails.
Copyright © 2004 The Norther Organization. All rights reserved.