CON
- The type of the connection to be used.Closable
, Closable.CloseAutomaton
, ClosedAccessor
, ConnectionComponent<CON>
, ConnectionOpenable<CON>
, ConnectionOpenable.ConnectionOpenAutomaton<CON>
, ConnectionStatusAccessor
, OpenedAccessor
ConnectionAutomatonImpl
public static interface ConnectionComponent.ConnectionAutomaton<CON> extends ConnectionComponent<CON>, ConnectionOpenable.ConnectionOpenAutomaton<CON>, Closable.CloseAutomaton, ConnectionStatusAccessor
ConnectionComponent.ConnectionAutomaton
interface supports
managing ConnectionComponent
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 ConnectionComponent.ConnectionAutomaton
may be used to wrap a
ConnectionComponent
by a ConnectionComponentHandle
for
managing ConnectionComponent.ConnectionAutomaton
instances.
The ConnectionComponent
contains the business-logic where as the
ConnectionComponentHandle
provides the frame for managing this
business-logic. The ConnectionComponent.ConnectionAutomaton
takes care of the correct
open/close-cycle applied on a ConnectionComponent
.Closable.CloseAutomaton, Closable.CloseBuilder<B extends Closable.CloseBuilder<B>>
ClosedAccessor.ClosedMutator, ClosedAccessor.ClosedProperty
ConnectionComponent.ConnectionAutomaton<CON>, ConnectionComponent.ConnectionComponentBuilder<CON,B extends ConnectionComponent.ConnectionComponentBuilder<CON,B>>
ConnectionOpenable.ConnectionOpenAutomaton<CON>, ConnectionOpenable.ConnectionOpenBuilder<CON,B extends ConnectionOpenable.ConnectionOpenBuilder<CON,B>>
ConnectionStatusAccessor.ConnectionStatusMutator, ConnectionStatusAccessor.ConnectionStatusProperty
OpenedAccessor.OpenedMutator, OpenedAccessor.OpenedProperty
close, closeIn, closeQuietly, closeUnchecked
isClosable
isClosed
open, openUnchecked
isOpenable
getConnectionStatus, isConnectionOpened
isOpened
Copyright © 2018. All rights reserved.