Index
All Classes and Interfaces|All Packages
A
- addPlugin(Plugin, ReaderConfiguratorSpi) - Method in class org.eclipse.keyple.core.service.resource.PluginsConfigurator.Builder
-
Adds a
Plugin
orObservablePlugin
to the default list of all card profiles. - addPluginWithMonitoring(Plugin, ReaderConfiguratorSpi, PluginObservationExceptionHandlerSpi, CardReaderObservationExceptionHandlerSpi) - Method in class org.eclipse.keyple.core.service.resource.PluginsConfigurator.Builder
-
Adds a
Plugin
orObservablePlugin
to the default list of all card profiles with background auto monitoring of reader connections/disconnections and/or card insertions/removals. - addPoolPlugin(PoolPlugin) - Method in class org.eclipse.keyple.core.service.resource.PoolPluginsConfigurator.Builder
-
Adds a
PoolPlugin
to the default list of all card profiles.
B
- build() - Method in class org.eclipse.keyple.core.service.resource.CardResourceProfileConfigurator.Builder
-
Creates a new instance of
CardResourceProfileConfigurator
using the current configuration. - build() - Method in class org.eclipse.keyple.core.service.resource.PluginsConfigurator.Builder
-
Creates a new instance of
PluginsConfigurator
using the current configuration. - build() - Method in class org.eclipse.keyple.core.service.resource.PoolPluginsConfigurator.Builder
-
Creates a new instance of
PoolPluginsConfigurator
using the current configuration. - builder() - Static method in class org.eclipse.keyple.core.service.resource.PluginsConfigurator
-
Gets the configurator's builder to use in order to create a new instance.
- builder() - Static method in class org.eclipse.keyple.core.service.resource.PoolPluginsConfigurator
-
Gets the configurator's builder to use in order to create a new instance.
- builder(String, CardResourceProfileExtension) - Static method in class org.eclipse.keyple.core.service.resource.CardResourceProfileConfigurator
-
Gets the configurator's builder to use in order to create a new instance of a card resource profile with the provided name and a card resource profile extension to handle specific card operations to be performed at allocation time.
C
- CardResource - Interface in org.eclipse.keyple.core.service.resource
-
This POJO contains a smart card and its associated card reader.
- CardResourceProfileConfigurator - Class in org.eclipse.keyple.core.service.resource
-
Configurator of a card resource profile.
- CardResourceProfileConfigurator.Builder - Class in org.eclipse.keyple.core.service.resource
-
Builder of
CardResourceProfileConfigurator
. - CardResourceProfileExtension - Interface in org.eclipse.keyple.core.service.resource.spi
-
Provides means to check if a reader contains a card that matches a given profile.
- CardResourceService - Interface in org.eclipse.keyple.core.service.resource
-
Card Resource Management Service.
- CardResourceServiceConfigurator - Interface in org.eclipse.keyple.core.service.resource
-
Configurator of the card resource service.
- CardResourceServiceProvider - Class in org.eclipse.keyple.core.service.resource
-
Provider of the
CardResourceService
. - configure() - Method in interface org.eclipse.keyple.core.service.resource.CardResourceServiceConfigurator
-
Finalizes the configuration of the card resource service.
- CYCLIC - Enum constant in enum class org.eclipse.keyple.core.service.resource.PluginsConfigurator.AllocationStrategy
-
Configures the card resource service to provide available cards on a cyclical basis to avoid always providing the same card.
F
- FIRST - Enum constant in enum class org.eclipse.keyple.core.service.resource.PluginsConfigurator.AllocationStrategy
-
Configures the card resource service to provide the first available card when a card allocation is made.
G
- getCardResource(String) - Method in interface org.eclipse.keyple.core.service.resource.CardResourceService
-
Gets the first card resource available for the provided card resource profile name using the configured allocation strategy.
- getConfigurator() - Method in interface org.eclipse.keyple.core.service.resource.CardResourceService
-
Gets the configuration builder to set up the service.
- getReader() - Method in interface org.eclipse.keyple.core.service.resource.CardResource
-
Returns the reader.
- getReaderExtension() - Method in interface org.eclipse.keyple.core.service.resource.CardResource
-
Returns the Keyple reader's extension.
- getService() - Static method in class org.eclipse.keyple.core.service.resource.CardResourceServiceProvider
-
Gets the unique instance of
CardResourceService
. - getSmartCard() - Method in interface org.eclipse.keyple.core.service.resource.CardResource
-
Returns the smart card image.
M
- matches(CardReader, ReaderApiFactory) - Method in interface org.eclipse.keyple.core.service.resource.spi.CardResourceProfileExtension
-
Checks if a card is inserted in the provided reader, selects it, evaluates its profile and potentially executes any necessary commands.
- matches(SmartCard) - Method in interface org.eclipse.keyple.core.service.resource.spi.CardResourceProfileExtension
-
Checks if the provided selected smart card is as expected by the profile.
O
- org.eclipse.keyple.core.service.resource - package org.eclipse.keyple.core.service.resource
-
Interfaces and classes of the Card Resource Service.
- org.eclipse.keyple.core.service.resource.spi - package org.eclipse.keyple.core.service.resource.spi
-
Interfaces to be implemented by applications using the Card Resource Service.
P
- PluginsConfigurator - Class in org.eclipse.keyple.core.service.resource
-
Configurator of all plugins to associate to the card resource service.
- PluginsConfigurator.AllocationStrategy - Enum Class in org.eclipse.keyple.core.service.resource
-
Enumeration of all card resource service allocation strategies.
- PluginsConfigurator.Builder - Class in org.eclipse.keyple.core.service.resource
-
Builder of
PluginsConfigurator
. - PoolPluginsConfigurator - Class in org.eclipse.keyple.core.service.resource
-
Configurator of all pool plugins to associate to the card resource service.
- PoolPluginsConfigurator.Builder - Class in org.eclipse.keyple.core.service.resource
-
Builder of
PoolPluginsConfigurator
.
R
- RANDOM - Enum constant in enum class org.eclipse.keyple.core.service.resource.PluginsConfigurator.AllocationStrategy
-
Configures the card resource service to provide available cards randomly to avoid always providing the same card.
- ReaderConfiguratorSpi - Interface in org.eclipse.keyple.core.service.resource.spi
-
Reader configurator used to set up a new card reader connected with its specific settings.
- releaseCardResource(CardResource) - Method in interface org.eclipse.keyple.core.service.resource.CardResourceService
-
Releases the card resource to make it available to other users.
- removeCardResource(CardResource) - Method in interface org.eclipse.keyple.core.service.resource.CardResourceService
-
Removes the card resource and releases it if it is in use.
S
- setupReader(CardReader) - Method in interface org.eclipse.keyple.core.service.resource.spi.ReaderConfiguratorSpi
-
Invoked when a new card reader is connected and accepted by at least one card resource profile.
- start() - Method in interface org.eclipse.keyple.core.service.resource.CardResourceService
-
Starts the service using the current configuration, initializes the list of card resources, activates the required monitoring, if any.
- stop() - Method in interface org.eclipse.keyple.core.service.resource.CardResourceService
-
Stops the service if it is started.
U
- usePoolFirst() - Method in class org.eclipse.keyple.core.service.resource.PoolPluginsConfigurator.Builder
-
Configures the card resource service to search for available cards in pool plugins before regular plugins.
V
- valueOf(String) - Static method in enum class org.eclipse.keyple.core.service.resource.PluginsConfigurator.AllocationStrategy
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class org.eclipse.keyple.core.service.resource.PluginsConfigurator.AllocationStrategy
-
Returns an array containing the constants of this enum class, in the order they are declared.
W
- withAllocationStrategy(PluginsConfigurator.AllocationStrategy) - Method in class org.eclipse.keyple.core.service.resource.PluginsConfigurator.Builder
-
Specifies the allocation strategy to perform when a card resource is requested.
- withBlockingAllocationMode(int, int) - Method in interface org.eclipse.keyple.core.service.resource.CardResourceServiceConfigurator
-
Configures the card resource service to use a blocking allocation mode with the provided timing parameters used during the allocation process.
- withCardResourceProfiles(CardResourceProfileConfigurator...) - Method in interface org.eclipse.keyple.core.service.resource.CardResourceServiceConfigurator
-
Configures the card resource service with one or more card resource profiles.
- withPlugins(Plugin...) - Method in class org.eclipse.keyple.core.service.resource.CardResourceProfileConfigurator.Builder
-
Restricts the scope of the search during the allocation process to the provided plugins.
- withPlugins(PluginsConfigurator) - Method in interface org.eclipse.keyple.core.service.resource.CardResourceServiceConfigurator
-
Configures the card resource service with one or more
Plugin
orObservablePlugin
. - withPoolPlugins(PoolPluginsConfigurator) - Method in interface org.eclipse.keyple.core.service.resource.CardResourceServiceConfigurator
-
Configures the card resource service with one or more
PoolPlugin
. - withReaderGroupReference(String) - Method in class org.eclipse.keyple.core.service.resource.CardResourceProfileConfigurator.Builder
-
Sets a filter to target all card having the provided specific reader group reference.
- withReaderNameRegex(String) - Method in class org.eclipse.keyple.core.service.resource.CardResourceProfileConfigurator.Builder
-
Sets a filter targeting all card readers having a name matching the provided regular expression.
- withUsageTimeout(int) - Method in class org.eclipse.keyple.core.service.resource.PluginsConfigurator.Builder
-
Specifies the timeout to use after that an allocated card resource can be automatically re-allocated by card resource service to a new thread if requested.
All Classes and Interfaces|All Packages