Skip to content

Commit

Permalink
RESTCOMM-2064: Remove ExtensionContext injection
Browse files Browse the repository at this point in the history
  • Loading branch information
abdulazizali77 committed Apr 20, 2018
1 parent 28def29 commit e59b2bd
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
*/
package org.restcomm.connect.extension.controller;

import org.restcomm.connect.extension.api.ExtensionContext;
import org.restcomm.connect.extension.api.RestcommExtensionGeneric;
import org.apache.commons.configuration.Configuration;
import org.apache.commons.configuration.HierarchicalConfiguration;
Expand All @@ -44,7 +43,6 @@ public class ExtensionBootstrapper {
public ExtensionBootstrapper(final ServletContext context, final Configuration configuration) {
this.configuration = configuration;
this.context = context;
this.context.setAttribute(ExtensionContext.class.getName(), ExtensionController.getInstance());
ExtensionController.getInstance().init(this.context);
}

Expand Down

0 comments on commit e59b2bd

Please sign in to comment.