public interface IDynamicComponent
AbstractDynamicComponent,
IAS2Session| Modifier and Type | Method and Description |
|---|---|
com.helger.commons.collection.attr.IStringMap |
attrs() |
String |
getName()
Returns a name for the component.
|
IAS2Session |
getSession()
Returns the Session used to initialize this Component.
|
void |
initDynamicComponent(IAS2Session aSession,
com.helger.commons.collection.attr.IStringMap aParameters)
After creating a Component object, this method should be called to set any
parameters used by the component.
|
@Nonnull com.helger.commons.collection.attr.IStringMap attrs()
@Nullable String getName()
@Nonnull IAS2Session getSession()
null.void initDynamicComponent(@Nonnull IAS2Session aSession, @Nullable com.helger.commons.collection.attr.IStringMap aParameters) throws AS2Exception
aSession - the component uses this object to access other componentsaParameters - configuration values for the component. All parameters will be
stored as attributes of this component. All attributes existing
before this method is called will be removed!AS2Exception - If an error occurs while initializing the componentAS2InvalidParameterException - If a required parameter is null in the parameters MapIAS2SessionCopyright © 2013–2022 Philip Helger. All rights reserved.