package de.skuzzle.tinyplugz;

import java.util.Map;

/**
 * Listener which is notified when a TinyPlugz instance is deployed. Implementations of
 * this listener must be registered as a Java Service Provider.
 *
 * @author Simon Taddiken
 * @since 0.2.0
 */
public interface DeployListener {

    /**
     * Notified when TinyPlugz has been deployed.
     *
     * @param tinyPlugz The deployed instance.
     * @param properties The properties with which the instance has been configured.
     */
    void initialized(TinyPlugz tinyPlugz, Map<Object, Object> properties);
}

@@ -119,16 +119,19 @@
 eployed.
+%0A *
  Impleme
@@ -141,19 +141,16 @@
 tions of
-%0A *
  this li
@@ -192,16 +192,19 @@
  Service
+%0A *
  Provide
@@ -205,16 +205,158 @@
 rovider.
+ They are pulled in after deployment using the plugin ClassLoader.%0A * This means that listener implementations can also reside within plugins.
 %0A *%0A * @
@@ -489,16 +489,157 @@
 eployed.
+ If this method throws any%0A     * unchecked exceptions, those will be logged and then ignored to continue%0A     * notifying the next listener.
 %0A     *%0A
@@ -757,16 +757,34 @@
 has been
+%0A     *           
  configu

Improve documentation