public static interface ServiceRegistry.Filter
ServiceRegistry.getServiceProviders
选择提供商任意条件匹配的。
实现此接口的类应以利用来定义getServiceProviders
的方法ServiceRegistry
,需要一个Filter
。
boolean filter(Object provider)
true
如果给定
provider
对象通过这个定义的标准匹配
Filter
。
provider
- 服务提供商
Object
。
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.