Package org.refcodes.component
Interface Closable.CloseAutomaton
-
- All Superinterfaces:
Closable,ClosedAccessor
- All Known Subinterfaces:
BidirectionalConnectionComponent.BidirectionalConnectionAutomaton<INPUT,OUTPUT>,ConnectableComponent.ConnectableAutomaton,ConnectionComponent.ConnectionAutomaton<CON>,LinkComponent.LinkAutomaton
- All Known Implementing Classes:
AbstractConnectableAutomaton,AbstractDeviceAutomaton,ConnectionAutomatonImpl,DeviceAutomatonImpl
- Enclosing interface:
- Closable
public static interface Closable.CloseAutomaton extends Closable, ClosedAccessor
TheClosable.CloseAutomatoninterface defines those methods related to the closing of connection(s) life-cycle. The semantics of this interface is very similar to that of theInitializable.InitializeAutomatoninterface. To clarify the context regarding connections, theClosable.CloseAutomatoninterface has been introduced.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.refcodes.component.Closable
Closable.CloseAutomaton, Closable.CloseBuilder<B extends Closable.CloseBuilder<B>>
-
Nested classes/interfaces inherited from interface org.refcodes.component.ClosedAccessor
ClosedAccessor.ClosedMutator, ClosedAccessor.ClosedProperty
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanisClosable()Determines whether the component's connection(s) may get closed.-
Methods inherited from interface org.refcodes.component.Closable
close, closeIn, closeQuietly, closeUnchecked
-
Methods inherited from interface org.refcodes.component.ClosedAccessor
isClosed
-
-
-
-
Method Detail
-
isClosable
boolean isClosable()
Determines whether the component's connection(s) may get closed.- Returns:
- True if
Closable.close()is possible.
-
-