Package cn.sliew.carp.plugin.test
Class WelcomePlugin.WelcomeGreeting
java.lang.Object
cn.sliew.carp.plugin.test.WelcomePlugin.WelcomeGreeting
- All Implemented Interfaces:
cn.sliew.carp.framework.pf4j.api.internal.CarpExtensionPoint,Greeting,org.pf4j.ExtensionPoint
- Enclosing class:
- WelcomePlugin
如果添加 @Extension 注解,pf4j 的 ExtensionFactory 会生成这个实例。
无论添不添加 @Extension,都会因为 CarpExtensionPoint 被实例化,注册到 spring 中。
这里不添加 @Extension 注解,避免 pf4j 的 ExtensionFactory 生成这个实例
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface cn.sliew.carp.framework.pf4j.api.internal.CarpExtensionPoint
getExtensionClass, getPluginId
-
Constructor Details
-
WelcomeGreeting
public WelcomeGreeting()
-
-
Method Details
-
getGreeting
- Specified by:
getGreetingin interfaceGreeting
-