Module org.refcodes.component
Package org.refcodes.component
Interface ConnectionComponentHandle.ConnectionAutomatonHandle<H,CON>
- Type Parameters:
H
- The type of the handle.CON
- The connection used to open the referenced instance.
- All Superinterfaces:
ClosableHandle<H>
,ConnectionComponentHandle<H,
,CON> ConnectionOpenableHandle<H,
,CON> ConnectionStatusHandle<H>
- Enclosing interface:
- ConnectionComponentHandle<H,
CON>
public static interface ConnectionComponentHandle.ConnectionAutomatonHandle<H,CON>
extends ConnectionComponentHandle<H,CON>, ConnectionOpenableHandle<H,CON>, ClosableHandle<H>, ConnectionStatusHandle<H>
The
ConnectionComponentHandle.ConnectionAutomatonHandle
is an automaton managing various
ConnectionStatus
states for ConnectionComponent
instances
each related to a handle. Operations manipulating on the
ConnectionStatus
are invoked by this
ConnectionComponentHandle.ConnectionAutomatonHandle
with a handle identifying the according
referenced ConnectionComponent
. The ConnectionComponent
contains the business-logic where as the
ConnectionComponentHandle.ConnectionAutomatonHandle
provides the frame for managing this
business-logic. The ConnectionComponentHandle.ConnectionAutomatonHandle
takes care of the
correct life-cycle applied on a ConnectionComponent
.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.refcodes.component.ClosableHandle
ClosableHandle.CloseAutomatonHandle<H>
Nested classes/interfaces inherited from interface org.refcodes.component.ConnectionComponentHandle
ConnectionComponentHandle.ConnectionAutomatonHandle<H,
CON> Nested classes/interfaces inherited from interface org.refcodes.component.ConnectionOpenableHandle
ConnectionOpenableHandle.ConnectionOpenAutomatonHandle<H,
CON> -
Method Summary
Methods inherited from interface org.refcodes.component.ClosableHandle
close, closeUnchecked, hasClosable
Methods inherited from interface org.refcodes.component.ConnectionOpenableHandle
hasConnectionOpenable, open, openUnchecked
Methods inherited from interface org.refcodes.component.ConnectionStatusHandle
getConnectionStatus, hasConnectionStatus