summaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorDecebal Suiu <decebal.suiu@gmail.com>2014-07-31 14:24:07 +0300
committerDecebal Suiu <decebal.suiu@gmail.com>2014-07-31 14:24:07 +0300
commit67291280d77b235994b3430d58a5576818e27555 (patch)
tree0fc077a5ae0d3d8c15adc409f1353474579c3e6a /README.md
parent187ffc9b3e7d70268f59a2318291b50488a1e23c (diff)
downloadpf4j-67291280d77b235994b3430d58a5576818e27555.tar.gz
pf4j-67291280d77b235994b3430d58a5576818e27555.zip
Update README.md
Diffstat (limited to 'README.md')
-rw-r--r--README.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/README.md b/README.md
index 2c2a649..4560b4c 100644
--- a/README.md
+++ b/README.md
@@ -114,8 +114,6 @@ Another important internal component is **ExtensionFinder** that describes how t
**DefaultExtensionFinder** looks up extensions using **Extension** annotation.
DefaultExtensionFinder looks up extensions in all extensions index files `META-INF/extensions.idx`. PF4J uses Java Annotation Processing to process at compile time all classes annotated with @Extension and to produce the extensions index file.
-You can control extension instance creation overriding `createExtensionFactory` method from DefaultExtensionFinder.
-
public class WelcomePlugin extends Plugin {
public WelcomePlugin(PluginWrapper wrapper) {
@@ -163,6 +161,8 @@ and in plugin respository you must have a plugin.properties file with the below
plugin.provider=Decebal Suiu
plugin.version=0.0.1
+You can control extension instance creation overriding `createExtensionFactory` method from DefaultExtensionFinder.
+Also, you can control plugin instance creation overriding `createPluginFactory` method from DefaultExtensionFinder.
For more information please see the demo sources.