本文整理汇总了Java中org.wso2.carbon.registry.core.service.TenantRegistryLoader类的典型用法代码示例。如果您正苦于以下问题:Java TenantRegistryLoader类的具体用法?Java TenantRegistryLoader怎么用?Java TenantRegistryLoader使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
TenantRegistryLoader类属于org.wso2.carbon.registry.core.service包,在下文中一共展示了TenantRegistryLoader类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Java代码示例。
示例1: setTenantRegistryLoader
import org.wso2.carbon.registry.core.service.TenantRegistryLoader; //导入依赖的package包/类
@Reference(
name = "registry.loader.default",
service = TenantRegistryLoader.class,
cardinality = ReferenceCardinality.MANDATORY,
policy = ReferencePolicy.DYNAMIC,
unbind = "unsetTenantRegistryLoader"
)
protected void setTenantRegistryLoader(TenantRegistryLoader tenantRegistryLoader) {
if (log.isDebugEnabled()) {
log.debug("Tenant Registry Loader is set in the SAML SSO bundle");
}
SecurityServiceHolder.setTenantRegistryLoader(tenantRegistryLoader);
}
开发者ID:wso2,项目名称:carbon-identity-framework,代码行数:14,代码来源:SecurityMgtServiceComponent.java
示例2: setTenantRegistryLoader
import org.wso2.carbon.registry.core.service.TenantRegistryLoader; //导入依赖的package包/类
@Reference(
name = "registry.loader.default",
service = TenantRegistryLoader.class,
cardinality = ReferenceCardinality.MANDATORY,
policy = ReferencePolicy.DYNAMIC,
unbind = "unsetTenantRegistryLoader"
)
protected void setTenantRegistryLoader(TenantRegistryLoader tenantRegistryLoader) {
if (log.isDebugEnabled()) {
log.debug("Tenant Registry Loader is set in the SAML SSO bundle");
}
IdentityTenantUtil.setTenantRegistryLoader(tenantRegistryLoader);
}
开发者ID:wso2,项目名称:carbon-identity-framework,代码行数:14,代码来源:IdentityCoreServiceComponent.java
示例3: loadTenantRegistry
import org.wso2.carbon.registry.core.service.TenantRegistryLoader; //导入依赖的package包/类
public static void loadTenantRegistry() throws APIManagerException {
String tenantDomain = getTenantDomain();
try {
int tenantId = getTenantId(tenantDomain);
TenantRegistryLoader tenantRegistryLoader =
APIApplicationManagerExtensionDataHolder.getInstance().getTenantRegistryLoader();
APIApplicationManagerExtensionDataHolder.getInstance().getIndexLoaderService().loadTenantIndex(tenantId);
tenantRegistryLoader.loadTenantRegistry(tenantId);
} catch (RegistryException e) {
throw new APIManagerException("Error occured while loading registry for tenant '" + tenantDomain + "'");
}
}
开发者ID:wso2,项目名称:carbon-device-mgt,代码行数:13,代码来源:APIManagerUtil.java
示例4: setTenantRegistryLoader
import org.wso2.carbon.registry.core.service.TenantRegistryLoader; //导入依赖的package包/类
/**
* Method to set tenant registry loader
*
* @param tenantRegLoader tenant registry loader
*/
protected void setTenantRegistryLoader(TenantRegistryLoader tenantRegLoader) {
if (log.isDebugEnabled()) {
log.debug("Setting TenantRegistryLoader for WSO2 Enterprise Store migration");
}
ServiceHolder.setTenantRegLoader(tenantRegLoader);
}
开发者ID:wso2,项目名称:product-es,代码行数:12,代码来源:EsMigrationServiceComponent.java
示例5: unsetTenantRegistryLoader
import org.wso2.carbon.registry.core.service.TenantRegistryLoader; //导入依赖的package包/类
/**
* Method to unset tenant registry loader
*
* @param tenantRegLoader tenant registry loader
*/
protected void unsetTenantRegistryLoader(TenantRegistryLoader tenantRegLoader) {
if (log.isDebugEnabled()) {
log.debug("Unset Tenant Registry Loader");//TODO: if debug
}
ServiceHolder.setTenantRegLoader(null);
}
开发者ID:wso2,项目名称:product-es,代码行数:12,代码来源:EsMigrationServiceComponent.java
示例6: getTenantRegistryLoader
import org.wso2.carbon.registry.core.service.TenantRegistryLoader; //导入依赖的package包/类
public static TenantRegistryLoader getTenantRegistryLoader() {
return tenantRegistryLoader;
}
开发者ID:wso2,项目名称:carbon-identity-framework,代码行数:4,代码来源:SecurityServiceHolder.java
示例7: setTenantRegistryLoader
import org.wso2.carbon.registry.core.service.TenantRegistryLoader; //导入依赖的package包/类
public static void setTenantRegistryLoader(TenantRegistryLoader tenantRegistryLoader) {
SecurityServiceHolder.tenantRegistryLoader = tenantRegistryLoader;
}
开发者ID:wso2,项目名称:carbon-identity-framework,代码行数:4,代码来源:SecurityServiceHolder.java
示例8: unsetTenantRegistryLoader
import org.wso2.carbon.registry.core.service.TenantRegistryLoader; //导入依赖的package包/类
protected void unsetTenantRegistryLoader(TenantRegistryLoader tenantRegistryLoader) {
if (log.isDebugEnabled()) {
log.debug("Tenant Registry Loader is unset in the SAML SSO bundle");
}
SecurityServiceHolder.setTenantRegistryLoader(null);
}
开发者ID:wso2,项目名称:carbon-identity-framework,代码行数:7,代码来源:SecurityMgtServiceComponent.java
示例9: unsetTenantRegistryLoader
import org.wso2.carbon.registry.core.service.TenantRegistryLoader; //导入依赖的package包/类
protected void unsetTenantRegistryLoader(TenantRegistryLoader tenantRegistryLoader) {
if (log.isDebugEnabled()) {
log.debug("Tenant Registry Loader is unset in the SAML SSO bundle");
}
IdentityTenantUtil.setTenantRegistryLoader(null);
}
开发者ID:wso2,项目名称:carbon-identity-framework,代码行数:7,代码来源:IdentityCoreServiceComponent.java
示例10: setTenantRegistryLoader
import org.wso2.carbon.registry.core.service.TenantRegistryLoader; //导入依赖的package包/类
public static void setTenantRegistryLoader(TenantRegistryLoader tenantRegistryLoader) {
IdentityTenantUtil.tenantRegistryLoader = tenantRegistryLoader;
}
开发者ID:wso2,项目名称:carbon-identity-framework,代码行数:4,代码来源:IdentityTenantUtil.java
示例11: loadTenantRegistry
import org.wso2.carbon.registry.core.service.TenantRegistryLoader; //导入依赖的package包/类
private static void loadTenantRegistry(int tenantId) throws RegistryException {
TenantRegistryLoader tenantRegistryLoader = AuthenticatorFrameworkDataHolder.getInstance().
getTenantRegistryLoader();
AuthenticatorFrameworkDataHolder.getInstance().getTenantIndexingLoader().loadTenantIndex(tenantId);
tenantRegistryLoader.loadTenantRegistry(tenantId);
}
开发者ID:wso2,项目名称:carbon-device-mgt,代码行数:7,代码来源:JWTAuthenticator.java
示例12: setTenantRegistryLoader
import org.wso2.carbon.registry.core.service.TenantRegistryLoader; //导入依赖的package包/类
public void setTenantRegistryLoader(TenantRegistryLoader tenantRegistryLoader) {
this.tenantRegistryLoader = tenantRegistryLoader;
}
开发者ID:wso2,项目名称:carbon-device-mgt,代码行数:4,代码来源:AuthenticatorFrameworkDataHolder.java
示例13: getTenantRegistryLoader
import org.wso2.carbon.registry.core.service.TenantRegistryLoader; //导入依赖的package包/类
public TenantRegistryLoader getTenantRegistryLoader() {
return tenantRegistryLoader;
}
开发者ID:wso2,项目名称:carbon-device-mgt,代码行数:4,代码来源:AuthenticatorFrameworkDataHolder.java
示例14: setTenantRegistryLoader
import org.wso2.carbon.registry.core.service.TenantRegistryLoader; //导入依赖的package包/类
protected void setTenantRegistryLoader(TenantRegistryLoader tenantRegistryLoader) {
AuthenticatorFrameworkDataHolder.getInstance().setTenantRegistryLoader(tenantRegistryLoader);
}
开发者ID:wso2,项目名称:carbon-device-mgt,代码行数:4,代码来源:WebappAuthenticatorFrameworkServiceComponent.java
示例15: unsetTenantRegistryLoader
import org.wso2.carbon.registry.core.service.TenantRegistryLoader; //导入依赖的package包/类
protected void unsetTenantRegistryLoader(TenantRegistryLoader tenantRegistryLoader) {
AuthenticatorFrameworkDataHolder.getInstance().setTenantRegistryLoader(null);
}
开发者ID:wso2,项目名称:carbon-device-mgt,代码行数:4,代码来源:WebappAuthenticatorFrameworkServiceComponent.java
示例16: setTenantRegistryLoader
import org.wso2.carbon.registry.core.service.TenantRegistryLoader; //导入依赖的package包/类
protected void setTenantRegistryLoader(TenantRegistryLoader tenantRegistryLoader) {
APIApplicationManagerExtensionDataHolder.getInstance().setTenantRegistryLoader(tenantRegistryLoader);
}
开发者ID:wso2,项目名称:carbon-device-mgt,代码行数:4,代码来源:APIApplicationManagerExtensionServiceComponent.java
示例17: unsetTenantRegistryLoader
import org.wso2.carbon.registry.core.service.TenantRegistryLoader; //导入依赖的package包/类
protected void unsetTenantRegistryLoader(TenantRegistryLoader tenantRegistryLoader) {
APIApplicationManagerExtensionDataHolder.getInstance().setTenantRegistryLoader(null);
}
开发者ID:wso2,项目名称:carbon-device-mgt,代码行数:4,代码来源:APIApplicationManagerExtensionServiceComponent.java
示例18: setTenantRegistryLoader
import org.wso2.carbon.registry.core.service.TenantRegistryLoader; //导入依赖的package包/类
public void setTenantRegistryLoader(TenantRegistryLoader tenantRegistryLoader){
this.tenantRegistryLoader = tenantRegistryLoader;
}
开发者ID:wso2,项目名称:carbon-device-mgt,代码行数:4,代码来源:APIApplicationManagerExtensionDataHolder.java
示例19: getTenantRegistryLoader
import org.wso2.carbon.registry.core.service.TenantRegistryLoader; //导入依赖的package包/类
public TenantRegistryLoader getTenantRegistryLoader(){
return tenantRegistryLoader;
}
开发者ID:wso2,项目名称:carbon-device-mgt,代码行数:4,代码来源:APIApplicationManagerExtensionDataHolder.java
示例20: setTenantRegistryLoader
import org.wso2.carbon.registry.core.service.TenantRegistryLoader; //导入依赖的package包/类
protected void setTenantRegistryLoader(TenantRegistryLoader tenantRegistryLoader) {
JWTClientExtensionDataHolder.getInstance().setTenantRegistryLoader(tenantRegistryLoader);
}
开发者ID:wso2,项目名称:carbon-device-mgt,代码行数:4,代码来源:JWTClientExtensionServiceComponent.java
注:本文中的org.wso2.carbon.registry.core.service.TenantRegistryLoader类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论