jef.disconnection.impl
Class DefaultDisconnectorsFactory

java.lang.Object
  extended by jef.disconnection.impl.DefaultDisconnectorsFactory
All Implemented Interfaces:
DisconnectorsFactory

public class DefaultDisconnectorsFactory
extends java.lang.Object
implements DisconnectorsFactory

Default implementation of the DisconnectorsFactory interface.

Author:
frusso@dev.java.net

Nested Class Summary
 
Nested classes/interfaces inherited from interface jef.disconnection.DisconnectorsFactory
DisconnectorsFactory.DisconnectorType
 
Constructor Summary
DefaultDisconnectorsFactory()
          Creates a new instance of DefaultDisconnectorsFactory
 
Method Summary
 Disconnector getInstance(DisconnectorsFactory.DisconnectorType type)
          Instantiates a Disconnector of the specified type.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultDisconnectorsFactory

public DefaultDisconnectorsFactory()
Creates a new instance of DefaultDisconnectorsFactory

Method Detail

getInstance

public Disconnector getInstance(DisconnectorsFactory.DisconnectorType type)
                         throws java.lang.InstantiationError
Description copied from interface: DisconnectorsFactory
Instantiates a Disconnector of the specified type.

Specified by:
getInstance in interface DisconnectorsFactory
Parameters:
type - One of the allowed types
Throws:
java.lang.InstantiationError