/** * Add a service query to the registry. * @param type The service type. * @param scope The scope. * @param filter The filter. */ public static <T> ISubscriptionIntermediateFuture<T> addQuery(final IInternalAccess component, Class<T> type, String scope, IAsyncFilter<T> filter) { return addQuery(component.getComponentIdentifier(), type, scope, filter); }
/** * Add a service query to the registry. * @param type The service type. * @param scope The scope. * @param filter The filter. */ public static <T> ISubscriptionIntermediateFuture<T> addQuery(final IExternalAccess component, Class<T> type, String scope, IAsyncFilter<T> filter) { return addQuery(component.getComponentIdentifier(), type, scope, filter); }
ISubscriptionIntermediateFuture<Object> sfut = SServiceProvider.addQuery(getComponent(), (Class<Object>)info.getType().getType(getComponent().getClassLoader()), info.getDefaultBinding().getScope(), tagfil);