本文整理了Java中org.apache.felix.ipojo.Factory.getDescription()
方法的一些代码示例,展示了Factory.getDescription()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Factory.getDescription()
方法的具体详情如下:
包路径:org.apache.felix.ipojo.Factory
类名称:Factory
方法名:getDescription
[英]Gets the component type information containing provided service, configuration properties ...
[中]获取包含提供的服务、配置属性。。。
代码示例来源:origin: org.apache.felix/org.apache.felix.ipojo.composite
/**
* Get the component type information containing provided service, configuration properties ...
* @return the component type information.
* @see org.apache.felix.ipojo.Factory#getDescription()
*/
public Element getDescription() {
return m_delegate.getDescription();
}
代码示例来源:origin: apache/felix
/**
* Get the component type information containing provided service, configuration properties ...
* @return the component type information.
* @see org.apache.felix.ipojo.Factory#getDescription()
*/
public Element getDescription() {
return m_delegate.getDescription();
}
代码示例来源:origin: org.wisdom-framework/wisdom-monitor
/**
* @return the factory raw architecture.
*/
public String getArchitecture() {
return factory.getDescription().toString();
}
代码示例来源:origin: apache/felix
/**
* Prints factory description.
* @param name : factory name
* @param out : default print stream
* @param err : error print stream (if the factory is not found)
*/
private void printFactory(String name, PrintStream out, PrintStream err) {
boolean found = false;
for (int i = 0; i < m_factories.length; i++) {
if (m_factories[i].getName().equalsIgnoreCase(name)) {
// Skip a line if already found
if (found) {
out.println();
}
out.println(m_factories[i].getDescription());
found = true;
}
}
if (! found) {
err.println("Factory " + name + " not found");
}
}
代码示例来源:origin: apache/felix
pw.value(factory.getDescription().toString());
pw.endObject();
pw.endObject();
内容来源于网络,如有侵权,请联系作者删除!