|
|
@ -19,8 +19,8 @@ import org.slf4j.Logger; |
|
|
|
import org.slf4j.LoggerFactory; |
|
|
|
import org.slf4j.LoggerFactory; |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
|
* The default implementation for ExtensionFactory. |
|
|
|
* The default implementation for {@link ExtensionFactory}. |
|
|
|
* It uses Class.newInstance() method. |
|
|
|
* It uses {@link Class#newInstance} method. |
|
|
|
* |
|
|
|
* |
|
|
|
* @author Decebal Suiu |
|
|
|
* @author Decebal Suiu |
|
|
|
*/ |
|
|
|
*/ |
|
|
@ -29,7 +29,7 @@ public class DefaultExtensionFactory implements ExtensionFactory { |
|
|
|
private static final Logger log = LoggerFactory.getLogger(DefaultExtensionFactory.class); |
|
|
|
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 |
|
|
|
* @param extensionClass |
|
|
|
* @return |
|
|
|
* @return |
|
|
|
*/ |
|
|
|
*/ |
|
|
|