org.dvb.spi
Interface Provider

All Known Subinterfaces:
CryptographicServiceProviderProvider, SystemBoundProvider, XletBoundProvider

public interface Provider

Abstract interface for all DVB providers.


Method Summary
 java.lang.String getName()
           
 java.lang.Class[] getServiceProviderInterfaces()
          Gives a list of the SPI's implemented by this provider.
 java.lang.String getVersion()
          Return the version of this provider.
 void providerRegistered()
          Called by the system when this provider is registered.
 void providerUnregistered()
          Called by the system when this provider is unregistered.
 

Method Detail

getName

public java.lang.String getName()
Returns:
Descriptive name of this provider. This can be used for debugging purposes, e.g. in a crash log. The name shall be encoded as defined for the permission request file in the main body of the present document. For example "0x0000000B.EMV_PK11.VISA_REVOLVER".

getVersion

public java.lang.String getVersion()
Return the version of this provider. The format of this string is not specified.

Returns:
the version of this provider.

getServiceProviderInterfaces

public java.lang.Class[] getServiceProviderInterfaces()
Gives a list of the SPI's implemented by this provider. The list shall be at least one element long, and shall contain onlyl valid SPI interfaces defined by the terminal specification. Unknown interfaces (e.g. application-defined interfaces) shall be rejected, as documented in ProviderRegistry.

See Also:
ProviderRegistry.registerXletBound(org.dvb.spi.XletBoundProvider), ProviderRegistry.registerSystemBound(org.dvb.spi.SystemBoundProvider)

providerRegistered

public void providerRegistered()
Called by the system when this provider is registered.


providerUnregistered

public void providerUnregistered()
Called by the system when this provider is unregistered.