public static interface ServiceRegistry.Filter
ServiceRegistry.getServiceProviders
用来选择匹配一个任意的标准提供了一个简单的过滤器接口。实现此接口的类应该定义为利用的
ServiceRegistry
需要
Filter
的
getServiceProviders
方法。
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.