org.sonatype.nexus.orient.DatabaseInstanceNames Java Examples
The following examples show how to use
org.sonatype.nexus.orient.DatabaseInstanceNames.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: OrientSecurityConfigurationSource.java From nexus-public with Eclipse Public License 1.0 | 6 votes |
@Inject public OrientSecurityConfigurationSource( @Named(DatabaseInstanceNames.SECURITY) final Provider<DatabaseInstance> databaseInstance, @Named("static") final SecurityConfigurationSource defaults, final OrientCUserEntityAdapter userEntityAdapter, final OrientCRoleEntityAdapter roleEntityAdapter, final OrientCPrivilegeEntityAdapter privilegeEntityAdapter, final OrientCUserRoleMappingEntityAdapter userRoleMappingEntityAdapter) { this.databaseInstance = checkNotNull(databaseInstance); this.securityDefaults = checkNotNull(defaults); this.userEntityAdapter = checkNotNull(userEntityAdapter); this.roleEntityAdapter = checkNotNull(roleEntityAdapter); this.privilegeEntityAdapter = checkNotNull(privilegeEntityAdapter); this.userRoleMappingEntityAdapter = checkNotNull(userRoleMappingEntityAdapter); }
Example #2
Source File: ConanUpgrade_1_1.java From nexus-repository-conan with Eclipse Public License 1.0 | 5 votes |
@Inject public ConanUpgrade_1_1( @Named(DatabaseInstanceNames.CONFIG) final Provider<DatabaseInstance> configDatabaseInstance, @Named(DatabaseInstanceNames.COMPONENT) final Provider<DatabaseInstance> componentDatabaseInstance) { this.configDatabaseInstance = checkNotNull(configDatabaseInstance); this.componentDatabaseInstance = checkNotNull(componentDatabaseInstance); }
Example #3
Source File: OrientConfigurationStoreImpl.java From nexus-public with Eclipse Public License 1.0 | 5 votes |
@Inject public OrientConfigurationStoreImpl( @Named(DatabaseInstanceNames.CONFIG) final Provider<DatabaseInstance> databaseInstance, final OrientConfigurationEntityAdapter entityAdapter) { this.databaseInstance = checkNotNull(databaseInstance); this.entityAdapter = checkNotNull(entityAdapter); }
Example #4
Source File: OrientBlobStoreConfigurationStore.java From nexus-public with Eclipse Public License 1.0 | 5 votes |
@Inject public OrientBlobStoreConfigurationStore(@Named(DatabaseInstanceNames.CONFIG) final Provider<DatabaseInstance> databaseInstance, final OrientBlobStoreConfigurationEntityAdapter entityAdapter) { this.databaseInstance = databaseInstance; this.entityAdapter = entityAdapter; }
Example #5
Source File: OrientRoutingRuleStore.java From nexus-public with Eclipse Public License 1.0 | 5 votes |
@Inject public OrientRoutingRuleStore(@Named(DatabaseInstanceNames.CONFIG) final Provider<DatabaseInstance> databaseInstance, final OrientRoutingRuleEntityAdapter entityAdapter) { this.databaseInstance = databaseInstance; this.entityAdapter = entityAdapter; }
Example #6
Source File: OrientRealmConfigurationStore.java From nexus-public with Eclipse Public License 1.0 | 5 votes |
@Inject public OrientRealmConfigurationStore(@Named(DatabaseInstanceNames.SECURITY) final Provider<DatabaseInstance> databaseInstance, final OrientRealmConfigurationEntityAdapter entityAdapter) { this.databaseInstance = checkNotNull(databaseInstance); this.entityAdapter = checkNotNull(entityAdapter); }
Example #7
Source File: OrientAnonymousConfigurationStore.java From nexus-public with Eclipse Public License 1.0 | 5 votes |
@Inject public OrientAnonymousConfigurationStore(@Named(DatabaseInstanceNames.SECURITY) final Provider<DatabaseInstance> databaseInstance, final OrientAnonymousConfigurationEntityAdapter entityAdapter) { this.databaseInstance = checkNotNull(databaseInstance); this.entityAdapter = checkNotNull(entityAdapter); }
Example #8
Source File: JobStoreImpl.java From nexus-public with Eclipse Public License 1.0 | 5 votes |
@Inject public JobStoreImpl(@Named(DatabaseInstanceNames.CONFIG) final Provider<DatabaseInstance> databaseInstance, final JobDetailEntityAdapter jobDetailEntityAdapter, final TriggerEntityAdapter triggerEntityAdapter, final CalendarEntityAdapter calendarEntityAdapter, final NodeAccess nodeAccess, @Named("${nexus.quartz.jobStore.acquireRetryDelay:-15s}") final Time acquireRetryDelay) { this.databaseInstance = checkNotNull(databaseInstance); this.jobDetailEntityAdapter = checkNotNull(jobDetailEntityAdapter); this.triggerEntityAdapter = checkNotNull(triggerEntityAdapter); this.calendarEntityAdapter = checkNotNull(calendarEntityAdapter); this.nodeAccess = checkNotNull(nodeAccess); this.acquireRetryDelay = acquireRetryDelay; }
Example #9
Source File: ModelVersionStore.java From nexus-public with Eclipse Public License 1.0 | 5 votes |
@Inject public ModelVersionStore(final UpgradeManager upgradeManager, @Named(DatabaseInstanceNames.CONFIG) final Provider<DatabaseInstance> databaseInstance, final ClusteredModelVersionsEntityAdapter entityAdapter, final ApplicationDirectories applicationDirectories) { this.upgradeManager = checkNotNull(upgradeManager); this.databaseInstance = checkNotNull(databaseInstance); this.entityAdapter = checkNotNull(entityAdapter); localModelVersions = new PropertiesFile(new File(applicationDirectories.getWorkDirectory("db"), MODEL_PROPERTIES)); }
Example #10
Source File: OrientCapabilityStorage.java From nexus-public with Eclipse Public License 1.0 | 5 votes |
@Inject public OrientCapabilityStorage(@Named(DatabaseInstanceNames.CONFIG) final Provider<DatabaseInstance> databaseInstance, final OrientCapabilityStorageItemEntityAdapter entityAdapter) { this.databaseInstance = checkNotNull(databaseInstance); this.entityAdapter = checkNotNull(entityAdapter); }
Example #11
Source File: OrientSelectorConfigurationStore.java From nexus-public with Eclipse Public License 1.0 | 5 votes |
@Inject public OrientSelectorConfigurationStore(@Named(DatabaseInstanceNames.CONFIG) final Provider<DatabaseInstance> databaseInstance, final OrientSelectorConfigurationEntityAdapter entityAdapter) { this.databaseInstance = databaseInstance; this.entityAdapter = entityAdapter; }
Example #12
Source File: OrientHttpClientConfigurationStore.java From nexus-public with Eclipse Public License 1.0 | 5 votes |
@Inject public OrientHttpClientConfigurationStore(@Named(DatabaseInstanceNames.CONFIG) final Provider<DatabaseInstance> databaseInstance, final OrientHttpClientConfigurationEntityAdapter entityAdapter) { this.databaseInstance = checkNotNull(databaseInstance); this.entityAdapter = checkNotNull(entityAdapter); }
Example #13
Source File: OrientEmailConfigurationStore.java From nexus-public with Eclipse Public License 1.0 | 5 votes |
@Inject public OrientEmailConfigurationStore(@Named(DatabaseInstanceNames.CONFIG) final Provider<DatabaseInstance> databaseInstance, final OrientEmailConfigurationEntityAdapter entityAdapter) { this.databaseInstance = checkNotNull(databaseInstance); this.entityAdapter = checkNotNull(entityAdapter); }
Example #14
Source File: OrientApiKeyStore.java From nexus-public with Eclipse Public License 1.0 | 5 votes |
@Inject public OrientApiKeyStore( @Named(DatabaseInstanceNames.SECURITY) final Provider<DatabaseInstance> databaseInstance, final OrientApiKeyEntityAdapter entityAdapter, final UserPrincipalsHelper principalsHelper, final Map<String, ApiKeyFactory> apiKeyFactories, final DefaultApiKeyFactory defaultApiKeyFactory) { this.databaseInstance = checkNotNull(databaseInstance); this.entityAdapter = checkNotNull(entityAdapter); this.principalsHelper = checkNotNull(principalsHelper); this.apiKeyFactories = checkNotNull(apiKeyFactories); this.defaultApiKeyFactory = checkNotNull(defaultApiKeyFactory); }
Example #15
Source File: ComponentDatabaseUpgrade_1_9.java From nexus-public with Eclipse Public License 1.0 | 5 votes |
@Inject public ComponentDatabaseUpgrade_1_9( @Named(DatabaseInstanceNames.CONFIG) final Provider<DatabaseInstance> configDatabaseInstance, @Named(DatabaseInstanceNames.COMPONENT) final Provider<DatabaseInstance> componentDatabaseInstance) { this.configDatabaseInstance = checkNotNull(configDatabaseInstance); this.componentDatabaseInstance = checkNotNull(componentDatabaseInstance); }
Example #16
Source File: ComponentDatabaseUpgrade_1_1.java From nexus-public with Eclipse Public License 1.0 | 5 votes |
@Inject public ComponentDatabaseUpgrade_1_1( @Named(DatabaseInstanceNames.CONFIG) final Provider<DatabaseInstance> configDatabaseInstance, @Named(DatabaseInstanceNames.COMPONENT) final Provider<DatabaseInstance> componentDatabaseInstance) { this.configDatabaseInstance = checkNotNull(configDatabaseInstance); this.componentDatabaseInstance = checkNotNull(componentDatabaseInstance); }
Example #17
Source File: P2Upgrade_1_1.java From nexus-repository-p2 with Eclipse Public License 1.0 | 5 votes |
@Inject public P2Upgrade_1_1( @Named(DatabaseInstanceNames.CONFIG) final Provider<DatabaseInstance> configDatabaseInstance, @Named(DatabaseInstanceNames.COMPONENT) final Provider<DatabaseInstance> componentDatabaseInstance) { this.configDatabaseInstance = checkNotNull(configDatabaseInstance); this.componentDatabaseInstance = checkNotNull(componentDatabaseInstance); }
Example #18
Source File: OrientScriptStore.java From nexus-public with Eclipse Public License 1.0 | 5 votes |
@Inject public OrientScriptStore(@Named(DatabaseInstanceNames.CONFIG) final Provider<DatabaseInstance> databaseInstance, final OrientScriptEntityAdapter entityAdapter) { this.databaseInstance = checkNotNull(databaseInstance); this.entityAdapter = checkNotNull(entityAdapter); }
Example #19
Source File: ConfigDatabaseUpgrade_1_2.java From nexus-public with Eclipse Public License 1.0 | 5 votes |
@Inject public ConfigDatabaseUpgrade_1_2( @Named(DatabaseInstanceNames.CONFIG) final Provider<DatabaseInstance> databaseInstance, @Named(DatabaseInstanceNames.COMPONENT) final Provider<DatabaseInstance> componentDatabaseInstance) { this.configDatabaseInstance = checkNotNull(databaseInstance); this.componentDatabaseInstance = checkNotNull(componentDatabaseInstance); }
Example #20
Source File: PypiUpgrade_1_1.java From nexus-public with Eclipse Public License 1.0 | 5 votes |
@Inject public PypiUpgrade_1_1( @Named(DatabaseInstanceNames.CONFIG) final Provider<DatabaseInstance> configDatabaseInstance, @Named(DatabaseInstanceNames.COMPONENT) final Provider<DatabaseInstance> componentDatabaseInstance) { this.configDatabaseInstance = checkNotNull(configDatabaseInstance); this.componentDatabaseInstance = checkNotNull(componentDatabaseInstance); }
Example #21
Source File: LegacyKeyStoreUpgradeService.java From nexus-public with Eclipse Public License 1.0 | 5 votes |
@Inject public LegacyKeyStoreUpgradeService(@Named(DatabaseInstanceNames.CONFIG) final Provider<DatabaseInstance> databaseInstance, final ApplicationDirectories appDirectories) { this.databaseInstance = checkNotNull(databaseInstance); keyStoreBasedir = new File(appDirectories.getWorkDirectory("keystores", false), KeyStoreManagerImpl.NAME).toPath(); }
Example #22
Source File: OrientKeyStoreStorageManager.java From nexus-public with Eclipse Public License 1.0 | 5 votes |
@Inject public OrientKeyStoreStorageManager(@Named(DatabaseInstanceNames.CONFIG) final Provider<DatabaseInstance> databaseInstance, final OrientKeyStoreDataEntityAdapter entityAdapter, final EventManager eventManager) { this.databaseInstance = checkNotNull(databaseInstance); this.entityAdapter = checkNotNull(entityAdapter); this.eventManager = checkNotNull(eventManager); }
Example #23
Source File: MavenUpgrade_1_1.java From nexus-public with Eclipse Public License 1.0 | 5 votes |
@Inject public MavenUpgrade_1_1( @Named(DatabaseInstanceNames.CONFIG) final Provider<DatabaseInstance> configDatabaseInstance, @Named(DatabaseInstanceNames.COMPONENT) final Provider<DatabaseInstance> componentDatabaseInstance) { this.configDatabaseInstance = checkNotNull(configDatabaseInstance); this.componentDatabaseInstance = checkNotNull(componentDatabaseInstance); }
Example #24
Source File: ComponentDatabaseUpgrade_1_10.java From nexus-public with Eclipse Public License 1.0 | 5 votes |
@Inject public ComponentDatabaseUpgrade_1_10( @Named(DatabaseInstanceNames.CONFIG) final Provider<DatabaseInstance> configDatabaseInstance, @Named(DatabaseInstanceNames.COMPONENT) final Provider<DatabaseInstance> componentDatabaseInstance) { this.configDatabaseInstance = checkNotNull(configDatabaseInstance); this.componentDatabaseInstance = checkNotNull(componentDatabaseInstance); }
Example #25
Source File: ComponentDatabaseUpgrade_1_11.java From nexus-public with Eclipse Public License 1.0 | 5 votes |
@Inject public ComponentDatabaseUpgrade_1_11( @Named(DatabaseInstanceNames.CONFIG) final Provider<DatabaseInstance> configDatabaseInstance, @Named(DatabaseInstanceNames.COMPONENT) final Provider<DatabaseInstance> componentDatabaseInstance) { this.configDatabaseInstance = checkNotNull(configDatabaseInstance); this.componentDatabaseInstance = checkNotNull(componentDatabaseInstance); }
Example #26
Source File: OrientCleanupPolicyStorage.java From nexus-public with Eclipse Public License 1.0 | 5 votes |
@Inject public OrientCleanupPolicyStorage( @Named(DatabaseInstanceNames.CONFIG) final Provider<DatabaseInstance> databaseInstance, final OrientCleanupPolicyEntityAdapter entityAdapter) { this.databaseInstance = databaseInstance; this.entityAdapter = entityAdapter; }
Example #27
Source File: OrientStatusHealthCheckStore.java From nexus-public with Eclipse Public License 1.0 | 5 votes |
@Inject public OrientStatusHealthCheckStore( @Named(DatabaseInstanceNames.COMPONENT) final Provider<DatabaseInstance> databaseInstance, final OrientStatusHealthCheckEntityAdapter entityAdapter, final NodeAccess nodeAccess) { this.databaseInstance = checkNotNull(databaseInstance); this.entityAdapter = checkNotNull(entityAdapter); this.nodeAccess = checkNotNull(nodeAccess); }
Example #28
Source File: ComponentDatabaseUpgrade_1_5.java From nexus-public with Eclipse Public License 1.0 | 4 votes |
@Inject public ComponentDatabaseUpgrade_1_5( @Named(DatabaseInstanceNames.COMPONENT) final Provider<DatabaseInstance> componentDatabaseInstance) { this.componentDatabaseInstance = checkNotNull(componentDatabaseInstance); }
Example #29
Source File: SecurityDatabaseUpgrade_1_2.java From nexus-public with Eclipse Public License 1.0 | 4 votes |
@Inject public SecurityDatabaseUpgrade_1_2(@Named(DatabaseInstanceNames.SECURITY) final Provider<DatabaseInstance> securityDatabaseInstance) { this.securityDatabaseInstance = checkNotNull(securityDatabaseInstance); }
Example #30
Source File: SecurityDatabaseUpgrade_1_3.java From nexus-public with Eclipse Public License 1.0 | 4 votes |
@Inject public SecurityDatabaseUpgrade_1_3(@Named( DatabaseInstanceNames.SECURITY) final Provider<DatabaseInstance> securityDatabaseInstance) { this.securityDatabaseInstance = checkNotNull(securityDatabaseInstance); }