Skip to content

I use it SpringPluginManager, It seems to be a single case. #61

@799452017

Description

@799452017
SpringPluginManager pluginManager = new SpringPluginManager(new File("plugins").toPath());
DemoImpl implA = pluginManager.getExtension(DemoImpl.class,"xxxx").get(0);
implA.setMessage("hello");

DemoImpl impB = pluginManager.getExtension(DemoImpl.class,"xxxx").get(0);
String message = implB.getMessage(); // I want an unassigned message

SpringExtensionFactory is written in extensionClass.newInstance(), But after the experiment, the message I get is still hello.I have no idea.

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