public static Filter getFilterForLocation ( Class < ? > clazz , String location ) throws IllegalArgumentException { return getFilterForLocation ( clazz , location , ContextHolder . get ( ) . getCurrentContextId ( ) ) ; }
returns a filter that matches services with the given class and location in both the current context and the root - context