public class SelfFillingPartnershipFactory extends AbstractPartnershipFactory
m_aRWLock| Constructor and Description |
|---|
SelfFillingPartnershipFactory() |
| Modifier and Type | Method and Description |
|---|---|
static void |
ensureUsablePartnership(Partnership aPartnership)
Ensure that a new partnership is usable.
|
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.
|
addPartnership, equals, getAllPartnershipNames, getAllPartnerships, getPartnershipByName, getPartnershipMap, hashCode, markAsChanged, removePartnership, setPartnerships, toString, updatePartnership, updatePartnershipattrs, getAttributeAsIntRequired, getAttributeAsStringRequired, getName, getSession, initDynamicComponentclone, finalize, getClass, notify, notifyAll, wait, wait, waitattrs, getName, getSession, initDynamicComponentpublic static void ensureUsablePartnership(@Nonnull Partnership aPartnership)
aPartnership - The partnership to be used.@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 final 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.