org.jbundle.model.util.Util.getLogger()方法的使用及代码示例

x33g5p2x  于2022-02-01 转载在 其他  
字(2.6k)|赞(0)|评价(0)|浏览(156)

本文整理了Java中org.jbundle.model.util.Util.getLogger()方法的一些代码示例,展示了Util.getLogger()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Util.getLogger()方法的具体详情如下:
包路径:org.jbundle.model.util.Util
类名称:Util
方法名:getLogger

Util.getLogger介绍

暂无

代码示例

代码示例来源:origin: org.jbundle.base/org.jbundle.base.mixed

/**
 * This is a special method that stops the code when this screen is opened as a task.
 */
public void stopTask()
{
  Util.getLogger().warning("Error - Attempt to stop an AutoTask");
}
/**

代码示例来源:origin: org.jbundle.base/org.jbundle.base

/**
 * This is a special method that stops the code when this screen is opened as a task.
 */
public void stopTask()
{
  Util.getLogger().warning("Error - Attempt to stop an AutoTask");
}
/**

代码示例来源:origin: org.jbundle.thin.base/org.jbundle.thin.base.remote

/**
 * Remove this message filter from this queue.
 * Also remove the remote message filter.
 * @param messageFilter The message filter to remove.
 * @param bFreeFilter If true, free this filter.
 * @return True if successful.
 */
public boolean removeMessageFilter(MessageFilter messageFilter, boolean bFreeFilter)
{
  boolean bSuccess = false;
  try   {
    if (((BaseMessageFilter)messageFilter).getRemoteFilterID() == null)
      bSuccess = true;    // No remote filter to remove
    else
      bSuccess = m_receiveQueue.removeRemoteMessageFilter((BaseMessageFilter)messageFilter, bFreeFilter);
  } catch (RemoteException ex)    {
    ex.printStackTrace();
  }
  if (!bSuccess)
    Util.getLogger().warning("Remote listener not removed"); // Never
  return super.removeMessageFilter(messageFilter, bFreeFilter);
}
/**

代码示例来源:origin: org.jbundle.thin.base/org.jbundle.thin.base.thread

Util.getLogger().warning("Illegal job type passed to TaskScheduler: " + job);
Util.getLogger().warning("Error: Illegal job type");

代码示例来源:origin: org.jbundle.thin.base/org.jbundle.thin.base.thread

/**
 * Start a task that calls the syncNotify 'done' method when the screen is done displaying.
 * This class is a platform-neutral implementation of SwinSyncPageWorker that
 * guarantees a page has displayed before doing a compute-intensive task.
 */
public static SyncWorker startPageWorker(SyncPage syncPage, SyncNotify syncNotify, Runnable swingPageLoader, Map<String,Object> map, boolean bManageCursor)
{
  SyncWorker syncWorker = (SyncWorker)ClassServiceUtility.getClassService().makeObjectFromClassName(JAVA_WORKER);
  if (syncWorker == null)
    syncWorker = (SyncWorker)ClassServiceUtility.getClassService().makeObjectFromClassName(ANDROID_WORKER);
  if (syncWorker != null)
  {
    syncWorker.init(syncPage, syncNotify, swingPageLoader, map, bManageCursor);
    syncWorker.start();
  }
  else
    Util.getLogger().severe("SyncWorker does not exist!");
  return syncWorker;
}
public static final String JAVA_WORKER = "org.jbundle.thin.base.screen.print.thread.SwingSyncPageWorker";

相关文章