Class SmallComponent
java.lang.Object
com.blackrook.small.SmallComponent
- Direct Known Subclasses:
DispatchComponent
A single instance of an instantiated component.
- Author:
- Matthew Tropiano
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedSmallComponent(Object instance) Creates an entry point descriptor around an object instance. -
Method Summary
Modifier and TypeMethodDescriptionprotected voidscanMethod(Method method) Called to handle a single method scan for this component type.toString()
-
Constructor Details
-
SmallComponent
Creates an entry point descriptor around an object instance.- Parameters:
instance- the instance to use.
-
-
Method Details
-
getInstance
- Returns:
- the instantiated component.
-
scanMethod
Called to handle a single method scan for this component type. If this method is overridden, it would be wise to callsuper.scanMethod(m).- Parameters:
method- the method to inspect.
-
toString
-