Skip to content

InjectionManagerFactory not found. #6

@XiaoSuWorld

Description

@XiaoSuWorld

Context context = new ContextBuilder()
.priority(Priority.REALTIME)
.build();

    CommandExecutor executor = NameApiRemoteExecutors.get();
    Mode mode = NameApiModeFactory.withContext(
            "api-key",
            context,
            //the default and live server is "api.nameapi.org"
            new Host("api.nameapi.org", Protocol.HTTPS), NameApiPortUrlFactory.version5_3()
    );

    EmailNameParserCommand command = new EmailNameParserCommand();
    try {
        EmailNameParserResult result = executor.execute(command, mode, "john.doe@gmail.com").get();
    } catch (Exception e) {
        throw new RuntimeException(e);
    }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions