|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.konakartadmin.ws.KKAdminEngineMgr
public class KKAdminEngineMgr
For creating KonaKart Admin engines
| Field Summary | |
|---|---|
static java.lang.String |
DEFAULT_KKADMIN_ENGINE_CLASS_NAME
The default Admin Engine class name |
protected static org.apache.commons.logging.Log |
log
|
| Constructor Summary | |
|---|---|
KKAdminEngineMgr()
|
|
| Method Summary | |
|---|---|
void |
checkStoreIsSupportedInMultiStoreMode(java.lang.String databasesUsed,
java.lang.String storeId)
Check whether the storeId is included in the list of databases used - in Multi Store Mode |
void |
checkStoreIsSupportedInSingleStoreMode(java.lang.String storeId)
Check whether the storeId is supported in Single Store Mode |
KKAdminIf |
createKKAdminEngine(org.apache.commons.configuration.Configuration conf,
java.lang.String enginePropertyName,
java.lang.String propsFileName,
AdminEngineConfig adminEngConfig)
Creates a KKAdmin engine using configuration values in the specified properties and Admin Engine Configuration object |
KKAdminIf |
getKKAdminByName(AdminEngineConfig adminEngConfig)
Create a new KKAdmin engine from a class of the specified default name. |
KKAdminIf |
getKKAdminByName(java.lang.String kkAdminEngineName,
AdminEngineConfig adminEngConfig)
Create a new KKAdmin engine from a class of the specified name. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String DEFAULT_KKADMIN_ENGINE_CLASS_NAME
protected static org.apache.commons.logging.Log log
| Constructor Detail |
|---|
public KKAdminEngineMgr()
| Method Detail |
|---|
public KKAdminIf createKKAdminEngine(org.apache.commons.configuration.Configuration conf,
java.lang.String enginePropertyName,
java.lang.String propsFileName,
AdminEngineConfig adminEngConfig)
throws KKAdminException
conf - the configuration object read from the properties fileenginePropertyName - the name of the property to look up in the Configuration to find the engine class
namepropsFileName - the name of the properties file that holds the properties - used only for
diagnostic purposes in exceptionsadminEngConfig - the Admin Engine configuration object
KKAdminException
public KKAdminIf getKKAdminByName(java.lang.String kkAdminEngineName,
AdminEngineConfig adminEngConfig)
throws java.lang.InstantiationException,
java.lang.IllegalAccessException,
java.lang.ClassNotFoundException,
java.lang.IllegalArgumentException,
java.lang.reflect.InvocationTargetException
kkAdminEngineName - the name of the class that implements KKAdminIfadminEngConfig - the engine configuration object
java.lang.InstantiationException
java.lang.IllegalAccessException
java.lang.ClassNotFoundException
java.lang.IllegalArgumentException
java.lang.reflect.InvocationTargetException
public void checkStoreIsSupportedInMultiStoreMode(java.lang.String databasesUsed,
java.lang.String storeId)
throws KKAdminException
databasesUsed - the property value from the properties filestoreId - the storeId to check for
KKAdminException - throws this if the storeId is not in the list of supported databases
public void checkStoreIsSupportedInSingleStoreMode(java.lang.String storeId)
throws KKAdminException
storeId - the storeId to check for
KKAdminException - throws this if the storeId is not supported in Single Store Mode
public KKAdminIf getKKAdminByName(AdminEngineConfig adminEngConfig)
throws java.lang.InstantiationException,
java.lang.IllegalAccessException,
java.lang.ClassNotFoundException,
java.lang.IllegalArgumentException,
java.lang.reflect.InvocationTargetException
adminEngConfig - the engine configuration object
java.lang.InstantiationException
java.lang.IllegalAccessException
java.lang.ClassNotFoundException
java.lang.IllegalArgumentException
java.lang.reflect.InvocationTargetException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||