private final CoreGroupCommunicationService service;
private final SharedLocalYieldingClusterLockManager lockManager;
ExtendedCacheManager(EmbeddedCacheManager container) {
super(container, CacheContainer.DEFAULT_CACHE_NAME);
Transport transport = container.getCache().getCacheManager().getTransport();
if (transport != null) {
Channel channel = ((org.infinispan.remoting.transport.jgroups.JGroupsTransport) transport).getChannel();
this.service = new CoreGroupCommunicationService(Integer.valueOf(0).shortValue());
service.setChannel(channel);
this.lockManager = new SharedLocalYieldingClusterLockManager("lock", service, service);