Interface MessageNameCatalogue
-
- All Known Implementing Classes:
DefaultMessageNameCatalogue
public interface MessageNameCatalogue
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringREQUESTNAME_CRLFORWARDSpecial request name that can be sent to the lookup method and indicates that the related message is a IssueCredentialStatusList that is automatically generated without any matching request.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidinit(java.util.Properties config)Default constructorjava.lang.StringlookupName(java.lang.String requestName, java.lang.Object payLoadObject)Method that looks up the name for a specific setting used to populate the 'name' attribute in the header.
-
-
-
Field Detail
-
REQUESTNAME_CRLFORWARD
static final java.lang.String REQUESTNAME_CRLFORWARD
Special request name that can be sent to the lookup method and indicates that the related message is a IssueCredentialStatusList that is automatically generated without any matching request.- See Also:
- Constant Field Values
-
-
Method Detail
-
init
void init(java.util.Properties config) throws MessageProcessingException
Default constructor- Parameters:
config- the properties file of the PKI message parser.- Throws:
MessageProcessingException- if an error occurred
-
lookupName
java.lang.String lookupName(java.lang.String requestName, java.lang.Object payLoadObject) throws MessageProcessingException, java.lang.IllegalArgumentExceptionMethod that looks up the name for a specific setting used to populate the 'name' attribute in the header.- Parameters:
requestName- the related request name if applicable, null if this is a request.payLoadObject- the setting to look-up the name for.- Returns:
- the name of the message to use.
- Throws:
MessageException- if name lookup failed due to internal connection problems.java.lang.IllegalArgumentException- if name lookup failed due to bad request dataMessageProcessingException
-
-