org.apache.commons.discovery.tools
public class SPInterface extends Object
Constructor Summary | |
---|---|
SPInterface(Class provider)
Construct object representing Class provider .
| |
SPInterface(Class spi, String propertyName)
Construct object representing Class provider .
| |
SPInterface(Class provider, Class[] constructorParamClasses, Object[] constructorParams)
Construct object representing Class provider .
| |
SPInterface(Class spi, String propertyName, Class[] constructorParamClasses, Object[] constructorParams)
Construct object representing Class provider .
|
Method Summary | |
---|---|
String | getPropertyName() |
Class | getSPClass() |
String | getSPName() |
Object | newInstance(Class impl)
Instantiate a new |
void | verifyAncestory(Class impl) |
provider
.
Parameters: provider The SPI class
provider
.
Parameters: provider The SPI class
propertyName when looking for the name of a class implementing
the provider class, a discovery strategy may involve looking for
(system or other) properties having either the name of the class
(provider) or the propertyName
.
provider
.
Parameters: provider The SPI class constructorParamClasses classes representing the constructor argument types. constructorParams objects representing the constructor arguments.
provider
.
Parameters: provider The SPI class
propertyName when looking for the name of a class implementing
the provider class, a discovery strategy may involve looking for
(system or other) properties having either the name of the class
(provider) or the propertyName
.
constructorParamClasses classes representing the
constructor argument types.
constructorParams objects representing the
constructor arguments.