Interface ServiceConnectionManager<S>
-
- All Known Subinterfaces:
DeclareResourceRequirementServiceConnectionManager
- All Known Implementing Classes:
AbstractServiceConnectionManager,NoOpDeclareResourceRequirementServiceConnectionManager
public interface ServiceConnectionManager<S>Base interface for managers of services that are explicitly connected to / disconnected from.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidclose()Close the service connection manager.voidconnect(S service)Connect to the given service.voiddisconnect()Disconnect from the current service.
-
-
-
Method Detail
-
connect
void connect(S service)
Connect to the given service.- Parameters:
service- service to connect to
-
disconnect
void disconnect()
Disconnect from the current service.
-
close
void close()
Close the service connection manager. A closed manager must not be used again.
-
-