Package de.hybris.platform.core
Class Initialization
java.lang.Object
de.hybris.platform.core.Initialization
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected static voidstatic voidstatic voidDeprecated, for removal: This API element is subject to removal in a future version.since agesprotected static voidDeprecated, for removal: This API element is subject to removal in a future version.since 5.0static voidcreateProjectData(JspContext jspc, boolean forceAll) Deprecated, for removal: This API element is subject to removal in a future version.since agesstatic booleandoInitialize(JspContext jspc) static booleanforceClean(Map params) static Map<String,List<SystemSetupCollectorResult>> static SystemSetupCollectorstatic booleanhasProjectData(Extension creator) Deprecated, for removal: This API element is subject to removal in a future version.since agesstatic booleanstatic voidinitialize(Map params, Licence licence) static booleanused from ant batchstatic booleanstatic booleanstatic booleanFetch the config for *each* request, to be able to edit it in runtime.static booleanisTenantInitializing(Tenant tenant) static booleanisTenantInitializingGlobally(Tenant tenant) static booleanisTenantInitializingLocally(Tenant tenant) static booleanisUpdateParameter(Map params) static voidprotected static voidputDataSourceParams(Map params, String dsId, String driver, boolean slave) protected static voidstatic voidDeprecated, for removal: This API element is subject to removal in a future version.since agesstatic booleanused from ant batch
-
Field Details
-
LOG_HEADER
- See Also:
-
SYSTEM_INITIALIZATION_OP_NAME
- See Also:
-
SYSTEM_UPDATE_OP_NAME
- See Also:
-
EXT_PROJECT_DATA_SUFFIX
- See Also:
-
-
Constructor Details
-
Initialization
public Initialization()
-
-
Method Details
-
isSystemLocked
public static boolean isSystemLocked()Fetch the config for *each* request, to be able to edit it in runtime. -
isCurrentTenantInitializing
public static boolean isCurrentTenantInitializing() -
isTenantInitializing
-
isTenantInitializingLocally
-
isTenantInitializingGlobally
-
isAnyTenantInitializingGlobally
public static boolean isAnyTenantInitializingGlobally() -
hasRunningMasterTenant
public static boolean hasRunningMasterTenant() -
initializeTestSystem
used from ant batch- Returns:
- true when initialization can be performed, otherwise returns false.
- Throws:
Exception
-
updateTestSystem
used from ant batch- Returns:
- true when update can be performed, otherwise returns false.
- Throws:
Exception
-
isUpdateParameter
-
doInitialize
- Throws:
Exception
-
createJUnitTenant
@Deprecated(since="5.0", forRemoval=true) protected static void createJUnitTenant() throws ConsistencyCheckExceptionDeprecated, for removal: This API element is subject to removal in a future version.since 5.0- Throws:
ConsistencyCheckException
-
createAlternativeTestDataSources
public static void createAlternativeTestDataSources() -
putDataSourceParams
-
updateSystem
Deprecated, for removal: This API element is subject to removal in a future version.since agesNot thread safe update system method usedoInitialize(JspContext)instead.- Throws:
Exception
-
getAllPatchesForExtensions
-
createEssentialData
@Deprecated(since="ages", forRemoval=true) public static void createEssentialData(JspContext jspc) throws Exception Deprecated, for removal: This API element is subject to removal in a future version.since agesShould not be called directly only within initialization or update- Throws:
Exception
-
createProjectData
@Deprecated(since="ages", forRemoval=true) public static void createProjectData(JspContext jspc, boolean forceAll) throws Exception Deprecated, for removal: This API element is subject to removal in a future version.since agesShould not be called directly only within initialization or update- Throws:
Exception
-
initialize
- Parameters:
params- map of following parameters:
metainformation.systempk- system primary key
metainformation.systemname- system namelicence- optional: the licence for the new system, if null the default licence will be set- Throws:
Exception
-
resetClusterIslandPK
protected static void resetClusterIslandPK() -
changeSystemInitUpdateTimestamp
protected static void changeSystemInitUpdateTimestamp() -
forceClean
-
getSystemSetupCollector
-
hasProjectData
Deprecated, for removal: This API element is subject to removal in a future version.since agesPlease useSystemSetupCollector.hasProjectData() instead! -
getCreators
-
main
- Throws:
Exception
-