mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-03 20:15:52 +01:00
added extension point for HttpSessionListener
This commit is contained in:
@@ -77,6 +77,7 @@ import java.util.Set;
|
||||
|
||||
import javax.servlet.ServletContext;
|
||||
import javax.servlet.ServletContextListener;
|
||||
import javax.servlet.http.HttpSessionListener;
|
||||
|
||||
import javax.xml.bind.JAXB;
|
||||
|
||||
@@ -563,12 +564,20 @@ public class DefaultPluginLoader implements PluginLoader
|
||||
|
||||
//J-
|
||||
extensionPoints = extensionPointCollector.getAnnotatedClasses();
|
||||
// add ServletContextListener to list of extension points
|
||||
extensionPoints.add(
|
||||
new AnnotatedClass<ExtensionPoint>(
|
||||
Extensions.createExtensionPoint(true),
|
||||
ServletContextListener.class
|
||||
)
|
||||
);
|
||||
// add HttpSessionListener to list of extension points
|
||||
extensionPoints.add(
|
||||
new AnnotatedClass<ExtensionPoint>(
|
||||
Extensions.createExtensionPoint(true),
|
||||
HttpSessionListener.class
|
||||
)
|
||||
);
|
||||
|
||||
extensions = extensionCollector.getAnnotatedClasses();
|
||||
extensions.add(
|
||||
|
||||
Reference in New Issue
Block a user