public abstract class SamResourceManagerFactory
extends java.lang.Object
| Constructor and Description |
|---|
SamResourceManagerFactory()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
static SamResourceManager |
instantiate(org.eclipse.keyple.core.service.Plugin plugin,
java.lang.String samReaderFilter)
Deprecated.
|
static SamResourceManager |
instantiate(org.eclipse.keyple.core.service.Plugin plugin,
java.lang.String samReaderFilter,
int maxBlockingTime,
int sleepTime)
Deprecated.
Instantiate a new SamResourceManager.
|
static SamResourceManager |
instantiate(org.eclipse.keyple.core.service.PoolPlugin samPoolPlugin)
Deprecated.
|
static SamResourceManager |
instantiate(org.eclipse.keyple.core.service.PoolPlugin samPoolPlugin,
int maxBlockingTime,
int sleepTime)
Deprecated.
Instantiate a new SamResourceManager.
|
public static SamResourceManager instantiate(org.eclipse.keyple.core.service.Plugin plugin, java.lang.String samReaderFilter, int maxBlockingTime, int sleepTime)
The samReaderPlugin is used to retrieve the available SAM according to the provided filter.
Setup a plugin observer if the reader plugin is observable.
plugin - the plugin through which SAM readers are accessiblesamReaderFilter - the regular expression defining how to identify SAM readers among
others.maxBlockingTime - the maximum duration for which the allocateSamResource method will
attempt to allocate a new reader by retrying (in milliseconds).sleepTime - the duration to wait between two retriesorg.eclipse.keyple.core.service.exception.KeypleReaderException - throw if an error occurs while getting the readers list.public static SamResourceManager instantiate(org.eclipse.keyple.core.service.Plugin plugin, java.lang.String samReaderFilter)
public static SamResourceManager instantiate(org.eclipse.keyple.core.service.PoolPlugin samPoolPlugin, int maxBlockingTime, int sleepTime)
The samReaderPlugin is used to retrieve the available SAM in the PoolPlugin.
Setup a plugin observer if the reader plugin is observable.
samPoolPlugin - the plugin through which SAM readers are accessiblemaxBlockingTime - the maximum duration for which the allocateSamResource method will
attempt to allocate a new reader by retrying (in milliseconds).sleepTime - the duration to wait between two retriespublic static SamResourceManager instantiate(org.eclipse.keyple.core.service.PoolPlugin samPoolPlugin)