Skip to content

Fix example for @ImportResource in the reference manual #33446

@Riteshranga99

Description

@Riteshranga99

The last example code in composing java-based configurations is showing below as TransferService.

public static void main(String[] args) {
	ApplicationContext ctx = new AnnotationConfigApplicationContext(AppConfig.class);
	TransferService transferService = ctx.getBean(TransferService.class);
	// ...
}

But in the example for this the class name is DataSource.

Metadata

Metadata

Assignees

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions