- All Superinterfaces:
Closable
,Closable.CloseAutomaton
,ClosedAccessor
,ConnectionStatusAccessor
,LinkComponent
,Openable
,Openable.OpenAutomaton
,OpenedAccessor
- All Known Implementing Classes:
AbstractDeviceAutomaton
,LinkAutomatonImpl
- Enclosing interface:
- LinkComponent
public static interface LinkComponent.LinkAutomaton
extends LinkComponent, Openable.OpenAutomaton, Closable.CloseAutomaton, ConnectionStatusAccessor
A system implementing the
LinkComponent.LinkAutomaton
interface supports
managing LinkComponent
instances and takes care that the
open/close statuses are invoked in the correct order by throwing
according exceptions in case the open/close-cycle is invoked in the wrong
order. A LinkComponent.LinkAutomaton
may be used to wrap a
LinkComponent
by a LinkComponentHandle.LinkAutomatonHandle
for managing
LinkComponent.LinkAutomaton
instances. The LinkComponent
contains the
business-logic where as the LinkComponentHandle.LinkAutomatonHandle
provides the
frame for managing this business-logic. The LinkComponent.LinkAutomaton
takes
care of the correct open/close-cycle applied on a LinkComponent
.-
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
Nested classes/interfaces inherited from interface org.refcodes.component.ConnectionStatusAccessor
ConnectionStatusAccessor.ConnectionStatusMutator, ConnectionStatusAccessor.ConnectionStatusProperty
Nested classes/interfaces inherited from interface org.refcodes.component.LinkComponent
LinkComponent.LinkAutomaton, LinkComponent.LinkComponentBuilder<B extends LinkComponent.LinkComponentBuilder<B>>
Nested classes/interfaces inherited from interface org.refcodes.component.Openable
Openable.OpenAutomaton, Openable.OpenBuilder<B extends Openable.OpenBuilder<B>>
Nested classes/interfaces inherited from interface org.refcodes.component.OpenedAccessor
OpenedAccessor.OpenedMutator, OpenedAccessor.OpenedProperty
-
Method Summary
Methods inherited from interface org.refcodes.component.Closable
close, closeIn, closeQuietly, closeUnchecked
Methods inherited from interface org.refcodes.component.Closable.CloseAutomaton
isClosable
Methods inherited from interface org.refcodes.component.ClosedAccessor
isClosed
Methods inherited from interface org.refcodes.component.ConnectionStatusAccessor
getConnectionStatus, isOpened
Methods inherited from interface org.refcodes.component.Openable
open, openUnchecked
Methods inherited from interface org.refcodes.component.Openable.OpenAutomaton
isOpenable