Class SmallComponent

java.lang.Object
com.blackrook.small.SmallComponent
Direct Known Subclasses:
DispatchComponent

public class SmallComponent extends Object
A single instance of an instantiated component.
Author:
Matthew Tropiano
  • Constructor Details

    • SmallComponent

      protected SmallComponent(Object instance)
      Creates an entry point descriptor around an object instance.
      Parameters:
      instance - the instance to use.
  • Method Details

    • getInstance

      public Object getInstance()
      Returns:
      the instantiated component.
    • scanMethod

      protected void scanMethod(Method method)
      Called to handle a single method scan for this component type. If this method is overridden, it would be wise to call super.scanMethod(m).
      Parameters:
      method - the method to inspect.
    • toString

      public String toString()
      Overrides:
      toString in class Object