}
protected PositionSource initUnderlying(final ComponentRepository repo, final LinkedHashMap<String, String> configuration) {
PositionSource source = new MasterPositionSource(getUnderlyingPortfolioMaster(), getUnderlyingPositionMaster());
if (getCacheManager() != null) {
source = new EHCachingPositionSource(source, getCacheManager());
}
if (getUnderlyingClassifier() != null) {
final ComponentInfo info = new ComponentInfo(PositionSource.class, getUnderlyingClassifier());
info.addAttribute(ComponentInfoAttributes.LEVEL, 1);
info.addAttribute(ComponentInfoAttributes.REMOTE_CLIENT_JAVA, RemotePositionSource.class);