org.apache.felix.ipojo.Factory.getMissingHandlers()方法的使用及代码示例

x33g5p2x  于2022-01-19 转载在 其他  
字(1.6k)|赞(0)|评价(0)|浏览(151)

本文整理了Java中org.apache.felix.ipojo.Factory.getMissingHandlers()方法的一些代码示例,展示了Factory.getMissingHandlers()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Factory.getMissingHandlers()方法的具体详情如下:
包路径:org.apache.felix.ipojo.Factory
类名称:Factory
方法名:getMissingHandlers

Factory.getMissingHandlers介绍

[英]Gets the list of missing handlers. The handlers are given under the form namespace:name
[中]获取缺少的处理程序的列表。处理程序的形式为namespace:name

代码示例

代码示例来源:origin: org.apache.felix/org.apache.felix.ipojo.composite

public List getMissingHandlers() {
  return m_delegate.getMissingHandlers();
}

代码示例来源:origin: apache/felix

public List getMissingHandlers() {
  return m_delegate.getMissingHandlers();
}

代码示例来源:origin: apache/felix

/**
 * Prints factories.
 * @param out : output stream
 */
private void printFactories(PrintStream out) {
  for (int i = 0; i < m_factories.length; i++) {
    if (m_factories[i].getMissingHandlers().size() == 0) {
      out.println("Factory " + m_factories[i].getName() + " (VALID)");
    } else {
      out.println("Factory " + m_factories[i].getName() + " (INVALID : " + m_factories[i].getMissingHandlers() + ")");
    }
  }
}

代码示例来源:origin: apache/felix

StringBuilder buffer = new StringBuilder();
for (Factory m_factory : m_factories) {
  if (m_factory.getMissingHandlers().size() == 0) {
    buffer.append(format("Factory %s (VALID)%n", m_factory.getName()));
  } else {
    buffer.append(format("Factory %s (INVALID: %s)%n",
        m_factory.getName(),
        m_factory.getMissingHandlers()));

代码示例来源:origin: apache/felix

if (! factory.getMissingHandlers().isEmpty()) {
  pw.key("missingHandlers");
  pw.value(factory.getMissingHandlers());

相关文章