Tabnine Logo
ServletContextProvider.<init>
Code IndexAdd Tabnine to your IDE (free)

How to use
jodd.madvoc.component.ServletContextProvider
constructor

Best Java code snippets using jodd.madvoc.component.ServletContextProvider.<init> (Showing top 2 results out of 315)

origin: oblac/jodd

private InterceptorsManager createInterceptorManager() {
  PetiteContainer madpc = new PetiteContainer();
  madpc.addSelf("madpc");
  madpc.addBean("madvocEncoding", new MadvocEncoding());
  InterceptorsManager im = new InterceptorsManager();
  im.contextInjectorComponent = new ContextInjectorComponent();
  im.contextInjectorComponent.madvocController = new MadvocController();
  im.contextInjectorComponent.madvocController.servletContextProvider = new ServletContextProvider(null);
  im.contextInjectorComponent.scopeDataInspector = new ScopeDataInspector();
  im.contextInjectorComponent.scopeResolver = new ScopeResolver();
  im.contextInjectorComponent.scopeResolver.madpc = madpc;
  return im;
}
origin: oblac/jodd

/**
 * Registers default Madvoc components.
 */
protected void registerMadvocComponents() {
  if (madvocContainer == null) {
    throw new MadvocException("Madvoc WebApp not initialized.");
  }
  log.debug("Registering Madvoc WebApp components");
  madvocContainer.registerComponent(MadvocEncoding.class);
  madvocContainer.registerComponentInstance(new ServletContextProvider(servletContext));
  madvocContainer.registerComponent(ActionConfigManager.class);
  madvocContainer.registerComponent(ActionMethodParamNameResolver.class);
  madvocContainer.registerComponent(ActionMethodParser.class);
  madvocContainer.registerComponent(ActionPathRewriter.class);
  madvocContainer.registerComponent(ActionsManager.class);
  madvocContainer.registerComponent(ContextInjectorComponent.class);
  madvocContainer.registerComponent(InterceptorsManager.class);
  madvocContainer.registerComponent(FiltersManager.class);
  madvocContainer.registerComponent(MadvocController.class);
  madvocContainer.registerComponent(RootPackages.class);
  madvocContainer.registerComponent(ResultsManager.class);
  madvocContainer.registerComponent(ResultMapper.class);
  madvocContainer.registerComponent(ScopeResolver.class);
  madvocContainer.registerComponent(ScopeDataInspector.class);
  madvocContainer.registerComponent(AsyncActionExecutor.class);
  madvocContainer.registerComponent(FileUploader.class);
}
jodd.madvoc.componentServletContextProvider<init>

Popular methods of ServletContextProvider

  • get
    Returns servlet context.

Popular in Java

  • Running tasks concurrently on multiple threads
  • setContentView (Activity)
  • notifyDataSetChanged (ArrayAdapter)
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • VirtualMachine (com.sun.tools.attach)
    A Java virtual machine. A VirtualMachine represents a Java virtual machine to which this Java vir
  • InputStream (java.io)
    A readable source of bytes.Most clients will use input streams that read data from the file system (
  • Enumeration (java.util)
    A legacy iteration interface.New code should use Iterator instead. Iterator replaces the enumeration
  • HttpServlet (javax.servlet.http)
    Provides an abstract class to be subclassed to create an HTTP servlet suitable for a Web site. A sub
  • IOUtils (org.apache.commons.io)
    General IO stream manipulation utilities. This class provides static utility methods for input/outpu
  • IsNull (org.hamcrest.core)
    Is the value null?
  • Top PhpStorm plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now