Package ru.vassaev.core.container

Examples of ru.vassaev.core.container.AppInfo


  public final PoolThread getProcessPoolByName(String name) throws SysException {
    String poolProcessName = Strings.getString(cntx.getPrmString(name));
    if (poolProcessName == null)
      throw new SysException("Parameter \"" + name + "\" isn't set");
    AppInfo ai = ApplicationManager.getCurrentAppInfo();
    Pool<?> poolprc = ai.getContainer().getRM().getPool(poolProcessName);
    if (Null.equ(poolprc))
      throw new SysException("There is no pool by name \"" + poolProcessName
          + "\"");
    try {
      PoolThread prcs = (PoolThread) poolprc;
View Full Code Here


    poolProcessName = cntx.getPrmString("process_pool");
    if (Null.equ(poolProcessName))
      throw new SysException("Parameter process_pool isn't set");
    ru.vassaev.core.thread.Process prc =
      ru.vassaev.core.thread.Process.currentProcess();
    AppInfo ai = ApplicationManager.getCurrentAppInfo();
    Pool<?> poolprc = ai.getContainer().getRM().getPool(poolProcessName);
    if (Null.equ(poolprc))
      throw new SysException("There is no pool by name " + poolProcessName);
    try {
      prcs = (Pool<ru.vassaev.core.thread.Process>) poolprc;
    } catch(Throwable e) {
View Full Code Here

    poolProcessName = cntx.getPrmString("process_pool");
    if (Null.equ(poolProcessName))
      throw new SysException("Parameter process_pool isn't set");
    ru.vassaev.core.thread.Process prc =
      ru.vassaev.core.thread.Process.currentProcess();
    AppInfo ai = ApplicationManager.getCurrentAppInfo();
    Pool<?> poolprc = ai.getContainer().getRM().getPool(poolProcessName);
    if (Null.equ(poolprc))
      throw new SysException("There is no pool by name " + poolProcessName);
    try {
      prcs = (Pool<ru.vassaev.core.thread.Process>) poolprc;
    } catch(Throwable e) {
View Full Code Here

TOP

Related Classes of ru.vassaev.core.container.AppInfo

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.