Package jmri.jmrit.blockboss
Class BlockBossLogicProvider
- java.lang.Object
-
- jmri.jmrit.blockboss.BlockBossLogicProvider
-
- All Implemented Interfaces:
Disposable
,InstanceManagerAutoDefault
public class BlockBossLogicProvider extends java.lang.Object implements Disposable, InstanceManagerAutoDefault
Provider forBlockBossLogic
objects
-
-
Constructor Summary
Constructors Constructor Description BlockBossLogicProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
dispose()
Called when disposing of a disposable.BlockBossLogic
provide(java.lang.String signalName)
BlockBossLogic
provide(SignalHead signalHead)
java.util.Collection<BlockBossLogic>
provideAll()
void
register(BlockBossLogic blockBossLogic)
void
remove(BlockBossLogic blockBossLogic)
-
-
-
Constructor Detail
-
BlockBossLogicProvider
public BlockBossLogicProvider()
-
-
Method Detail
-
provide
public BlockBossLogic provide(@Nonnull java.lang.String signalName)
-
provide
public BlockBossLogic provide(@Nonnull SignalHead signalHead)
-
register
public void register(BlockBossLogic blockBossLogic)
-
remove
public void remove(BlockBossLogic blockBossLogic)
-
provideAll
public java.util.Collection<BlockBossLogic> provideAll()
-
dispose
public void dispose()
Description copied from interface:Disposable
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.
- Specified by:
dispose
in interfaceDisposable
-
-