mil.dod.th.ose.core/src/mil/dod/th/ose/core/factory/impl/FactoryServiceContextImpl.java
private void tryDisposeFactory(final String productType)
        {
            try
            {
                final ComponentInstance comp = m_FactoryComponents.remove(productType);
                if (comp != null)
                {
                    comp.dispose();
                }
            }
            catch (final Exception e)
            {
                m_Logging.error(e, "Unable to dispose of factory component instance with product type [%s]", 
                        productType);
            }
        }
/**
         * Attempts to dispose of the factory component instance for the factory with the specified product type. This
         * method will catch and log any exception thrown.
         * 
         * @param productType
         *      The product type of the factory who's factory component instance should be disposed of.
         */
Attempts to dispose of the factory component instance for the factory with the specified product type. This
method will catch and log any exception thrown.

@param productType
The product type of the factory who's factory component instance should be disposed of.
Attempts to dispose of the factory component instance for the factory with the specified product type . This method will catch and log any exception thrown . @param productType The product type of the factory who ' s factory component instance should be disposed of .
private void tryDisposeFactory(final String productType)
        {
            try
            {
                final ComponentInstance comp = m_FactoryComponents.remove(productType);
                if (comp != null)
                {
                    comp.dispose();
                }
            }
            catch (final Exception e)
            {
                m_Logging.error(e, "Unable to dispose of factory component instance with product type [%s]", 
                        productType);
            }
        }
private void tryDisposeFactory ( final String productType ) { try { final ComponentInstance comp = m_FactoryComponents . remove ( productType ) ; if ( comp != null ) { comp . dispose ( ) ; } } catch ( final Exception e ) { m_Logging . error ( e , "Unable to dispose of factory component instance with product type [%s]" , productType ) ; } }
Attempts to dispose of the factory component instance for the factory with the specified product type.
Attempts to dispose of the factory component instance for the factory with the specified product type .