public void cacheComponents ( ) { stateTransferManager = basicComponentRegistry . getComponent ( StateTransferManager . class ) . wired ( ) ; responseGenerator = basicComponentRegistry . getComponent ( ResponseGenerator . class ) . wired ( ) ; commandsFactory = basicComponentRegistry . getComponent ( CommandsFactory . class ) . wired ( ) ; stateTransferLock = basicComponentRegistry . getComponent ( StateTransferLock . class ) . wired ( ) ; inboundInvocationHandler = basicComponentRegistry . getComponent ( PerCacheInboundInvocationHandler . class ) . wired ( ) ; versionGenerator = basicComponentRegistry . getComponent ( VersionGenerator . class ) . wired ( ) ; distributionManager = basicComponentRegistry . getComponent ( DistributionManager . class ) . wired ( ) ; // Initialize components that don't have any strong references from the cache basicComponentRegistry . getComponent ( ClusterCacheStats . class ) ; basicComponentRegistry . getComponent ( CacheConfigurationMBean . class ) ; basicComponentRegistry . getComponent ( InternalConflictManager . class ) ; basicComponentRegistry . getComponent ( LocalStreamManager . class ) ; basicComponentRegistry . getComponent ( ClusterStreamManager . class ) ; basicComponentRegistry . getComponent ( ClusterPublisherManager . class ) ; basicComponentRegistry . getComponent ( XSiteStateTransferManager . class ) ; basicComponentRegistry . getComponent ( BackupSender . class ) ; basicComponentRegistry . getComponent ( StateTransferManager . class ) ; basicComponentRegistry . getComponent ( StateReceiver . class ) ; basicComponentRegistry . getComponent ( PreloadManager . class ) ; }
Invoked last after all services are wired