mil.dod.th.ose.utils/src/mil/dod/th/ose/utils/SingleComponent.java
public T newInstance(final Dictionary<String, Object> properties)
    {
        // only allow a single instance to be created
        Preconditions.checkState(m_Instance == null);
        
        m_Instance = m_Factory.newInstance(properties);
        @SuppressWarnings("unchecked")
        final T object = (T)m_Instance.getInstance();
        m_Object = object;
        return m_Object;
    }
/**
     * Create a new {@link ComponentInstance} using the associated {@link ComponentFactory}.
     * 
     * @param properties
     *      properties to use for the component passing to {@link ComponentFactory#newInstance(Dictionary)}
     * @return
     *      the object associated with the instance, {@link ComponentInstance#getInstance()}
     */
Create a new  ComponentInstance using the associated  ComponentFactory.

@param properties
properties to use for the component passing to  ComponentFactory#newInstance(Dictionary)
@return
the object associated with the instance,  ComponentInstance#getInstance()
Create a new ComponentInstance using the associated ComponentFactory . @param properties properties to use for the component passing to ComponentFactory#newInstance ( Dictionary ) @return the object associated with the instance ComponentInstance#getInstance ()
public T newInstance(final Dictionary<String, Object> properties)
    {
        Preconditions.checkState(m_Instance == null);
        m_Instance = m_Factory.newInstance(properties);
        @SuppressWarnings("unchecked")
        final T object = (T)m_Instance.getInstance();
        m_Object = object;
        return m_Object;
    }
public T newInstance ( final Dictionary < String , Object > properties ) { Preconditions . checkState ( m_Instance == null ) ; m_Instance = m_Factory . newInstance ( properties ) ; @ SuppressWarnings ( "unchecked" ) final T object = ( T ) m_Instance . getInstance ( ) ; m_Object = object ; return m_Object ; }
Create a new {@link ComponentInstance} using the associated {@link ComponentFactory}.
Create a new { @link ComponentInstance } using the associated { @link ComponentFactory } .
// only allow a single instance to be created