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>
TheConnectionComponentHandle.ConnectionAutomatonHandle
is an automaton managing variousConnectionStatus
states forConnectionComponent
instances each related to a handle. Operations manipulating on theConnectionStatus
are invoked by thisConnectionComponentHandle.ConnectionAutomatonHandle
with a handle identifying the according referencedConnectionComponent
. TheConnectionComponent
contains the business-logic where as theConnectionComponentHandle.ConnectionAutomatonHandle
provides the frame for managing this business-logic. TheConnectionComponentHandle.ConnectionAutomatonHandle
takes care of the correct life-cycle applied on aConnectionComponent
.
-
-
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
-
-