@Override public void start(StartContext context) throws StartException { ROOT_LOGGER.debugf("Starting PartitionManagerService for [%s]", this.alias); this.partitionManager = new DefaultPartitionManager(this.configurationBuilder.buildAll()); publishPartitionManager(context); }
@Override public PartitionManager create(CreationalContext<PartitionManager> creationalContext) { this.configuration = resolveIdentityConfiguration(); PartitionManager identity = new DefaultPartitionManager(this.configuration); this.injectionTarget.inject(identity, creationalContext); this.injectionTarget.postConstruct(identity); return identity; }
@Override public void start(StartContext context) throws StartException { ROOT_LOGGER.debugf("Starting PartitionManagerService for [%s]", this.alias); this.partitionManager = new DefaultPartitionManager(this.configurationBuilder.buildAll()); publishPartitionManager(context); }
@Override public void start(StartContext context) throws StartException { ROOT_LOGGER.debugf("Starting PartitionManagerService for [%s]", this.alias); this.partitionManager = new DefaultPartitionManager(this.configurationBuilder.buildAll()); publishPartitionManager(context); }
DefaultPartitionManager partitionManager = new DefaultPartitionManager(builder.buildAll());
private PartitionManager createEmbeddedPartitionManager() { if (ROOT_LOGGER.isDebugEnabled()) { ROOT_LOGGER.debugf("Creating PartitionManager."); } List<IdentityConfiguration> identityConfiguration = this.identityManagementConfiguration.getIdentityConfiguration(); PartitionManager partitionManager = new DefaultPartitionManager(identityConfiguration, this.eventBridge, getPermissionHandlers()); this.eventBridge.fireEvent(new PartitionManagerCreateEvent(partitionManager)); createDefaultPartition(partitionManager); return partitionManager; }
private PartitionManager createEmbeddedPartitionManager() { if (ROOT_LOGGER.isDebugEnabled()) { ROOT_LOGGER.debugf("Creating PartitionManager."); } List<IdentityConfiguration> identityConfiguration = this.identityManagementConfiguration.getIdentityConfiguration(); PartitionManager partitionManager = new DefaultPartitionManager(identityConfiguration, this.eventBridge, getPermissionHandlers()); this.eventBridge.fireEvent(new PartitionManagerCreateEvent(partitionManager)); createDefaultPartition(partitionManager); return partitionManager; }
private PartitionManager createEmbeddedPartitionManager() { if (ROOT_LOGGER.isDebugEnabled()) { ROOT_LOGGER.debugf("Creating PartitionManager."); } List<IdentityConfiguration> identityConfiguration = this.identityManagementConfiguration.getIdentityConfiguration(); PartitionManager partitionManager = new DefaultPartitionManager(identityConfiguration, this.eventBridge, getPermissionHandlers()); this.eventBridge.fireEvent(new PartitionManagerCreateEvent(partitionManager)); createDefaultPartition(partitionManager); return partitionManager; }
return new DefaultPartitionManager(builder.buildAll(), eventBridge, null);
PartitionManager partitionManager = new DefaultPartitionManager(builder.build());