public class BackofficeApplicationContext extends TenantIgnoreXmlWebApplicationContext
| Constructor and Description |
|---|
BackofficeApplicationContext() |
BackofficeApplicationContext(java.lang.String tenantId,
java.lang.String ctxPath) |
| Modifier and Type | Method and Description |
|---|---|
protected java.io.OutputStream |
createDefaultModuleJarStream(java.io.File moduleJar) |
protected ModulesEnumeration |
createModulesEnumeration() |
protected LibraryFetcher |
createModulesFetcher(ModulesEnumeration enumeration) |
protected BackofficeModulesManager |
createModulesManager() |
protected WidgetClassLoader |
createWidgetClassLoader(java.lang.ClassLoader parent) |
WidgetClassLoader |
getClassLoader() |
java.io.File |
getDataRootDir() |
protected java.lang.String |
getLibraryFetcherClassName() |
java.util.List<java.lang.String> |
getLoadedModulesNames() |
java.util.Optional<ModuleInfo> |
getModuleInfo(java.lang.String moduleName) |
java.util.Optional<java.lang.String> |
getModuleName(java.net.URI moduleURI) |
protected java.lang.String |
getModulesEnumerationClassName() |
protected BackofficeModulesManager |
getModulesManager() |
java.util.Optional<java.net.URI> |
getModuleURI(java.lang.String moduleName) |
protected void |
initializeWidgetClassLoader() |
boolean |
isReady() |
protected boolean |
isResourceCacheEnabled() |
protected void |
prepareRefresh() |
void |
registerNewModule(java.lang.String moduleName,
ModuleContentProvider contentsProvider) |
protected void |
revertWidgetClassLoader() |
void |
setClassLoader(java.lang.ClassLoader classLoader) |
void |
unregisterModule(java.lang.String moduleName) |
getDisplayName, getTenantName, initBeanDefinitionReaderpublic BackofficeApplicationContext(java.lang.String tenantId,
java.lang.String ctxPath)
public BackofficeApplicationContext()
public WidgetClassLoader getClassLoader()
public void setClassLoader(java.lang.ClassLoader classLoader)
public boolean isReady()
protected void prepareRefresh()
protected void revertWidgetClassLoader()
protected void initializeWidgetClassLoader()
protected WidgetClassLoader createWidgetClassLoader(java.lang.ClassLoader parent)
protected BackofficeModulesManager getModulesManager()
protected boolean isResourceCacheEnabled()
protected BackofficeModulesManager createModulesManager()
protected LibraryFetcher createModulesFetcher(ModulesEnumeration enumeration)
protected java.lang.String getLibraryFetcherClassName()
protected ModulesEnumeration createModulesEnumeration()
protected java.lang.String getModulesEnumerationClassName()
public java.io.File getDataRootDir()
public java.util.List<java.lang.String> getLoadedModulesNames()
public java.util.Optional<java.lang.String> getModuleName(java.net.URI moduleURI)
public java.util.Optional<java.net.URI> getModuleURI(java.lang.String moduleName)
public java.util.Optional<ModuleInfo> getModuleInfo(java.lang.String moduleName)
public void registerNewModule(java.lang.String moduleName,
ModuleContentProvider contentsProvider)
throws CockpitApplicationException
CockpitApplicationExceptionprotected java.io.OutputStream createDefaultModuleJarStream(java.io.File moduleJar)
throws java.io.FileNotFoundException
java.io.FileNotFoundExceptionpublic void unregisterModule(java.lang.String moduleName)
throws CockpitApplicationException
CockpitApplicationExceptionCopyright © 2018 SAP SE. All Rights Reserved.