From 0c13752dbc73cd08ea5d9bbda0305a961e3208db Mon Sep 17 00:00:00 2001 From: Tilen Faganel Date: Wed, 27 May 2015 07:13:43 +0200 Subject: [PATCH] Added missing jsp component --- jsp/pom.xml | 5 +++ .../java/com/kumuluz/ee/jsp/JspComponent.java | 37 +++++++++++++++++++ 2 files changed, 42 insertions(+) create mode 100644 jsp/src/main/java/com/kumuluz/ee/jsp/JspComponent.java diff --git a/jsp/pom.xml b/jsp/pom.xml index b4c85e47..acabf57a 100644 --- a/jsp/pom.xml +++ b/jsp/pom.xml @@ -19,6 +19,11 @@ + + com.kumuluz.ee + kumuluzee-common + + org.eclipse.jetty jetty-jsp diff --git a/jsp/src/main/java/com/kumuluz/ee/jsp/JspComponent.java b/jsp/src/main/java/com/kumuluz/ee/jsp/JspComponent.java new file mode 100644 index 00000000..14562618 --- /dev/null +++ b/jsp/src/main/java/com/kumuluz/ee/jsp/JspComponent.java @@ -0,0 +1,37 @@ +package com.kumuluz.ee.jsp; + +import com.kumuluz.ee.common.Component; +import com.kumuluz.ee.common.KumuluzServer; +import com.kumuluz.ee.common.config.EeConfig; + +import java.util.logging.Logger; + +/** + * @author Tilen + */ +public class JspComponent implements Component { + + private Logger log = Logger.getLogger(JspComponent.class.getSimpleName()); + + @Override + public void init(KumuluzServer server, EeConfig eeConfig) { + } + + @Override + public void load() { + + log.info("Initiating JSP"); + } + + @Override + public String getComponentName() { + + return "JSP"; + } + + @Override + public String getImplementationName() { + + return "JSP"; + } +}