public class SelfFillingXMLPartnershipFactory extends XMLPartnershipFactory
XMLPartnershipFactory that adds a new partnership if it is
not yet existing.ATTR_DISABLE_BACKUP, ATTR_FILENAMEm_aRWLock| Constructor and Description |
|---|
SelfFillingXMLPartnershipFactory() |
| Modifier and Type | Method and Description |
|---|---|
Partnership |
getPartnership(Partnership aPartnership)
Get the partnership identified by the provided stub partnership.
|
protected void |
onBeforeAddPartnership(Partnership aPartnership)
Callback method that is invoked every time a new partnership is
automatically added.
|
getFilename, initDynamicComponent, isDisableBackup, load, loadPartner, loadPartnerIDs, loadPartnership, loadPartnershipAttributes, refreshPartnershipFactory, setDisableBackup, setFilename, storePartnershipaddPartner, equals, getAllPartnerNames, getAllPartners, getPartnerMap, getPartnerOfName, hashCode, removePartner, setPartnersaddPartnership, getAllPartnershipNames, getAllPartnerships, getPartnershipByName, getPartnershipMap, markAsChanged, removePartnership, setPartnerships, toString, updatePartnership, updatePartnershipattrs, getAttributeAsIntRequired, getAttributeAsStringRequired, getName, getSessionclone, finalize, getClass, notify, notifyAll, wait, wait, waitaddPartnership, getAllPartnershipNames, getAllPartnerships, getPartnershipByName, removePartnership, updatePartnership, updatePartnershipattrs, getName, getSession@OverrideOnDemand @OverridingMethodsMustInvokeSuper protected void onBeforeAddPartnership(@Nonnull Partnership aPartnership) throws AS2Exception
aPartnership - The partnership that will be added. Never null.AS2Exception - In case of an error.@Nonnull public Partnership getPartnership(@Nonnull Partnership aPartnership) throws AS2Exception
IPartnershipFactorygetPartnership in interface IPartnershipFactorygetPartnership in class AbstractPartnershipFactoryaPartnership - Stub partnership which must contain either a name or a set of sender
and receiver IDs.null.AS2Exception - If no partnership matching the provided stub partnership can be
found.Copyright © 2013–2022 Philip Helger. All rights reserved.