Skip to content

Add ServiceMapper annotation #318

@charphi

Description

@charphi

Add a @ServiceMapper to extract a service from its service provider when they are not the same interface.

Example:

@ServiceDefinition
public interface ServiceCarrier {

    @ServiceMapper
    Service getService();
}

Optional<Service> service = ServiceCarrierLoader.load();

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions