當前位置: 首頁>>代碼示例>>Java>>正文


Java ObjectProvider.getObject方法代碼示例

本文整理匯總了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();
}
 
開發者ID:vpavic,項目名稱:simple-openid-provider,代碼行數:17,代碼來源:CoreConfiguration.java

示例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();
}
 
開發者ID:vpavic,項目名稱:simple-openid-provider,代碼行數:10,代碼來源:OAuth2Configuration.java

示例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();
}
 
開發者ID:vpavic,項目名稱:simple-openid-provider,代碼行數:7,代碼來源:SessionConfiguration.java

示例4: DiscoveryConfiguration

import org.springframework.beans.factory.ObjectProvider; //導入方法依賴的package包/類
public DiscoveryConfiguration(OpenIdProviderProperties properties, ObjectProvider<JwkSetLoader> jwkSetLoader) {
	this.properties = properties;
	this.jwkSetLoader = jwkSetLoader.getObject();
}
 
開發者ID:vpavic,項目名稱:simple-openid-provider,代碼行數:5,代碼來源:DiscoveryConfiguration.java

示例5: ClientRegistrationConfiguration

import org.springframework.beans.factory.ObjectProvider; //導入方法依賴的package包/類
public ClientRegistrationConfiguration(OpenIdProviderProperties properties,
		ObjectProvider<ClientRepository> clientRepository) {
	this.properties = properties;
	this.clientRepository = clientRepository.getObject();
}
 
開發者ID:vpavic,項目名稱:simple-openid-provider,代碼行數:6,代碼來源:ClientRegistrationConfiguration.java

示例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();
}
 
開發者ID:vpavic,項目名稱:simple-openid-provider,代碼行數:7,代碼來源:LogoutConfiguration.java


注:本文中的org.springframework.beans.factory.ObjectProvider.getObject方法示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。