jadex.bridge.service.search.SServiceProvider.getServices()方法的使用及代码示例

x33g5p2x  于2022-01-30 转载在 其他  
字(7.3k)|赞(0)|评价(0)|浏览(130)

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

SServiceProvider.getServices介绍

[英]Get all services of a type.
[中]获取同一类型的所有服务。

代码示例

代码示例来源:origin: org.activecomponents.jadex/jadex-bridge

/**
   *  Get all services of a type.
//     *  (Returns required service proxy).
   *  @param type The class.
   *  @return The corresponding services.
   */
  public static <T> ITerminableIntermediateFuture<T> getServices(IInternalAccess component, Class<T> type, String scope, boolean proxy)
  {
    return getServices(component, type, scope, (IAsyncFilter<T>)null, proxy);
  }

代码示例来源:origin: org.activecomponents.jadex/jadex-bridge

/**
 *  Get all services of a type.
 *  @param type The class.
 *  @return The corresponding services.
 */
public static <T> ITerminableIntermediateFuture<T> getServices(IExternalAccess provider, Class<T> type)
{
  return getServices(provider, type, null);
}

代码示例来源:origin: org.activecomponents.jadex/jadex-bridge

/**
 *  Get all services of a type.
 *  @param type The class.
 *  @return The corresponding services.
 */
public static <T> ITerminableIntermediateFuture<T> getServices(IInternalAccess component, ClassInfo type)
{
  return getServices(component, type, null, true);
}

代码示例来源:origin: org.activecomponents.jadex/jadex-bridge

/**
 *  Get all services of a type.
 *  @param type The class.
 *  @return The corresponding services.
 */
public static <T> ITerminableIntermediateFuture<T> getServices(IInternalAccess component, ClassInfo type, String scope, IAsyncFilter<T> filter)
{
  return getServices(component, type, scope, filter, true);
}

代码示例来源:origin: org.activecomponents.jadex/jadex-bridge

/**
   *  Get all services of a type.
//     *  (Returns required service proxy).
   *  @param type The class.
   *  @return The corresponding services.
   */
  public static <T> ITerminableIntermediateFuture<T> getServices(IInternalAccess component, Class<T> type)
  {
    return getServices(component, type, null, true);
  }

代码示例来源:origin: org.activecomponents.jadex/jadex-bridge

/**
 *  Get all services of a type.
 *  @param type The class.
 *  @return The corresponding services.
 */
public static <T> ITerminableIntermediateFuture<T> getServices(IExternalAccess provider, ClassInfo type)
{
  return getServices(provider, type, null);
}

代码示例来源:origin: net.sourceforge.jadex/jadex-bridge

/**
 *  Get all services of a type.
 *  @param type The class.
 *  @return The corresponding services.
 */
public static <T> ITerminableIntermediateFuture<T> getServices(IServiceProvider provider, Class<T> type, String scope)
{
  return getServices(provider, type, scope, (IRemoteFilter<T>)null);
}

代码示例来源:origin: net.sourceforge.jadex/jadex-bridge

/**
 *  Get all services of a type.
 *  @param type The class.
 *  @return The corresponding services.
 */
public static <T> ITerminableIntermediateFuture<T> getServices(IServiceProvider provider, Class<T> type)
{
  return getServices(provider, type, null);
}

代码示例来源:origin: org.activecomponents.jadex/jadex-bridge

/**
   *  Get all services of a type.
//     *  (Returns required service proxy).
   *  @param type The class.
   *  @return The corresponding services.
   */
  public static <T> ITerminableIntermediateFuture<T> getServices(IInternalAccess component, Class<T> type, String scope)
  {
    return getServices(component, type, scope, (IAsyncFilter<T>)null, true);
  }

代码示例来源:origin: org.activecomponents.jadex/jadex-bridge

/**
 *  Get all services of a type.
 *  @param type The class.
 *  @return The corresponding services.
 */
public static <T> ITerminableIntermediateFuture<T> getServices(IExternalAccess provider, Class<T> type, String scope)
{
  return getServices(provider, type, scope, (IAsyncFilter<T>)null);
}

代码示例来源:origin: org.activecomponents.jadex/jadex-bridge

