public class ExtendingHAService extends Object implements KSIExtendingService
| Modifier and Type | Class and Description |
|---|---|
static class |
ExtendingHAService.Builder
Builds the
ExtendingHAService. |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Closes all the subservices.
|
Future<ExtensionResponse> |
extend(Date aggregationTime,
Date publicationTime)
Creates a non-blocking extending request.
|
Future<ExtenderConfiguration> |
getExtendingConfiguration()
Invokes a configuration for all the subservices.
|
List<KSIExtendingService> |
getSubExtendingServices()
Gets the subclients in case of the implementation that combines multiple clients.
|
void |
registerExtenderConfigurationListener(ConfigurationListener<ExtenderConfiguration> listener)
Registers configuration listeners that will be called if this
ExtendingHAService's configuration changes. |
public Future<ExtensionResponse> extend(Date aggregationTime, Date publicationTime) throws KSIException
extend in interface KSIExtendingServiceaggregationTime - aggregation time of the existing signature.publicationTime - publication time to which the existing signature is to be extended.ExtensionResponseFuture containing calendar chains needed to extend the signature.KSIException - in case any error occurs.KSIExtendingService.extend(Date, Date)public List<KSIExtendingService> getSubExtendingServices()
KSIExtendingServicegetSubExtendingServices in interface KSIExtendingServicepublic void registerExtenderConfigurationListener(ConfigurationListener<ExtenderConfiguration> listener)
ExtendingHAService's configuration changes. They will not be
called if subservice's configuration changes in a way that does not change the consolidated configuration. To get detailed
info about subservices' configurations one should register their own listeners directly on subservices. Listener will
be called instantaneously once with the latest consolidation result as part of the registration if the latest result is
not null.registerExtenderConfigurationListener in interface KSIExtendingServicelistener - may not be null.public Future<ExtenderConfiguration> getExtendingConfiguration()
getExtendingConfiguration in interface KSIExtendingServicepublic void close()
close in interface Closeableclose in interface AutoCloseableCopyright © 2024 Guardtime. All rights reserved.