Module org.refcodes.component
Package org.refcodes.component
Interface ConnectionComponentHandle<H,CON>
- Type Parameters:
H- The type of the handles.CON- The connection used to open the referenced instance.
- All Superinterfaces:
ClosableHandle<H>,ConnectionOpenableHandle<H,CON>
- All Known Subinterfaces:
ConnectionComponentHandle.ConnectionAutomatonHandle<H,CON>
public interface ConnectionComponentHandle<H,CON>
extends ConnectionOpenableHandle<H,CON>, ClosableHandle<H>
The
ConnectionComponentHandle manages various
ConnectionStatus states for ConnectionComponent instances
each related to a handle. Operations manipulating on the
ConnectionStatus are invoked by this
ConnectionComponentHandle with a handle identifying the according
referenced Component.
The ConnectionComponent contains the business-logic where as the
ConnectionComponentHandle provides the frame for managing this
business-logic. The ConnectionComponentHandle.ConnectionAutomatonHandle takes care of the
correct open/close-cycle applied on a ConnectionComponent.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceTheConnectionComponentHandle.ConnectionAutomatonHandleis an automaton managing variousConnectionStatusstates forConnectionComponentinstances each related to a handle.Nested classes/interfaces inherited from interface org.refcodes.component.ClosableHandle
ClosableHandle.CloseAutomatonHandle<H>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, hasClosableMethods inherited from interface org.refcodes.component.ConnectionOpenableHandle
hasConnectionOpenable, open, openUnchecked