SHL-73 - Typo in reference docs: CliOptions is CliOption

SHL-71 - Reference docs do not mention PluginProvider interface
This commit is contained in:
mpollack
2013-07-25 17:20:07 -04:00
parent 330735902b
commit 0462632a76
2 changed files with 5 additions and 3 deletions

View File

@@ -87,7 +87,7 @@ public class HelloWorldCommands implements CommandMarker {
</listitem>
<listitem>
<para><classname>CliOptions</classname> - Placed on the arguments of a
<para><classname>CliOption</classname> - Placed on the arguments of a
command method, allowing it to declare the argument value as mandatory
or optional with a default value.</para>
</listitem>

View File

@@ -184,8 +184,10 @@ public class HelloWorldCommands implements CommandMarker {
</itemizedlist>
<para>There is a default implementation for these interfaces but you
should create your own implementations for your own shell application. Use
Spring's <literal>@Ordered</literal> annotation to set the priority of the
should create your own implementations for your own shell application.
All of these interfaces extend from
<interfacename>NamedProvider</interfacename>. Use
Spring's <literal>@Order</literal> annotation to set the priority of the
provider. This allows your provider implementations to take precedence
over any other implementations that maybe present on the classpath from
other plugins.</para>