Class Plugins

java.lang.Object
de.tsl2.nano.plugin.Plugins

public class Plugins extends Object
Is able to find all implementations of an interface and delegates each call to all loaded implementations to do an inspections or decoration.
Version:
$Revision$
Author:
Tom
  • Constructor Details

    • Plugins

      public Plugins()
  • Method Details

    • process

      public static <T extends Plugin> T process(Class<T> pluginInterface)
    • process

      public static <T extends Plugin> T process(Class<T> pluginInterface, Class<? extends InvocationHandler> processingType)
    • getImplementations

      public static <T> List<T> getImplementations(Class<T> interfaze)
      instances of provided implementations for the given interface