ActiveModule, AliasedCertificateFactory, CertificateFactory, Command, CommandRegistry, KeyStoreCertificateFactory, Logger, PartnershipFactory, Processor, ProcessorModule, ReceiverModule, ResenderModule, SenderModule, StorableCertificateFactory, StorageModule, TrackingModuleAddPartnerCommand, AddPartnershipCommand, AliasedCertCommand, AliasedLoggingCommand, AliasedPartnershipsCommand, AS2DirectoryPollingModule, AS2FileReceiverModule, AS2MDNReceiverModule, AS2ReceiverModule, AS2SenderModule, BaseActiveModule, BaseCertificateFactory, BaseCommand, BaseCommandProcessor, BaseCommandRegistry, BaseComponent, BaseLogger, BaseMsgTrackingModule, BasePartnershipFactory, BaseProcessor, BaseProcessorModule, BaseReceiverModule, BaseResenderModule, BaseSenderModule, BaseStorageModule, ClearCertsCommand, ConsoleLogger, DbTrackingModule, DefaultProcessor, DeleteCertCommand, DeletePartnerCommand, DeletePartnershipCommand, DirectoryPollingModule, DirectoryResenderModule, EmailLogger, EmailSender, FileLogger, HealthCheckModule, HttpSenderModule, ImportCertCommand, ImportCertInEncodedStreamCommand, ListCertCommand, ListPartnersCommand, ListPartnershipsCommand, MDNFileModule, MDNSenderModule, MessageBuilderModule, MessageFileModule, MultiCommand, NetModule, PKCS12CertificateFactory, PollingModule, RefreshPartnershipsCommand, SchedulerComponent, SentryLogger, SetLogLevelCommand, SocketCommandProcessor, SocketLogger, StorePartnershipsCommand, StreamCommandProcessor, ViewCertCommand, ViewPartnerCommand, ViewPartnershipCommand, XMLCommandRegistry, XMLPartnershipFactorypublic interface Component
BaseComponent,
Session| Modifier and Type | Method | Description |
|---|---|---|
void |
destroy() |
Component lifecycle hook.
|
String |
getName() |
Returns a name for the component.
|
Map<String,String> |
getParameters() |
Returns the parameters used to initialize this Component, and can also be used
to modify parameters.
|
Session |
getSession() |
Returns the Session used to initialize this Component.
|
void |
init(Session session,
Map<String,String> parameters) |
Component lifecycle hook.
|
String getName()
Map<String,String> getParameters()
Session getSession()
void init(Session session, Map<String,String> parameters) throws OpenAS2Exception
session - the component uses this object to access other componentsparameters - configuration values for the componentOpenAS2Exception - If an error occurs while initializing the componentSessionvoid destroy()
throws Exception
Component requires a destroy function this method can be used.Exception - Something went wronginit(Session, Map),
SessionCopyright © 2018. All rights reserved.