com.ibm.opencard.handler
Interface ServiceProvider
- All Known Implementing Classes:
- MFCScriptService
- public abstract interface ServiceProvider
An interface to a class where MFC card services can be otained from.
Any service requested here will be registered by the service provider.
The service provider is responsible for preparing the service before
the handler may have to use it. This preparation especially includes
providing a channel with an appropriate card accessor to the service.
- Version:
- $Id: ServiceProvider.java,v 1.1 1999/12/02 16:06:03 damke Exp $
getService
public MFCCardService getService(java.lang.Class clazz)
throws CardServiceException
- Obtains a MFC card service from this provider.
- Parameters:
clazz - the class of the requested service, has to be
a subclass of MFCCardService- Returns:
- an instance of the requested MFC card service,
or null if it could not be found
- Throws:
- CardServiceException - if the requested service was found, but could not be obtained
|