public class AdminServletMgrEE extends AdminServletMgr implements AdminServletMgrIf
AdminBaseMgr.StaticData| Modifier and Type | Field and Description |
|---|---|
private java.lang.String |
brokerURL |
protected AdminEngineCacheMgrIf |
engMgr
Admin Engine Cache Mgr
|
protected static org.apache.commons.logging.Log |
log
the log
|
private long |
mqInitialPauseMillis |
private java.lang.String |
mqPassword |
private long |
mqReadFrequencyMillis |
private long |
mqReadTimeoutMillis |
private java.lang.String |
mqUserName |
private static java.lang.String |
mutex |
private ERPQueueReader |
qr |
erpInputQueue, erpOutputQueuePrefixadminEng, baseMgrMutex, baseStaticDataHM, cDataEnd, cDataStart, debugStackTraceExclusions, kkAdminPropsFilePath, kkConf, kkInstanceId, mgrFactory, STORE_ID, templateBaseDir| Constructor and Description |
|---|
AdminServletMgrEE(KKAdminIf eng)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
AdminEngineCacheMgrIf |
getEngMgr() |
java.lang.String |
processExportMsg(java.lang.String msgIn)
Before sending to queue we have to add an outer messages tag as well as an XML header
|
void |
setEngMgr(AdminEngineCacheMgrIf engMgr) |
void |
shutdown()
Shutdown the QueueReader
|
void |
startUp()
Initialise MQ and Start up the read Queue
|
void |
writeToQueue(java.lang.String storeId,
java.lang.String msg)
Method to post data to a queue based on the storeId
|
getErpInputQueue, getERPOutputQueuePrefix, getKKEngPropertiesFile, setErpInputQueue, setERPOutputQueuePrefix, setKKEngPropertiesFileaddInsertAttr, addInsertAttr, addStringRuleConstraint, addStringRuleConstraint, checkAPICallEnabled, checkIntInRange, checkIntIsSet, checkRequired, executeQuery, executeQuery, getAdminAddressMgr, getAdminAuditMgr, getAdminBillingMgr, getAdminBookableProductMgr, getAdminCatMgr, getAdminConfigMgr, getAdminContentMgr, getAdminCurrMgr, getAdminCustMgr, getAdminCustPwdHistMgr, getAdminCustTagMgr, getAdminEmailMgr, getAdminEng, getAdminEngineCacheMgr, getAdminEventMgr, getAdminExecuteMgr, getAdminFileMgr, getAdminFilterMgr, getAdminHtmlMgr, getAdminImportMgr, getAdminLanguageMgr, getAdminManuMgr, getAdminMessageMgr, getAdminMiscItemMgr, getAdminMiscPriceMgr, getAdminModulesMgr, getAdminMultiStoreMgr, getAdminOrderMgr, getAdminPdfMgr, getAdminProdAttrMgr, getAdminProdMgr, getAdminPromMgr, getAdminReviewMgr, getAdminSearchRuleMgr, getAdminSecMgr, getAdminServletMgr, getAdminShipmentMgr, getAdminSolrMgr, getAdminStoreMgr, getAdminSuggestionMgr, getAdminTagMgr, getAdminTaxMgr, getAdminValidationMgr, getAdminVelocityContextMgr, getAdminWishListMgr, getBooleanFromString, getDebugStackTraceExclusions, getEmailThreadGracefulShutdownTimeout, getExportMgr, getExportMgr, getExportXMLData, getIntFromString, getKkAdminPropsFilePath, getKkConfig, getKkInstanceId, getMode, getModeString, getMqMgr, getNewCriteria, getNewCriteria, getNewCriteria, getNewCriteria, getOtherModuleByName, getPostSearchText, getPreSearchText, getProductsToCategoresCriteria, getPropertyValue, getPropertyValue, getPropertyValueAsBool, getPropertyValueAsInt, getPropertyValueAsLong, getRecordCount, getRecordCount, getRewardPointMgr, getSingleIntResult, getStoreId, getTemplate, getTemplateBase, getXml_io, init, insertKKEvent, insertKKEvent, isBusiness, isBusinessOrEnterprise, isCommunity, isConfigSet, isEnterprise, isMultiStoreLanguagesShared, isMultiStoreMode, isMultiStoreShareCategories, isMultiStoreShareCustomers, isMultiStoreShareCustomersOrProducts, isMultiStoreShareProducts, isMultiStoreSingleDBCSMode, isMultiStoreSingleDBMode, isMultiStoreSingleDBNonCSMode, isUnix, isWindows, manageException, manageThrowable, refreshConfigs, removeCData, sendMQMessages, setAdminEng, setDebugStackTraceExclusions, setKkAdminPropsFilePath, setupWildCardRules, setWildCardAfter, setWildCardBefore, shutdownGracefully, shutdownGracefully, timestampStr, updateStaticVariablesNowclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetErpInputQueue, getERPOutputQueuePrefix, getKKEngPropertiesFile, setErpInputQueue, setERPOutputQueuePrefix, setKKEngPropertiesFileprotected static org.apache.commons.logging.Log log
private static final java.lang.String mutex
private java.lang.String brokerURL
private java.lang.String mqUserName
private java.lang.String mqPassword
private long mqReadFrequencyMillis
private long mqReadTimeoutMillis
private long mqInitialPauseMillis
private ERPQueueReader qr
protected AdminEngineCacheMgrIf engMgr
public AdminServletMgrEE(KKAdminIf eng) throws java.lang.Exception
eng - the engjava.lang.Exception - an unexpected exceptionpublic void startUp()
throws java.lang.Exception
startUp in interface AdminServletMgrIfstartUp in class AdminServletMgrjava.lang.Exception - an unexpected exceptionpublic void shutdown()
throws KKAdminException
shutdown in interface AdminServletMgrIfshutdown in class AdminServletMgrKKAdminException - unexpected exception in the KonaKart Admin Enginepublic void writeToQueue(java.lang.String storeId,
java.lang.String msg)
throws java.lang.Exception
writeToQueue in interface AdminServletMgrIfwriteToQueue in class AdminServletMgrstoreId - the storeIdmsg - the msgjava.lang.Exception - an unexpected exceptionpublic java.lang.String processExportMsg(java.lang.String msgIn)
throws KKAdminException
processExportMsg in interface AdminServletMgrIfprocessExportMsg in class AdminServletMgrmsgIn - the msgInKKAdminException - unexpected exception in the KonaKart Admin Enginepublic AdminEngineCacheMgrIf getEngMgr() throws KKAdminException
getEngMgr in interface AdminServletMgrIfgetEngMgr in class AdminServletMgrKKAdminException - unexpected exception in the KonaKart Admin Enginepublic void setEngMgr(AdminEngineCacheMgrIf engMgr) throws KKAdminException
setEngMgr in interface AdminServletMgrIfsetEngMgr in class AdminServletMgrengMgr - the engMgr to setKKAdminException - unexpected exception in the KonaKart Admin EngineCopyright © 2018 DS Data Systems UK Ltd.