Repository: wicket
Updated Branches:
  refs/heads/wicket-7.x d8c5ad387 -> e8af80e50


updated javadoc for IInitializer


Project: http://git-wip-us.apache.org/repos/asf/wicket/repo
Commit: http://git-wip-us.apache.org/repos/asf/wicket/commit/e8af80e5
Tree: http://git-wip-us.apache.org/repos/asf/wicket/tree/e8af80e5
Diff: http://git-wip-us.apache.org/repos/asf/wicket/diff/e8af80e5

Branch: refs/heads/wicket-7.x
Commit: e8af80e506c37651ba7aabf49641b529cc742c3d
Parents: d8c5ad3
Author: Sven Meier <[email protected]>
Authored: Thu Aug 18 22:04:44 2016 +0200
Committer: Sven Meier <[email protected]>
Committed: Thu Aug 18 22:04:44 2016 +0200

----------------------------------------------------------------------
 .../src/main/java/org/apache/wicket/IInitializer.java   | 12 +++++-------
 1 file changed, 5 insertions(+), 7 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/wicket/blob/e8af80e5/wicket-core/src/main/java/org/apache/wicket/IInitializer.java
----------------------------------------------------------------------
diff --git a/wicket-core/src/main/java/org/apache/wicket/IInitializer.java 
b/wicket-core/src/main/java/org/apache/wicket/IInitializer.java
index 178b724..c81d3a8 100644
--- a/wicket-core/src/main/java/org/apache/wicket/IInitializer.java
+++ b/wicket-core/src/main/java/org/apache/wicket/IInitializer.java
@@ -20,8 +20,8 @@ import org.apache.wicket.request.resource.PackageResource;
 
 /**
  * Initializes something when application loads.
- * 
- * Initializer is there for clustering. Lets say you access a page that has a 
link to a resource on
+ * <p>
+ * Initializer can be used for clustering. Lets say you access a page that has 
a link to a resource on
  * node A now the url for the resource gets forwarded to node B, but node B 
doesn't have the
  * resource registered yet because maybe the page class hasn't been loaded and 
so its static block
  * hasn't run yet. So the initializer is a place for you to register all those 
resources and do all
@@ -29,12 +29,10 @@ import org.apache.wicket.request.resource.PackageResource;
  * <p>
  * You don't have to pre-register {@link PackageResource package resources}, 
as they can be
  * initialized lazily.
- * </p>
  * <p>
- * Initializers can be configured by having a 
/META-INF/wicket/com.example.myapp.properties file in the
- * class path root, with property 'initializer=${initializer class name}'. You 
can have one such
- * properties per jar file, but the initializer that property denotes can 
delegate to other initializers
- * of that library.
+ * Initializers can be configured via {@link ServiceLoader}, i.e. by having a 
file
+ * /META-INF/services/org.apache.wicket.IInitializer in the class path root, 
with each line containing the
+ * full class name of an {@link IInitializer}.
  * </p>
  * 
  * @author Jonathan Locke

Reply via email to