@ThreadSafe public class GlobalComponentRegistry extends AbstractComponentRegistry
| Modifier and Type | Class and Description |
|---|---|
class |
GlobalComponentRegistry.ModuleInitializer
Module initialization happens in
ModuleLifecycle.cacheManagerStarting(GlobalComponentRegistry, GlobalConfiguration). |
| Modifier and Type | Field and Description |
|---|---|
protected ClassLoader |
classLoader |
state| Constructor and Description |
|---|
GlobalComponentRegistry(GlobalConfiguration configuration,
EmbeddedCacheManager cacheManager,
Set<String> createdCaches,
ModuleRepository moduleRepository,
ConfigurationManager configurationManager)
Creates an instance of the component registry.
|
getComponent, getComponent, getComponent, getComponent, getComponent, getOptionalComponent, getOrCreateComponent, getOrCreateComponent, getOrCreateComponent, getStatus, registerComponent, registerComponent, registerComponent, registerComponentInternal, registerDefaultClassLoader, registerNonVolatileComponent, start, stop, wireDependenciesprotected final ClassLoader classLoader
public GlobalComponentRegistry(GlobalConfiguration configuration, EmbeddedCacheManager cacheManager, Set<String> createdCaches, ModuleRepository moduleRepository, ConfigurationManager configurationManager)
configuration - configuration with which this is createdconfigurationManager - protected ClassLoader getClassLoader()
getClassLoader in class AbstractComponentRegistryprotected Log getLog()
getLog in class AbstractComponentRegistryprotected void removeShutdownHook()
removeShutdownHook in class AbstractComponentRegistrypublic TimeService getTimeService()
getTimeService in class AbstractComponentRegistryprotected void addShutdownHook()
addShutdownHook in class AbstractComponentRegistrypublic final ComponentRegistry getNamedComponentRegistry(String name)
public final ComponentRegistry getNamedComponentRegistry(ByteString name)
public final void registerNamedComponentRegistry(ComponentRegistry componentRegistry, String name)
public final void unregisterNamedComponentRegistry(String name)
public final void rewireNamedRegistries()
public void rewire()
AbstractComponentRegistryrewire in class AbstractComponentRegistryprotected void preStart()
preStart in class AbstractComponentRegistryprotected void postStart()
postStart in class AbstractComponentRegistryprotected void preStop()
preStop in class AbstractComponentRegistryprotected void postStop()
postStop in class AbstractComponentRegistrypublic void notifyCacheStarted(String cacheName)
public final GlobalConfiguration getGlobalConfiguration()
public boolean removeCache(String cacheName)
@Deprecated public ModuleProperties getModuleProperties()
public EmbeddedCacheManager getCacheManager()
public ClusterTopologyManager getClusterTopologyManager()
public LocalTopologyManager getLocalTopologyManager()
Copyright © 2022 JBoss by Red Hat. All rights reserved.