public class EngineConfig extends java.lang.Object implements java.lang.Cloneable, EngineConfigIf
| Modifier and Type | Field and Description |
|---|---|
static int |
MODE_MULTI_STORE_NON_SHARED_DB
Constant for mode
|
static int |
MODE_MULTI_STORE_SHARED_DB
Constant for mode
|
static int |
MODE_SINGLE_STORE
Constant for mode
|
| Constructor and Description |
|---|
EngineConfig() |
| Modifier and Type | Method and Description |
|---|---|
EngineConfig |
clone()
Clones the current object
|
java.lang.String |
getAppPropertiesFileName()
The name of the properties file for the KonaKart application engine (can be just the name of
a file on the classpath or a full file path).
|
java.lang.String |
getEngineId()
This is not designed to be set by developers.
|
java.lang.String |
getJaxwsClientPropertiesFileName()
The name of the properties file for the KonaKart JAXWS client (can be just the name of a file
on the classpath or a full file path).
|
int |
getMode()
Used to configure the engine at startup.
|
java.lang.String |
getPropertiesFileName()
The name of the properties file for the KonaKart engine (can be just the name of a file on
the classpath or a full file path).
|
java.lang.String |
getRmiClientPropertiesFileName()
The name of the properties file for the KonaKart RMI client (can be just the name of a file
on the classpath or a full file path).
|
java.lang.String |
getStoreId()
Used in multi-store mode to configure the engine to use the correct store.
|
boolean |
isAppEngPortlet()
Used only by the AppEng.
|
boolean |
isCategoriesShared()
Only relevant when in MODE_MULTI_STORE_SHARED_DB mode and products are shared.
|
boolean |
isCustomersShared()
Only relevant when in MODE_MULTI_STORE_SHARED_DB mode.
|
boolean |
isProductsShared()
Only relevant when in MODE_MULTI_STORE_SHARED_DB mode.
|
void |
setAppEngPortlet(boolean appEngPortlet)
Used only by the AppEng.
|
void |
setAppPropertiesFileName(java.lang.String appPropertiesFileName)
The name of the properties file for the KonaKart application engine (can be just the name of
a file on the classpath or a full file path).
|
void |
setCategoriesShared(boolean categoriesShared)
Only relevant when in MODE_MULTI_STORE_SHARED_DB mode and products are shared.
|
void |
setCustomersShared(boolean customersShared)
Only relevant when in MODE_MULTI_STORE_SHARED_DB mode.
|
void |
setEngineId(java.lang.String engineId)
This is not designed to be set by developers.
|
void |
setJaxwsClientPropertiesFileName(java.lang.String jaxwsClientPropertiesFileName)
The name of the properties file for the KonaKart JAXWS client (can be just the name of a file
on the classpath or a full file path).
|
void |
setMode(int mode)
Used to configure the engine at startup.
|
void |
setProductsShared(boolean productsShared)
Only relevant when in MODE_MULTI_STORE_SHARED_DB mode.
|
void |
setPropertiesFileName(java.lang.String propertiesFileName)
The name of the properties file for the KonaKart engine (can be just the name of a file on
the classpath or a full file path).
|
void |
setRmiClientPropertiesFileName(java.lang.String rmiClientPropertiesFileName)
The name of the properties file for the KonaKart RMI client (can be just the name of a file
on the classpath or a full file path).
|
void |
setStoreId(java.lang.String storeId)
Used in multi-store mode to configure the engine to use the correct store.
|
java.lang.String |
toString() |
public static final int MODE_SINGLE_STORE
public static final int MODE_MULTI_STORE_NON_SHARED_DB
public static final int MODE_MULTI_STORE_SHARED_DB
public EngineConfig clone() throws java.lang.CloneNotSupportedException
clone in class java.lang.Objectjava.lang.CloneNotSupportedExceptionpublic java.lang.String getStoreId()
getStoreId in interface EngineConfigIfpublic void setStoreId(java.lang.String storeId)
setStoreId in interface EngineConfigIfstoreId - The storeId to set.public java.lang.String toString()
toString in class java.lang.Objectpublic int getMode()
getMode in interface EngineConfigIfpublic void setMode(int mode)
setMode in interface EngineConfigIfmode - The mode to set.public java.lang.String getPropertiesFileName()
getPropertiesFileName in interface EngineConfigIfpublic void setPropertiesFileName(java.lang.String propertiesFileName)
setPropertiesFileName in interface EngineConfigIfpropertiesFileName - The propertiesFileName to set.public java.lang.String getAppPropertiesFileName()
getAppPropertiesFileName in interface EngineConfigIfpublic void setAppPropertiesFileName(java.lang.String appPropertiesFileName)
setAppPropertiesFileName in interface EngineConfigIfappPropertiesFileName - The appPropertiesFileName to set.public boolean isCustomersShared()
isCustomersShared in interface EngineConfigIfpublic void setCustomersShared(boolean customersShared)
setCustomersShared in interface EngineConfigIfcustomersShared - set to true or falsepublic boolean isProductsShared()
isProductsShared in interface EngineConfigIfpublic void setProductsShared(boolean productsShared)
setProductsShared in interface EngineConfigIfproductsShared - the productsShared to setpublic boolean isCategoriesShared()
isCategoriesShared in interface EngineConfigIfpublic void setCategoriesShared(boolean categoriesShared)
setCategoriesShared in interface EngineConfigIfcategoriesShared - the categoriesShared to setpublic java.lang.String getEngineId()
getEngineId in interface EngineConfigIfpublic void setEngineId(java.lang.String engineId)
setEngineId in interface EngineConfigIfengineId - the engineId to setpublic java.lang.String getJaxwsClientPropertiesFileName()
getJaxwsClientPropertiesFileName in interface EngineConfigIfpublic void setJaxwsClientPropertiesFileName(java.lang.String jaxwsClientPropertiesFileName)
setJaxwsClientPropertiesFileName in interface EngineConfigIfjaxwsClientPropertiesFileName - the jaxwsClientPropertiesFileName to setpublic java.lang.String getRmiClientPropertiesFileName()
getRmiClientPropertiesFileName in interface EngineConfigIfpublic void setRmiClientPropertiesFileName(java.lang.String rmiClientPropertiesFileName)
setRmiClientPropertiesFileName in interface EngineConfigIfrmiClientPropertiesFileName - the rmiClientPropertiesFileName to setpublic boolean isAppEngPortlet()
isAppEngPortlet in interface EngineConfigIfpublic void setAppEngPortlet(boolean appEngPortlet)
setAppEngPortlet in interface EngineConfigIfappEngPortlet - the appEngPortlet to setCopyright © 2018 DS Data Systems UK Ltd.