Package jmri
Interface Disposable
- All Known Implementing Classes:
AcelaSystemConnectionMemo
,AnymaDMX_SystemConnectionMemo
,BlockBossLogicProvider
,CanSystemConnectionMemo
,CMRISystemConnectionMemo
,ConcentratorSystemConnectionMemo
,ConflictingSystemConnectionMemo
,Dcc4PcSystemConnectionMemo
,DCCppSystemConnectionMemo
,DefaultIdTagManager
,DefaultRailComManager
,DefaultSystemConnectionMemo
,DirectSystemConnectionMemo
,EasyDccSystemConnectionMemo
,EcosSystemConnectionMemo
,EliteXNetSystemConnectionMemo
,GrapevineSystemConnectionMemo
,HexFileSystemConnectionMemo
,IEEE802154SystemConnectionMemo
,InternalSystemConnectionMemo
,IpocsSystemConnectionMemo
,JMRIClientSystemConnectionMemo
,LocoNetSystemConnectionMemo
,MapleSystemConnectionMemo
,MarklinSystemConnectionMemo
,MqttSystemConnectionMemo
,MrcSystemConnectionMemo
,Mx1SystemConnectionMemo
,NceSystemConnectionMemo
,OakTreeSystemConnectionMemo
,OlcbSystemConnectionMemo
,PR2SystemConnectionMemo
,PR3SystemConnectionMemo
,PR4SystemConnectionMemo
,QsiSystemConnectionMemo
,RaspberryPiSystemConnectionMemo
,RfidSystemConnectionMemo
,RpsSystemConnectionMemo
,SecsiSystemConnectionMemo
,SerialSystemConnectionMemo
,SerialSystemConnectionMemo
,Setup
,SpecificSystemConnectionMemo
,SpecificSystemConnectionMemo
,SpecificSystemConnectionMemo
,SpecificSystemConnectionMemo
,SpeedoSystemConnectionMemo
,SprogSystemConnectionMemo
,SRCPBusConnectionMemo
,SRCPSystemConnectionMemo
,StandaloneSystemConnectionMemo
,StartupActionModelUtil
,TamsSystemConnectionMemo
,TmccSystemConnectionMemo
,TranspondingTagManager
,UhlenbrockSystemConnectionMemo
,UsbDcs240SystemConnectionMemo
,UsbDcs52SystemConnectionMemo
,XBeeConnectionMemo
,XNetSystemConnectionMemo
,XpaSystemConnectionMemo
,Z21SystemConnectionMemo
,ZeroConfServiceManager
public interface Disposable
Interface that indicates that a class has a
dispose()
method that
can be called without arguments.
Notably, when classes with this method are removed from the
InstanceManager
, this method is called on those classes to allow
them to take any required actions when removed from the InstanceManager.
-
Method Summary
Modifier and Type Method Description void
dispose()
Called when disposing of a disposable.
-
Method Details
-
dispose
void dispose()Called when disposing of a disposable.Note there are no assurances this method will not be called multiple times against a single instance of this Disposable. It is the responsibility of this Disposable to protect itself and the application from ensuring that calling this method multiple times has no unwanted side effects.
-