org.springframework.shell.plugin
Class PluginUtils

java.lang.Object
  extended by org.springframework.shell.plugin.PluginUtils

public final class PluginUtils
extends Object

Utilities dealing with shell plugins.


Method Summary
static
<T extends NamedProvider>
T
getHighestPriorityProvider(ApplicationContext applicationContext, Class<T> t)
          Returns the highest priority PluginProvider of specified type defined in given application context.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getHighestPriorityProvider

public static <T extends NamedProvider> T getHighestPriorityProvider(ApplicationContext applicationContext,
                                                                     Class<T> t)
Returns the highest priority PluginProvider of specified type defined in given application context.

Since:
1.0.1