| java.lang.Object org.apache.commons.discovery.tools.SPInterface
SPInterface | public class SPInterface (Code) | | Represents a Service Programming Interface (spi).
- SPI's name
- SPI's (provider) class
- SPI's (alternate) override property name
In addition, while there are many cases where this is NOT
usefull, for those in which it is:
- expected constructor argument types and parameters values.
author: Richard A. Sitze |
SPInterface | public SPInterface(Class provider)(Code) | | Construct object representing Class provider .
Parameters: provider - The SPI class |
SPInterface | public SPInterface(Class spi, String propertyName)(Code) | | Construct object representing Class provider .
Parameters: spi - The SPI class Parameters: propertyName - when looking for the name of a class implementingthe provider class, a discovery strategy may involve looking for(system or other) properties having either the name of the class(provider) or the propertyName . |
SPInterface | public SPInterface(Class provider, Class constructorParamClasses, Object constructorParams)(Code) | | Construct object representing Class provider .
Parameters: provider - The SPI class Parameters: constructorParamClasses - classes representing theconstructor argument types. Parameters: constructorParams - objects representing theconstructor arguments. |
SPInterface | public SPInterface(Class spi, String propertyName, Class constructorParamClasses, Object constructorParams)(Code) | | Construct object representing Class provider .
Parameters: spi - The SPI class Parameters: propertyName - when looking for the name of a class implementingthe provider class, a discovery strategy may involve looking for(system or other) properties having either the name of the class(provider) or the propertyName . Parameters: constructorParamClasses - classes representing theconstructor argument types. Parameters: constructorParams - objects representing theconstructor arguments. |
verifyAncestory | public void verifyAncestory(Class impl)(Code) | | |
|
|