|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
A CardTerminalFactory produces CardTerminal objects of a certain type attached at an address.
As with the opencard.core.service.CardServiceFactory the idea here is that a card terminal manufacturer shall provide his own version of a CardTerminalFactory that can produce appropriate CardTerminal objects.
CardTerminal,
CardTerminalRegistry| Field Summary | |
static int |
TERMINAL_ADDRESS_ENTRY
third element in terminal configuration array |
static int |
TERMINAL_NAME_ENTRY
first element in terminal configuration array |
static int |
TERMINAL_TYPE_ENTRY
second element in terminal configuration array |
| Method Summary | |
void |
close()
deinitialize the CardTerminalFactory |
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 CardTerminalFactory |
| Field Detail |
public static final int TERMINAL_NAME_ENTRY
public static final int TERMINAL_TYPE_ENTRY
public static final int TERMINAL_ADDRESS_ENTRY
| Method Detail |
public void createCardTerminals(CardTerminalRegistry ctr,
java.lang.String[] terminalInfo)
throws CardTerminalException,
TerminalInitException
ctr - the CardTerminalRegistry for registration-processterminalInfo - the parameter array for the terminal.
{TerminalName, TerminalType, factory-specific count of parameters....}.
public void open()
throws CardTerminalException
public void close()
throws CardTerminalException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||