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>
TheConnectionComponentHandlemanages variousConnectionStatusstates forConnectionComponentinstances each related to a handle. Operations manipulating on theConnectionStatusare invoked by thisConnectionComponentHandlewith a handle identifying the according referencedComponent.The
ConnectionComponentcontains the business-logic where as theConnectionComponentHandleprovides the frame for managing this business-logic. TheConnectionComponentHandle.ConnectionAutomatonHandletakes care of the correct open/close-cycle applied on aConnectionComponent.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceConnectionComponentHandle.ConnectionAutomatonHandle<H,CON>TheConnectionComponentHandle.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, hasClosable
-
Methods inherited from interface org.refcodes.component.ConnectionOpenableHandle
hasConnectionOpenable, open, openUnchecked
-
-