Use ConnectionManager interface where possible

Description

Openfire’s ConnectionManager module has one implementation: ConnectionManagerImpl. The two are often used interchangably.

Where possible, Openfire should use the interface, rather than the implemention. This can be easily achieved by defining often-used methods in the interface definition. If these methods are that important, that should be reason enough to define them in the interface contract.

The benefit of this approach is that mocking a ConnectionManager becomes easier.

Environment

None

Activity

Show:
Fixed

Details

Assignee

Reporter

Components

Fix versions

Priority

Created June 27, 2023 at 2:12 PM
Updated June 27, 2023 at 3:11 PM
Resolved June 27, 2023 at 3:11 PM