org.norther.tammi.core.net
Class AbstractSocketFactory
java.lang.Object
org.norther.tammi.core.base.Adaptee
org.norther.tammi.core.base.DefaultObjectFactory
org.norther.tammi.core.net.AbstractCommonFactory
org.norther.tammi.core.net.AbstractSocketFactory
- All Implemented Interfaces:
- Serializable, NotificationBroadcaster, NotificationEmitter, Manageable, MBeanDelegate, ObjectFactory, CommonFactory
- Direct Known Subclasses:
- DefaultServerSocketFactory, DefaultSocketFactory
public abstract class AbstractSocketFactory
- extends AbstractCommonFactory
An abstract implementation of network socket CommonFactory.
- Author:
- Ilkka Priha
- See Also:
- Serialized Form
| 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, postmanaged, premanaged, removeNotificationListener, removeNotificationListener, sendNotification, sendNotification, sendNotification, sendNotification, unmanaged, unregister |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractSocketFactory
protected AbstractSocketFactory()
- Constructs a base socket factory.
getSocketFactory
protected SocketFactory getSocketFactory(String alias,
String pswd)
throws ConstructionException
- Description copied from class:
AbstractCommonFactory
- Gets the implementation of the socket factory.
- Specified by:
getSocketFactory in class AbstractCommonFactory
- Parameters:
alias - an optional key alias.pswd - an optional key password.
- Returns:
- the factory.
- Throws:
ConstructionException - if a resource is not available.
getServerSocketFactory
protected ServerSocketFactory getServerSocketFactory(String alias,
String pswd)
throws ConstructionException
- Description copied from class:
AbstractCommonFactory
- Gets the implementation of the server socket factory.
- Specified by:
getServerSocketFactory in class AbstractCommonFactory
- Parameters:
alias - an optional key alias.pswd - an optional key password.
- Returns:
- the factory.
- Throws:
ConstructionException - if a resource is not available.
Copyright © 2004 The Norther Organization. All rights reserved.