public class StubPluginFactory
extends java.lang.Object
implements org.eclipse.keyple.core.service.PluginFactory
StubPlugin with a custom plugin name| Constructor and Description |
|---|
StubPluginFactory(java.lang.String pluginName,
org.eclipse.keyple.core.service.event.PluginObservationExceptionHandler pluginObservationExceptionHandler,
org.eclipse.keyple.core.service.event.ReaderObservationExceptionHandler readerObservationExceptionHandler)
Register the plugin by passing an instance of this factory to @link
SmartCardService#registerPlugin(PluginFactory)}
|
| Modifier and Type | Method and Description |
|---|---|
org.eclipse.keyple.core.service.Plugin |
getPlugin() |
java.lang.String |
getPluginName() |
public StubPluginFactory(java.lang.String pluginName,
org.eclipse.keyple.core.service.event.PluginObservationExceptionHandler pluginObservationExceptionHandler,
org.eclipse.keyple.core.service.event.ReaderObservationExceptionHandler readerObservationExceptionHandler)
pluginName - name of the plugin that will be instantiatedpluginObservationExceptionHandler - A not null reference to an object implementing the
PluginObservationExceptionHandler interface.readerObservationExceptionHandler - A not null reference to an object implementing the
ReaderObservationExceptionHandler interface.public java.lang.String getPluginName()
getPluginName in interface org.eclipse.keyple.core.service.PluginFactorypublic org.eclipse.keyple.core.service.Plugin getPlugin()
getPlugin in interface org.eclipse.keyple.core.service.PluginFactory