Package org.refcodes.component
Interface ConnectionAccessor<CON>
-
- Type Parameters:
CON- The type of the connection to be used.
- All Known Subinterfaces:
ConnectionAccessor.ConnectionProperty<CON>
public interface ConnectionAccessor<CON>Provides an accessor for a connection property for e.g. anInputStreamor anOutputStream.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceConnectionAccessor.ConnectionMutator<CON>Provides a mutator for a connection property for e.g. anInputStreamor anOutputStream.static interfaceConnectionAccessor.ConnectionProperty<CON>Provides a connection property for e.g. anInputStreamor anOutputStream.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CONgetConnection()Retrieves the connection from the connection property.
-
-
-
Method Detail
-
getConnection
CON getConnection()
Retrieves the connection from the connection property.- Returns:
- The connection stored by the connection property.
-
-