OpenCard  
 
OCF, the OpenCard Framework is a standard Java framework for working with Smart Cards.  
 

com.ibm.opencard.terminal.pcscmig
Class PcscMigCardTerminalFactory

java.lang.Object
  |
  +--com.ibm.opencard.terminal.pcscmig.PcscMigCardTerminalFactory

public class PcscMigCardTerminalFactory
extends java.lang.Object
implements CardTerminalFactory

CardTerminalFactory for PCSC card terminals.

Version:
$Id: PcscMigCardTerminalFactory.java,v 1.1 1999/12/02 16:06:14 damke Exp $
See Also:
CardTerminalFactory

Constructor Summary
PcscMigCardTerminalFactory()
          Instantiate an PcscMigTerminalFactory.
 
Method Summary
 void close()
          deinitialize the PC/SC-driver
 void createCardTerminals(CardTerminalRegistry ctr, java.lang.String[] terminalInfo)
          create a specific CardTerminal object that knows how to handle a specific card terminal and register it to the CardTerminalRegistry.
 void open()
          initialize the factory (setup the PC/SC-driver)
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PcscMigCardTerminalFactory

public PcscMigCardTerminalFactory()
                           throws CardTerminalException
Instantiate an PcscMigTerminalFactory.
Throws:
CardTerminalException - Thrown when a problem occured.
Method Detail

createCardTerminals

public void createCardTerminals(CardTerminalRegistry ctr,
                                java.lang.String[] terminalInfo)
                         throws CardTerminalException
create a specific CardTerminal object that knows how to handle a specific card terminal and register it to the CardTerminalRegistry.
Specified by:
createCardTerminals in interface CardTerminalFactory
Parameters:
ctr - the CardTerminalRegistry for registration-process
terminalInfo - null - not needed for this factory
See Also:
CardTerminalFactory

open

public void open()
          throws CardTerminalException
initialize the factory (setup the PC/SC-driver)
Specified by:
open in interface CardTerminalFactory

close

public void close()
           throws CardTerminalException
deinitialize the PC/SC-driver
Specified by:
close in interface CardTerminalFactory