本文整理汇总了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;
}
示例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);
}
示例3: setLightblueFactory
import com.redhat.lightblue.config.LightblueFactory; //导入依赖的package包/类
@Override
public void setLightblueFactory(LightblueFactory lightblueFactory) {
synchronized (this) {
this.lightblueFactory = lightblueFactory;
}
}
示例4: setLightblueFactory
import com.redhat.lightblue.config.LightblueFactory; //导入依赖的package包/类
@Override
public void setLightblueFactory(LightblueFactory factory) {
lightblueFactory = factory;
}
示例5: setFactory
import com.redhat.lightblue.config.LightblueFactory; //导入依赖的package包/类
public static void setFactory(LightblueFactory f) {
factory = f;
}
示例6: setLightblueFactory
import com.redhat.lightblue.config.LightblueFactory; //导入依赖的package包/类
@Override
public void setLightblueFactory(LightblueFactory lightblueFactory) {
this.lightblueFactory = lightblueFactory;
}
示例7: getLightblueFactory
import com.redhat.lightblue.config.LightblueFactory; //导入依赖的package包/类
/**
* @return the lightblueFactory
*/
protected static LightblueFactory getLightblueFactory() {
return lightblueFactory;
}