Author: vhalbert(a)redhat.com
Date: 2009-04-17 11:15:40 -0400 (Fri, 17 Apr 2009)
New Revision: 791
Modified:
branches/remove_psc/common-internal/src/main/java/com/metamatrix/common/config/CurrentConfiguration.java
Log:
Teiid 323 - refactured, removing unused Config API classes: ProductType and ProductTypeID
related
Modified:
branches/remove_psc/common-internal/src/main/java/com/metamatrix/common/config/CurrentConfiguration.java
===================================================================
---
branches/remove_psc/common-internal/src/main/java/com/metamatrix/common/config/CurrentConfiguration.java 2009-04-16
22:53:44 UTC (rev 790)
+++
branches/remove_psc/common-internal/src/main/java/com/metamatrix/common/config/CurrentConfiguration.java 2009-04-17
15:15:40 UTC (rev 791)
@@ -31,6 +31,7 @@
import java.util.Properties;
import com.metamatrix.common.CommonPlugin;
+import com.metamatrix.common.config.api.ComponentType;
import com.metamatrix.common.config.api.Configuration;
import com.metamatrix.common.config.api.ConfigurationID;
import com.metamatrix.common.config.api.ConfigurationModelContainer;
@@ -287,23 +288,10 @@
* @throws ConfigurationException if an error occurred within or during communication
with the Configuration Service.
* @see com.metamatrix.common.api.ComponentType
*/
- public Collection getComponentTypes(boolean includeDeprecated) throws
ConfigurationException {
+ public Collection<ComponentType> getComponentTypes(boolean includeDeprecated)
throws ConfigurationException {
return getReader().getConfigurationModel().getComponentTypes().values();
}
-
- /**
- * Returns a <code>Collection</code> of type
<code>ProductType</code> that represents
- * all the ComponentTypes defined.
- * @return List of type <code>ProductType</code>
- * @throws ConfigurationException if an error occurred within or during communication
with the Configuration Service.
- * @see #ProductType
- */
- public Collection getProductTypes() throws ConfigurationException {
- Collection c = new ArrayList(1);
- return c;
-// c.add(BasicProductType.PRODUCT_TYPE);
-// return c;
- }
+
/**
* Returns the Host based on the current running machine.
Show replies by date