Package com.helger.phase4.profile
Class AS4ProfileManager
java.lang.Object
com.helger.phase4.profile.AS4ProfileManager
- All Implemented Interfaces:
IAS4ProfileManager,IAS4ProfileRegistrar
AS4 profile manager. All profiles are registered by SPI -
IAS4ProfileRegistrarSPI.- Author:
- Philip Helger
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.helger.commons.collection.impl.ICommonsList<IAS4Profile> final intgetProfileOfID(String sID) Find an existing profile with a certain ID.voidregisterProfile(IAS4Profile aAS4Profile) Register a new AS4 profile.voidtoString()
-
Constructor Details
-
AS4ProfileManager
public AS4ProfileManager()
-
-
Method Details
-
getAllProfiles
@Nonnull @ReturnsMutableCopy public com.helger.commons.collection.impl.ICommonsList<IAS4Profile> getAllProfiles()- Specified by:
getAllProfilesin interfaceIAS4ProfileManager- Returns:
- A non-
nullbut maybe empty list of all contained profiles.
-
getProfileCount
-
getProfileOfID
Description copied from interface:IAS4ProfileManagerFind an existing profile with a certain ID.- Specified by:
getProfileOfIDin interfaceIAS4ProfileManager- Parameters:
sID- The ID to search. May benull.- Returns:
nullif no such profile exists
-
registerProfile
Description copied from interface:IAS4ProfileRegistrarRegister a new AS4 profile.- Specified by:
registerProfilein interfaceIAS4ProfileRegistrar- Parameters:
aAS4Profile- The AS4 profile to be registered. May not benull.
-
reloadAll
public void reloadAll() -
toString
-