/**
 *  Get all services of a type.
 *  @param type The class.
 *  @return The corresponding services.
 */
public static <T> ITerminableIntermediateFuture<T> getServices(IInternalAccess component, ClassInfo type, String scope)
{
  return getServices(component, type, scope, (IAsyncFilter<T>)null, true);
}

代码示例来源:origin: org.activecomponents.jadex/jadex-bridge

/**
 *  Get all services of a type.
 *  @param type The class.
 *  @return The corresponding services.
 */
public static <T> ITerminableIntermediateFuture<T> getServices(IInternalAccess component, ClassInfo type, boolean proxy)
{
  return getServices(component, type, null, proxy);
}

代码示例来源:origin: org.activecomponents.jadex/jadex-bridge

/**
 *  Get all services of a type.
 *  @param type The class.
 *  @return The corresponding services.
 */
public static <T> ITerminableIntermediateFuture<T> getServices(IInternalAccess component, ClassInfo type, String scope, boolean proxy)
{
  return getServices(component, type, scope, (IAsyncFilter<T>)null, proxy);
}

代码示例来源:origin: org.activecomponents.jadex/jadex-bridge

/**
 *  Get all services of a type.
 *  @param type The class.
 *  @return The corresponding services.
 */
public static <T> ITerminableIntermediateFuture<T> getServices(IExternalAccess provider, ClassInfo type, String scope)
{
  return getServices(provider, type, scope, (IAsyncFilter<T>)null);
}

代码示例来源:origin: org.activecomponents.jadex/jadex-bridge

/**
   *  Get all services of a type.
//     *  (Returns required service proxy).
   *  @param type The class.
   *  @return The corresponding services.
   */
  public static <T> ITerminableIntermediateFuture<T> getServices(IInternalAccess component, Class<T> type, String scope, IAsyncFilter<T> filter)
  {
    return getServices(component, type, scope, filter, true);
  }

代码示例来源:origin: org.activecomponents.jadex/jadex-bridge

/**
   *  Get all services of a type.
//     *  (Returns required service proxy).
   *  @param type The class.
   *  @return The corresponding services.
   */
  public static <T> ITerminableIntermediateFuture<T> getServices(final IInternalAccess component, final Class<T> type, final String scope, final IAsyncFilter<T> filter, final boolean proxy)
  {
    return getServices(component, component.getComponentIdentifier(), type, scope, filter, proxy);
  }

代码示例来源:origin: org.activecomponents.jadex/jadex-bridge

@Classname("getServices(IExternalAccess provider, final Class<T> type, final String scope, final IAsyncFilter<T> filter)")
  public ITerminableIntermediateFuture<T> execute(IInternalAccess ia)
  {
    return getServices(ia, type, scope, filter);
  }
});

代码示例来源:origin: org.activecomponents.jadex/jadex-bridge

@Classname("getServices(IExternalAccess provider, final Class<T> type, final String scope, final IAsyncFilter<T> filter)")
  public ITerminableIntermediateFuture<T> execute(IInternalAccess ia)
  {
    return getServices(ia, type, scope, filter);
  }
});

代码示例来源:origin: org.activecomponents.jadex/jadex-bridge

/**
 *  Find services by type and tags. Service must have all the tags.
 *  @param component The component.
 *  @param type The service type.
 *  @param scope The search scope.
 *  @param tags The tags.
 *  @return A matching service
 */
public static <T> ITerminableIntermediateFuture<T> getTaggedServices(final IInternalAccess component, Class<T> type, String scope, final String... tags)
{
  return getServices(component, type, scope, new TagFilter<T>(component.getExternalAccess(), tags));
}

代码示例来源:origin: org.activecomponents.jadex/jadex-bridge

/**
 *  Find services by type and tags. Service must have all the tags.
 *  @param component The component.
 *  @param type The service type.
 *  @param scope The search scope.
 *  @param tags The tags.
 *  @return A matching service
 */
public static <T> ITerminableIntermediateFuture<T> getTaggedServices(final IInternalAccess component, ClassInfo type, String scope, final String... tags)
{
  return getServices(component, type, scope, new TagFilter<T>(component.getExternalAccess(), tags));
}

相关文章