* minor tweaks
git-svn-id: svn+ssh://svn.synyx.de/var/svn/synyx/opensource/hera/trunk@3257 5a64d73e-33d6-4ccc-9058-23f8668ecac9
This commit is contained in:
@@ -179,7 +179,7 @@ public class HostImpl implements Host {
|
||||
decision. Consider the following example:</para>
|
||||
|
||||
<example>
|
||||
<title></title>
|
||||
<title>Usage of Plugin interface</title>
|
||||
|
||||
<programlisting language="java">public enum ProductType {
|
||||
|
||||
@@ -198,7 +198,7 @@ public interface ProductProcessor extends Plugin<ProductType> {
|
||||
logic in <methodname>process(Product product)</methodname>.</para>
|
||||
</simplesect>
|
||||
|
||||
<simplesect>
|
||||
<simplesect id="core.plugin-registry">
|
||||
<title>PluginRegistry</title>
|
||||
|
||||
<para>Using a <interfacename>List</interfacename> as plugin container as
|
||||
@@ -253,4 +253,4 @@ registry.getPluginsFor(ProductType.HARDWARE, new MyException("Damn!");</programl
|
||||
</example>
|
||||
</simplesect>
|
||||
</section>
|
||||
</chapter>
|
||||
</chapter>
|
||||
|
||||
Reference in New Issue
Block a user