1 package com.atlassian.activeobjects.internal;
2
3
4 /**
5 * Resolves the {@link DataSourceType data source type} given a plugin key. The way
6 * data source types are configured per plugin is implementation dependant.
7 */
8 public interface DataSourceTypeResolver {
9 /**
10 * Will return a configured {@link com.atlassian.activeobjects.internal.DataSourceType} for
11 * the given plugin key
12 *
13 * @param prefix
14 * @return a <em>non-{@code null}</em> DataSourceType, if none is 'configured' then a default
15 * shoud be provided.
16 */
17 DataSourceType getDataSourceType(Prefix prefix);
18 }