当前位置: 首页>>代码示例>>Java>>正文


Java LightblueFactory类代码示例

本文整理汇总了Java中com.redhat.lightblue.config.LightblueFactory的典型用法代码示例。如果您正苦于以下问题:Java LightblueFactory类的具体用法?Java LightblueFactory怎么用?Java LightblueFactory使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。


LightblueFactory类属于com.redhat.lightblue.config包,在下文中一共展示了LightblueFactory类的7个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: getFactory

import com.redhat.lightblue.config.LightblueFactory; //导入依赖的package包/类
public static LightblueFactory getFactory() {
    LightblueFactory f = factory;
    if (f == null) {
        return getFactory(loadDefaultPlugins());
    }
    return f;
}
 
开发者ID:lightblue-platform,项目名称:lightblue-rest,代码行数:8,代码来源:RestConfiguration.java

示例2: setup

import com.redhat.lightblue.config.LightblueFactory; //导入依赖的package包/类
@Before
public void setup() throws Exception {
    super.setup();
    JsonNode datasources = loadJsonNode("./datasources.json");
    DataSourcesConfiguration dscfg = new DataSourcesConfiguration(datasources);
    JsonNode crudnode = loadJsonNode("./lightblue-crud.json");
    JsonNode mdnode = loadJsonNode("./lightblue-metadata.json");
    lbfactory = new LightblueFactory(dscfg, crudnode, mdnode);
}
 
开发者ID:lightblue-platform,项目名称:lightblue-mongo,代码行数:10,代码来源:LockingSupportTest.java

示例3: setLightblueFactory

import com.redhat.lightblue.config.LightblueFactory; //导入依赖的package包/类
@Override
public void setLightblueFactory(LightblueFactory lightblueFactory) {
    synchronized (this) {
        this.lightblueFactory = lightblueFactory;
    }
}
 
开发者ID:esbtools,项目名称:lightblue-notification-hook,代码行数:7,代码来源:NotificationHook.java

示例4: setLightblueFactory

import com.redhat.lightblue.config.LightblueFactory; //导入依赖的package包/类
@Override
public void setLightblueFactory(LightblueFactory factory) {
    lightblueFactory = factory;
}
 
开发者ID:lightblue-platform,项目名称:lightblue-esb-hook,代码行数:5,代码来源:PublishHook.java

示例5: setFactory

import com.redhat.lightblue.config.LightblueFactory; //导入依赖的package包/类
public static void setFactory(LightblueFactory f) {
    factory = f;
}
 
开发者ID:lightblue-platform,项目名称:lightblue-rest,代码行数:4,代码来源:RestConfiguration.java

示例6: setLightblueFactory

import com.redhat.lightblue.config.LightblueFactory; //导入依赖的package包/类
@Override
public void setLightblueFactory(LightblueFactory lightblueFactory) {
    this.lightblueFactory = lightblueFactory;
}
 
开发者ID:lightblue-platform,项目名称:lightblue-audit-hook,代码行数:5,代码来源:AuditHook.java

示例7: getLightblueFactory

import com.redhat.lightblue.config.LightblueFactory; //导入依赖的package包/类
/**
 * @return the lightblueFactory
 */
protected static LightblueFactory getLightblueFactory() {
    return lightblueFactory;
}
 
开发者ID:lightblue-platform,项目名称:lightblue-core,代码行数:7,代码来源:LightblueTestHarness.java


注:本文中的com.redhat.lightblue.config.LightblueFactory类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。