org.infinispan.factories
Class GlobalComponentRegistry
java.lang.Object
org.infinispan.factories.AbstractComponentRegistry
org.infinispan.factories.GlobalComponentRegistry
- All Implemented Interfaces:
- Lifecycle
public class GlobalComponentRegistry
- extends AbstractComponentRegistry
A global component registry where shared components are stored.
- Since:
- 4.0
- Author:
- Manik Surtani
Methods inherited from class org.infinispan.factories.AbstractComponentRegistry |
addComponentDependencies, getComponent, getComponent, getConfiguration, getDefaultFactoryMap, getFactory, getFromConfiguration, getOrCreateComponent, getOrCreateComponent, getRegisteredComponents, getStatus, invocationsAllowed, invokeInjectionMethod, lookupComponent, registerComponent, registerComponent, registerDefaultClassLoader, resetNonVolatile, rewire, start, stop, wireDependencies |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GlobalComponentRegistry
public GlobalComponentRegistry(GlobalConfiguration configuration,
CacheManager cacheManager)
- Creates an instance of the component registry. The configuration passed in is automatically registered.
- Parameters:
configuration
- configuration with which this is created
getLog
protected Log getLog()
- Specified by:
getLog
in class AbstractComponentRegistry
removeShutdownHook
protected void removeShutdownHook()
- Overrides:
removeShutdownHook
in class AbstractComponentRegistry
addShutdownHook
protected void addShutdownHook()
- Overrides:
addShutdownHook
in class AbstractComponentRegistry
getNamedComponentRegistry
public final ComponentRegistry getNamedComponentRegistry(String name)
registerNamedComponentRegistry
public final void registerNamedComponentRegistry(ComponentRegistry componentRegistry,
String name)
unregisterNamedComponentRegistry
public final void unregisterNamedComponentRegistry(String name)
rewireNamedRegistries
public final void rewireNamedRegistries()
Copyright © 2009 JBoss, a division of Red Hat. All Rights Reserved.