Skip to content

Commit

Permalink
Added missing jsp component
Browse files Browse the repository at this point in the history
  • Loading branch information
TFaga committed May 27, 2015
1 parent 7b1cf35 commit 0c13752
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 0 deletions.
5 changes: 5 additions & 0 deletions jsp/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@
</properties>

<dependencies>
<dependency>
<groupId>com.kumuluz.ee</groupId>
<artifactId>kumuluzee-common</artifactId>
</dependency>

<dependency>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-jsp</artifactId>
Expand Down
37 changes: 37 additions & 0 deletions jsp/src/main/java/com/kumuluz/ee/jsp/JspComponent.java
Original file line number Diff line number Diff line change
@@ -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";
}
}

0 comments on commit 0c13752

Please sign in to comment.