Package jmri
Interface Disposable
-
- All Known Subinterfaces:
AddressedProgrammer
,Programmer
,SignalHeadManager
- All Known Implementing Classes:
AbstractCabSignalManager
,AbstractProgrammer
,AbstractProgrammerFacade
,AbstractSignalHeadManager
,AccessoryOpsModeProgrammerFacade
,AcelaSystemConnectionMemo
,AddressedHighCvProgrammerFacade
,AnymaDMX_SystemConnectionMemo
,BiDiBOpsModeProgrammer
,BiDiBProgrammer
,BiDiBSystemConnectionMemo
,BlockBossLogicProvider
,CanSystemConnectionMemo
,CaptiveSystemConnectionMemo
,CbusCabSignalManager
,CbusClockControl
,CbusConfigurationManager
,CbusDccOpsModeProgrammer
,CbusDccProgrammer
,CbusEventTableDataModel
,CbusNodeTableDataModel
,CbusPowerManager
,CbusPredefinedMeters
,CbusSimulator
,CbusSlotMonitorDataModel
,CbusThrottleManager
,CdBSystemConnectionMemo
,CMRISystemConnectionMemo
,Dcc4PcOpsModeProgrammer
,Dcc4PcSystemConnectionMemo
,DCCppOpsModeProgrammer
,DCCppProgrammer
,DCCppSystemConnectionMemo
,DefaultCabSignalManager
,DefaultIdTagManager
,DefaultRailComManager
,DefaultSystemConnectionMemo
,DirectSystemConnectionMemo
,EasyDccOpsModeProgrammer
,EasyDccProgrammer
,EasyDccSystemConnectionMemo
,EcosOpsModeProgrammer
,EcosProgrammer
,EcosSystemConnectionMemo
,EliteXNetProgrammer
,EliteXNetSystemConnectionMemo
,GrapevineSystemConnectionMemo
,HexFileSystemConnectionMemo
,IEEE802154SystemConnectionMemo
,InternalSystemConnectionMemo
,IpocsSystemConnectionMemo
,JMRIClientSystemConnectionMemo
,LI100XNetProgrammer
,LnCabSignalManager
,LnDeferProgrammer
,LnOpsModeProgrammer
,LocoNetSystemConnectionMemo
,MapleSystemConnectionMemo
,MarklinSystemConnectionMemo
,MqttSystemConnectionMemo
,MrcOpsModeProgrammer
,MrcProgrammer
,MrcSystemConnectionMemo
,MultiIndexProgrammerFacade
,Mx1OpsModeProgrammer
,Mx1Programmer
,Mx1SystemConnectionMemo
,NceOpsModeProgrammer
,NceProgrammer
,NceSystemConnectionMemo
,OakTreeSystemConnectionMemo
,OffsetHighCvProgrammerFacade
,OlcbProgrammer
,OpsModeDelayedProgrammerFacade
,PR2SystemConnectionMemo
,PR3SystemConnectionMemo
,PR4SystemConnectionMemo
,ProgDebugger
,QsiProgrammer
,QsiSystemConnectionMemo
,RaspberryPiSystemConnectionMemo
,ResettingOffsetHighCvProgrammerFacade
,RfidSystemConnectionMemo
,RpsSystemConnectionMemo
,SecsiSystemConnectionMemo
,SerialSystemConnectionMemo
,SerialSystemConnectionMemo
,Setup
,SlotManager
,SpecificSystemConnectionMemo
,SpecificSystemConnectionMemo
,SpecificSystemConnectionMemo
,SpecificSystemConnectionMemo
,SpecificSystemConnectionMemo
,SpeedoSystemConnectionMemo
,SprogOpsModeProgrammer
,SprogProgrammer
,SprogSystemConnectionMemo
,SRCPBusConnectionMemo
,SRCPProgrammer
,SRCPSystemConnectionMemo
,StartupActionModelUtil
,TamsOpsModeProgrammer
,TamsProgrammer
,TamsSystemConnectionMemo
,TmccSystemConnectionMemo
,TranspondingTagManager
,TwoIndexTcsProgrammerFacade
,UhlenbrockSlotManager
,UhlenbrockSystemConnectionMemo
,UsbDcs210PlusSystemConnectionMemo
,UsbDcs240PlusSystemConnectionMemo
,UsbDcs240SystemConnectionMemo
,UsbDcs52SystemConnectionMemo
,VerifyWriteProgrammerFacade
,XBeeConnectionMemo
,XNetOpsModeProgrammer
,XNetProgrammer
,XNetSystemConnectionMemo
,XpaSystemConnectionMemo
,Z21SystemConnectionMemo
,Z21XNetOpsModeProgrammer
,Z21XNetProgrammer
,ZeroConfServiceManager
public interface Disposable
Interface that indicates that a class has adispose()
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.There are no assurances this method will not be called multiple times.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
dispose()
Called when disposing of a disposable.
-
-
-
Method Detail
-
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.
-
-