Class InitialContextInitializer2

java.lang.Object
org.exoplatform.services.naming.InitialContextInitializer
org.exoplatform.commons.InitialContextInitializer2
All Implemented Interfaces:
org.picocontainer.Startable

public class InitialContextInitializer2 extends org.exoplatform.services.naming.InitialContextInitializer implements org.picocontainer.Startable
This code should be moved in the core, for now it is here as it is needed here. It extends the InitialContextInitializer to override the addPlugin(org.exoplatform.container.component.ComponentPlugin) method and perform no binding if there is an existing binding before.
  • Field Summary

    Fields inherited from class org.exoplatform.services.naming.InitialContextInitializer

    BINDINGS_STORE_PATH, DEFAULT_BINDING_STORE_PATH, OVERLOAD_CONTEXT_FACTORY, PROPERTIES_DEFAULT, PROPERTIES_MANDATORY
  • Constructor Summary

    Constructors
    Constructor
    Description
    InitialContextInitializer2(org.exoplatform.container.xml.InitParams params)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    addPlugin(org.exoplatform.container.component.ComponentPlugin plugin)
     

    Methods inherited from class org.exoplatform.services.naming.InitialContextInitializer

    getDefaultContextFactory, getInitialContext, getInitialContextBinder, getPlugins, initialize, recall, removePlugin

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.picocontainer.Startable

    start, stop
  • Constructor Details

    • InitialContextInitializer2

      public InitialContextInitializer2(org.exoplatform.container.xml.InitParams params) throws Exception
      Throws:
      Exception
  • Method Details

    • addPlugin

      public void addPlugin(org.exoplatform.container.component.ComponentPlugin plugin)
      Overrides:
      addPlugin in class org.exoplatform.services.naming.InitialContextInitializer