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, load, loadPartner, loadPartnerIDs, loadPartnership, loadPartnershipAttributes, refreshPartnershipFactory, setFilename, storePartnershipaddPartner, getAllPartnerNames, getAllPartners, getPartnerMap, getPartnerOfName, removePartner, setPartnersaddPartnership, getAllPartnershipNames, getAllPartnerships, getPartnershipByName, getPartnershipMap, markAsChanged, removePartnership, setPartnerships, toString, updatePartnership, updatePartnershipattrs, equals, getAttributeAsIntRequired, getAttributeAsStringRequired, getName, getSession, hashCodeclone, finalize, getClass, notify, notifyAll, wait, wait, waitaddPartnership, getAllPartnershipNames, getAllPartnerships, getPartnershipByName, removePartnership, updatePartnership, updatePartnershipattrs, getName, getSession@OverrideOnDemand @OverridingMethodsMustInvokeSuper protected void onBeforeAddPartnership(@Nonnull Partnership aPartnership) throws OpenAS2Exception
aPartnership - The partnership that will be added. Never null.OpenAS2Exception - In case of an error.@Nonnull public Partnership getPartnership(@Nonnull Partnership aPartnership) throws OpenAS2Exception
IPartnershipFactorygetPartnership in interface IPartnershipFactorygetPartnership in class AbstractPartnershipFactoryaPartnership - Stub partnership which must contain either a name or a set of sender
and receiver IDs.null.OpenAS2Exception - If no partnership matching the provided stub partnership can be
found.Copyright © 2013–2019 Philip Helger. All rights reserved.