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
Modifier and TypeMethodDescriptionvoidclose()Close the service connection manager.voidConnect to the given service.voidDisconnect from the current service.
-
Method Details
-
connect
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.
-