瀏覽代碼

Fix readme according to feedback

tags/release-3.10.0
Decebal Suiu 1 年之前
父節點
當前提交
a18206af7c
共有 1 個檔案被更改,包括 1 行新增3 行删除
  1. 1
    3
      README.md

+ 1
- 3
README.md 查看文件

@@ -28,8 +28,6 @@ No XML, only Java.

You can mark any interface or abstract class as an extension point (with marker interface ExtensionPoint) and you specified that an class is an extension with @Extension annotation.

Also, PF4J can be used in web applications. For example web applications that require want modularity can use [pf4j-wicket](https://github.com/pf4j/pf4j-wicket).

Components
-------------------
- **Plugin** is the base class for all plugins types. Each plugin is loaded into a separate class loader to avoid conflicts.
@@ -93,7 +91,7 @@ public class WelcomePlugin extends Plugin {
}
```

In above code we've been created a plugin (welcome) that comes with one extension for the `Greeting` extension point.
In above code we've created a plugin (welcome) that comes with one extension for the `Greeting` extension point.

You can distribute your plugin as a jar file (the simple solution). In this case add the plugin's metadata in `MANIFEST.MF` file of jar:


Loading…
取消
儲存