|
|
|
@ -19,8 +19,8 @@ import org.slf4j.Logger;
|
|
|
|
|
import org.slf4j.LoggerFactory; |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* The default implementation for ExtensionFactory. |
|
|
|
|
* It uses Class.newInstance() method. |
|
|
|
|
* The default implementation for {@link ExtensionFactory}. |
|
|
|
|
* It uses {@link Class#newInstance} method. |
|
|
|
|
* |
|
|
|
|
* @author Decebal Suiu |
|
|
|
|
*/ |
|
|
|
@ -29,7 +29,7 @@ public class DefaultExtensionFactory implements ExtensionFactory {
|
|
|
|
|
private static final Logger log = LoggerFactory.getLogger(DefaultExtensionFactory.class); |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* Creates an extension instance. If an error occurs than that error is logged and the method returns null. |
|
|
|
|
* Creates an extension instance. If an error occurs than that error is logged and the method returns {@code null}. |
|
|
|
|
* @param extensionClass |
|
|
|
|
* @return |
|
|
|
|
*/ |
|
|
|
|