-
- 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
public static interface Closable.CloseAutomaton extends Closable, ClosedAccessor
TheClosable.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 theInitializable.InitializeAutomaton
interface. To clarify the context regarding connections, theClosable.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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
isClosable()
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.
-
-