Package com.caucho.quercus.module

Examples of com.caucho.quercus.module.ModuleInfo


  /**
   * Returns the module with the given name.
   */
  public QuercusModule findModule(String name)
  {
    ModuleInfo moduleInfo =  _modules.get(name);
    QuercusModule module = null;

    if (moduleInfo != null)
      module = moduleInfo.getModule();
    else
      module = getModuleContext().findModule(name);

    if (module == null)
      throw new IllegalStateException(L.l("'{0}' is an unknown quercus module",
View Full Code Here


    initLocal();
  }

  public void addModule(QuercusModule module)
  {
    ModuleInfo info = new ModuleInfo(_moduleContext,
                                     module.getClass().getName(),
                                     module);

    addModuleInfo(info);
  }
View Full Code Here

  /**
   * Returns the module with the given name.
   */
  public QuercusModule findModule(String name)
  {
    ModuleInfo moduleInfo =  _modules.get(name);
    QuercusModule module = null;

    if (moduleInfo != null)
      module = moduleInfo.getModule();
    else
      module = getModuleContext().findModule(name);

    if (module == null)
      throw new IllegalStateException(L.l("'{0}' is an unknown quercus module",
View Full Code Here

    initLocal();
  }

  public void addModule(QuercusModule module)
  {
    ModuleInfo info = new ModuleInfo(_moduleContext,
                                     module.getClass().getName(),
                                     module);

    addModuleInfo(info);
  }
View Full Code Here

  /**
   * Returns the module with the given name.
   */
  public QuercusModule findModule(String name)
  {
    ModuleInfo moduleInfo =  _modules.get(name);
    QuercusModule module = null;

    if (moduleInfo != null)
      module = moduleInfo.getModule();
    else
      module = getModuleContext().findModule(name);

    if (module == null)
      throw new IllegalStateException(L.l("'{0}' is an unknown quercus module",
View Full Code Here

    initLocal();
  }

  public void addModule(QuercusModule module)
  {
    ModuleInfo info = new ModuleInfo(_moduleContext,
                                     module.getClass().getName(),
                                     module);

    addModuleInfo(info);
  }
View Full Code Here

TOP

Related Classes of com.caucho.quercus.module.ModuleInfo

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.