- 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,LinkAutomatonImpl
- Enclosing interface:
- Closable
The
Closable.CloseAutomaton interface defines those methods related to the
closing of connection(s) life-cycle. The semantics of this interface is
very similar to that of the Initializable.InitializeAutomaton interface. To
clarify the context regarding connections, the Closable.CloseAutomaton
interface 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
Modifier and TypeMethodDescriptionbooleanDetermines whether the component's connection(s) may get closed.Methods inherited from interface org.refcodes.component.Closable
close, closeIn, closeQuietly, closeUncheckedMethods inherited from interface org.refcodes.component.ClosedAccessor
isClosed
-
Method Details
-
isClosable
boolean isClosable()Determines whether the component's connection(s) may get closed.- Returns:
- True if
Closable.close()is possible.
-