append(inURN.providerType()). append("_"). //$NON-NLS-1$ append(inURN.providerName()). append(".properties").toString(); //$NON-NLS-1$ Properties p;
/** * Create a new AbstractMarketDataModule instance. * * @param inInstanceURN a <code>ModuleURN</code> value containing the URN of the module * @param inFeed an <code>IMarketDataFeed<T,C></code> value containing the instance of the market data feed that this module wraps */ protected AbstractMarketDataModule(ModuleURN inInstanceURN, MarketDataFeed<T,C> inFeed) { super(inInstanceURN, false); instanceURN = inInstanceURN; feed = inFeed; feedStatus = feed.getFeedStatus(); MBeanNotificationInfo notifyInfo = new MBeanNotificationInfo(new String[] { AttributeChangeNotification.ATTRIBUTE_CHANGE }, AttributeChangeNotification.class.getName(), BEAN_ATTRIBUTE_CHANGED.getText()); mNotificationDelegate = new NotificationBroadcasterSupport(notifyInfo); feed.addFeedComponentListener(new IFeedComponentListener() { @Override public void feedComponentChanged(IFeedComponent inComponent) { setFeedStatus(inComponent.getFeedStatus()); } }); feedsByProviderName.put(inInstanceURN.providerName(), this); } /* (non-Javadoc)
? inRequester.providerType() : inURN.providerType(); String providerName = THIS.equals(inURN.providerName()) ? inRequester.providerName() : inURN.providerName(); String instanceName = THIS.equals(inURN.instanceName()) ? inRequester.instanceName()
boolean noProviderName = inURN.providerName() == null || inURN.providerName().isEmpty(); boolean noInstanceName = inURN.instanceName() == null || inURN.instanceName().isEmpty(); inURN.providerType().equals(i.providerType())) && (noProviderName || inURN.providerName().equals(i.providerName())) && (noInstanceName || inURN.instanceName().equals(i.instanceName()))) {
for(ModuleURN providerUrn : ModuleManager.getInstance().getProviders()) { String providerType = providerUrn.providerType(); String providerName = providerUrn.providerName(); if(providerType.equals("mdata") && !providerName.equals(MarketDataManagerModuleFactory.PROVIDER_NAME)) { for(ModuleURN instanceUrn : ModuleManager.getInstance().getModuleInstances(providerUrn)) {
String provName = inURN.providerName(); if(provName == null) { throw new InvalidURNException(new I18NBoundMessage1P(