Package com.priint.pubserver.util
Class CometTemplateUtils
java.lang.Object
com.priint.pubserver.util.CometTemplateUtils
-
Method Summary
Modifier and TypeMethodDescriptionstatic CometTemplategetCometTemplate(String tenant, String project, String identifier) Method to get a Comet Template by identifier for a given tenant and projectprotected CometTemplateprotected CometTemplateprotected Class<CometTemplate>
-
Method Details
-
getCometTemplate
public static CometTemplate getCometTemplate(String tenant, String project, String identifier) throws ConfigManagerException, jakarta.xml.bind.JAXBException Method to get a Comet Template by identifier for a given tenant and project- Parameters:
tenant- tenantproject- projectidentifier- Comet Template identifier- Returns:
- CometTemplate
- Throws:
ConfigManagerExceptionjakarta.xml.bind.JAXBException
-
getConfigClass
-
getConfig
protected CometTemplate getConfig(String configFolder, String configName) throws ConfigManagerException, jakarta.xml.bind.JAXBException - Throws:
ConfigManagerExceptionjakarta.xml.bind.JAXBException
-
getConfig
protected CometTemplate getConfig(String configPath) throws ConfigManagerException, jakarta.xml.bind.JAXBException - Throws:
ConfigManagerExceptionjakarta.xml.bind.JAXBException
-