Package org.rzo.yajsw.action

Examples of org.rzo.yajsw.action.Action


  }

  public void wrapperThreadDump()
  {
    Message m = new Message(Constants.WRAPPER_MSG_THREAD_DUMP, null);
    Action a = ActionFactory.getAction(m);
    try
    {
      ByteArrayOutputStream str = new ByteArrayOutputStream();
      PrintStream pr = new PrintStream(str);
      a.execute(m, null, pr, null);
      pr.flush();
      getWrapperLogger().info(str.toString());
    }
    catch (IOException e)
    {
View Full Code Here


  }

  public void threadDump(long[] ids)
  {
    Message m = new Message(Constants.WRAPPER_MSG_THREAD_DUMP, null);
    Action a = ActionFactory.getAction(m);
    try
    {
      if (_overrideStdErr)
        a.execute(m, _session, new PrintStream(_errStream), ids);
      else
        a.execute(m, _session, System.err, ids);

    }
    catch (IOException e)
    {
      e.printStackTrace();
View Full Code Here

TOP

Related Classes of org.rzo.yajsw.action.Action

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.