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.