ca.mint.mintchip.core

Class MintChipFactory

Direct Known Subclasses:
MintChipFactory, MintChipFactory

public abstract class MintChipFactory extends Object

This class is responsible for instantiating a concrete implementation of the IMintChip interface. It is intended to be used as a super class by a class that can supply a specific implementation for the IMintChip interface.

Methods
Modifier and Type Method and Description
abstract IMintChip createMintChip()
This method must be implemented by a derived class to instantiate a concrete implementation of the IMintChip interface.
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Method Detail

createMintChip

public abstract IMintChip createMintChip() throws MintChipException

This method must be implemented by a derived class to instantiate a concrete implementation of the IMintChip interface.

Returns:
an instance of the IMintChip
Throws:
MintChipException - if MintChip is missing/faulty or if communication errors occurred with MintChip