public class DataSourcePoolMetadataProviders extends Object implements DataSourcePoolMetadataProvider
DataSourcePoolMetadataProvider
implementation that returns the first
DataSourcePoolMetadata
that is found by one of its delegate.Constructor and Description |
---|
DataSourcePoolMetadataProviders(Collection<? extends DataSourcePoolMetadataProvider> providers)
Create a
DataSourcePoolMetadataProviders instance with an initial
collection of delegates to use. |
Modifier and Type | Method and Description |
---|---|
DataSourcePoolMetadata |
getDataSourcePoolMetadata(DataSource dataSource)
Return the
DataSourcePoolMetadata instance able to manage the specified
DataSource or null if the given data source could not be handled. |
public DataSourcePoolMetadataProviders(Collection<? extends DataSourcePoolMetadataProvider> providers)
DataSourcePoolMetadataProviders
instance with an initial
collection of delegates to use.public DataSourcePoolMetadata getDataSourcePoolMetadata(DataSource dataSource)
DataSourcePoolMetadataProvider
DataSourcePoolMetadata
instance able to manage the specified
DataSource
or null
if the given data source could not be handled.getDataSourcePoolMetadata
in interface DataSourcePoolMetadataProvider
Copyright © 2015 Pivotal Software, Inc.. All rights reserved.