jmri
Interface InstanceInitializer

Show UML class diagram
All Known Implementing Classes:
DefaultInstanceInitializer

public interface InstanceInitializer

Interface providing initialization of specific objects by default. This is used to move references to specific subtypes out of the jmri package and into e.g. jmri.managers.

Note that this is only needed when the object can't be created with a no-arguments construtor. In that case, the InstanceManagerAutoDefault mechanism is a better choice.

JMRI is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

Since:
2.9.4

Method Summary
<T> Object
getDefault(Class<T> type)
           
 

Method Detail

getDefault

<T> Object getDefault(Class<T> type)


Copyright © 1997-2013 JMRI Community.
JMRI, DecoderPro, PanelPro, SoundPro, DispatcherPro and associated logos are our trademarks.

Additional information on copyright, trademarks and licenses is linked here.
Site hosted by: Get JMRI Model Railroad Interface at SourceForge.net. Fast, secure and Free Open Source software downloads