Skip to content

Add getters for host/port to RmiRegistryFactoryBean [SPR-3053] #7739

@spring-projects-issues

Description

@spring-projects-issues

Andreas Senft opened SPR-3053 and commented

I propose adding getters for host and port properties of RmiRegistryFactoryBean.
Background of the proposal is this: I configured a Registry in an application context and want to propagate its configuration to another process so that it could connect to it. To make this easy I want to retrieve the factory bean and query its properties.
Currently I subclassed the factory bean to achieve my goal though it is a bit awkward.


Affects: 1.2.8, 2.0.2

Backported to: 1.2.9

Metadata

Metadata

Assignees

Labels

in: webIssues in web modules (web, webmvc, webflux, websocket)status: backportedAn issue that has been backported to maintenance branchestype: enhancementA general enhancement

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions