Skip to content

ConnectionFactory: fluent style #330

Closed
@rrrrrrrrramba

Description

@rrrrrrrrramba

It would be useful if the API of ConnectionFactory supported fluent style. For example:

Connection c = new ConnectionFactory().setUri(...).newConnection();
Connection c = new ConnectionFactory().load(...).newConnection();

Most of the times, this involves returning this in the setters.

I know this might be a personal opinion, but what do you think?

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions