本文整理匯總了Java中org.springframework.beans.factory.ObjectProvider.getObject方法的典型用法代碼示例。如果您正苦於以下問題:Java ObjectProvider.getObject方法的具體用法?Java ObjectProvider.getObject怎麽用?Java ObjectProvider.getObject使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類org.springframework.beans.factory.ObjectProvider
的用法示例。
在下文中一共展示了ObjectProvider.getObject方法的6個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Java代碼示例。
示例1: CoreConfiguration
import org.springframework.beans.factory.ObjectProvider; //導入方法依賴的package包/類
public CoreConfiguration(OpenIdProviderProperties properties, ObjectProvider<ClientRepository> clientRepository,
ObjectProvider<JwkSetLoader> jwkSetLoader,
ObjectProvider<AuthorizationCodeService> authorizationCodeService,
ObjectProvider<RefreshTokenStore> refreshTokenStore, ObjectProvider<ClaimSource> claimSource,
ObjectProvider<SubjectResolver> subjectResolver, ObjectProvider<ScopeResolver> scopeResolver,
ObjectProvider<PasswordAuthenticationHandler> passwordAuthenticationHandler) {
this.properties = properties;
this.clientRepository = clientRepository.getObject();
this.jwkSetLoader = jwkSetLoader.getObject();
this.authorizationCodeService = authorizationCodeService.getObject();
this.refreshTokenStore = refreshTokenStore.getObject();
this.claimSource = claimSource.getObject();
this.subjectResolver = subjectResolver.getObject();
this.scopeResolver = scopeResolver.getObject();
this.passwordAuthenticationHandler = passwordAuthenticationHandler.getObject();
}
示例2: OAuth2Configuration
import org.springframework.beans.factory.ObjectProvider; //導入方法依賴的package包/類
public OAuth2Configuration(ResourceLoader resourceLoader, OpenIdProviderProperties properties,
ObjectProvider<JdbcOperations> jdbcOperations, ObjectProvider<AuthenticationManager> authenticationManager,
ObjectProvider<HazelcastInstance> hazelcastInstance) {
this.resourceLoader = resourceLoader;
this.properties = properties;
this.jdbcOperations = jdbcOperations.getObject();
this.authenticationManager = authenticationManager.getObject();
this.hazelcastInstance = hazelcastInstance.getObject();
}
示例3: SessionConfiguration
import org.springframework.beans.factory.ObjectProvider; //導入方法依賴的package包/類
public SessionConfiguration(ServerProperties serverProperties, HazelcastSessionProperties sessionProperties,
ObjectProvider<HazelcastInstance> hazelcastInstance) {
this.sessionCookieProperties = serverProperties.getSession().getCookie();
this.sessionProperties = sessionProperties;
this.hazelcastInstance = hazelcastInstance.getObject();
}
示例4: DiscoveryConfiguration
import org.springframework.beans.factory.ObjectProvider; //導入方法依賴的package包/類
public DiscoveryConfiguration(OpenIdProviderProperties properties, ObjectProvider<JwkSetLoader> jwkSetLoader) {
this.properties = properties;
this.jwkSetLoader = jwkSetLoader.getObject();
}
示例5: ClientRegistrationConfiguration
import org.springframework.beans.factory.ObjectProvider; //導入方法依賴的package包/類
public ClientRegistrationConfiguration(OpenIdProviderProperties properties,
ObjectProvider<ClientRepository> clientRepository) {
this.properties = properties;
this.clientRepository = clientRepository.getObject();
}
示例6: LogoutConfiguration
import org.springframework.beans.factory.ObjectProvider; //導入方法依賴的package包/類
public LogoutConfiguration(ServerProperties serverProperties, OpenIdProviderProperties providerProperties,
ObjectProvider<ClientRepository> clientRepository) {
this.serverProperties = serverProperties;
this.providerProperties = providerProperties;
this.clientRepository = clientRepository.getObject();
}