Class AS4ProfileManager

java.lang.Object
com.helger.phase4.profile.AS4ProfileManager
All Implemented Interfaces:
IAS4ProfileManager, IAS4ProfileRegistrar

@ThreadSafe public class AS4ProfileManager extends Object implements IAS4ProfileManager
AS4 profile manager. All profiles are registered by SPI - IAS4ProfileRegistrarSPI.
Author:
Philip Helger
  • Constructor Details

    • AS4ProfileManager

      public AS4ProfileManager()
  • Method Details

    • getAllProfiles

      @ReturnsMutableCopy public @NonNull com.helger.collection.commons.ICommonsList<IAS4Profile> getAllProfiles()
      Specified by:
      getAllProfiles in interface IAS4ProfileManager
      Returns:
      A non-null but maybe empty list of all contained profiles.
    • getProfileCount

      @Nonnegative public final int getProfileCount()
    • getProfileOfID

      public @Nullable IAS4Profile getProfileOfID(@Nullable String sID)
      Description copied from interface: IAS4ProfileManager
      Find an existing profile with a certain ID.
      Specified by:
      getProfileOfID in interface IAS4ProfileManager
      Parameters:
      sID - The ID to search. May be null.
      Returns:
      null if no such profile exists
    • registerProfile

      public void registerProfile(@NonNull IAS4Profile aAS4Profile)
      Description copied from interface: IAS4ProfileRegistrar
      Register a new AS4 profile.
      Specified by:
      registerProfile in interface IAS4ProfileRegistrar
      Parameters:
      aAS4Profile - The AS4 profile to be registered. May not be null.
    • reloadAll

      public void reloadAll()
    • toString

      public String toString()
      Overrides:
      toString in class Object