@ThreadSafe public class GlobalComponentRegistry extends AbstractComponentRegistry
AbstractComponentRegistry.Component| Modifier and Type | Field and Description |
|---|---|
protected WeakReference<ClassLoader> |
defaultClassLoader |
DEBUG_DEPENDENCIES, state| Constructor and Description |
|---|
GlobalComponentRegistry(GlobalConfiguration configuration,
EmbeddedCacheManager cacheManager,
Set<String> createdCaches)
Creates an instance of the component registry.
|
clone, createComponentFactoryInternal, getComponent, getComponent, getComponent, getComponent, getComponent, getConfiguration, getFactory, getOrCreateComponent, getOrCreateComponent, getOrCreateComponent, getRegisteredComponents, getStatus, invocationsAllowed, lookupComponent, registerComponent, registerComponent, registerComponent, registerComponentInternal, registerDefaultClassLoader, registerNonVolatileComponent, registerNonVolatileComponent, registerNullComponent, resetVolatileComponents, rewire, throwStackAwareConfigurationException, wireDependenciesprotected final WeakReference<ClassLoader> defaultClassLoader
public GlobalComponentRegistry(GlobalConfiguration configuration, EmbeddedCacheManager cacheManager, Set<String> createdCaches)
configuration - configuration with which this is createdprotected ClassLoader getClassLoader()
getClassLoader in class AbstractComponentRegistryprotected Log getLog()
getLog in class AbstractComponentRegistrypublic ComponentMetadataRepo getComponentMetadataRepo()
getComponentMetadataRepo 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 void registerNamedComponentRegistry(ComponentRegistry componentRegistry, String name)
public final void unregisterNamedComponentRegistry(String name)
public final void rewireNamedRegistries()
public Map<Byte,ModuleCommandInitializer> getModuleCommandInitializers()
public void start()
AbstractComponentRegistryComponentStatus.INITIALIZING state, it will be initialized first.start in interface Lifecyclestart in class AbstractComponentRegistrypublic void stop()
AbstractComponentRegistryComponentStatus.TERMINATED once it
is done. If the cache is not in the ComponentStatus.RUNNING state, this is a
no-op.stop in interface Lifecyclestop in class AbstractComponentRegistrypublic void notifyCacheStarted(String cacheName)
public final GlobalConfiguration getGlobalConfiguration()
public boolean removeCache(String cacheName)
public ModuleProperties getModuleProperties()
Copyright © 2025 JBoss, a division of Red Hat. All rights reserved.