⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 staxstafqueuelistener.java

📁 Software Testing Automation Framework (STAF)的开发代码
💻 JAVA
字号:
/*****************************************************************************//* Software Testing Automation Framework (STAF)                              *//* (C) Copyright IBM Corp. 2002                                              *//*                                                                           *//* This software is licensed under the Common Public License (CPL) V1.0.     *//*****************************************************************************/package com.ibm.staf.service.stax;/** * An interface which listens for queued messages. * The class that is interested in knowing when a message is queued implements * this interface, and the object created with that class is registered by * passing itself as the listener argument when calling the job's * registerSTAFQueueListener method.  When registering, it also passes in the * prefix for the messages that it is interested in. When a message is queued, * that object's handleQueueMessage method is invoked.   * * @see STAXJob */public interface STAXSTAFQueueListener{    /**     * Invoked when a queued message matching the specified prefix is received.     * The STAF message received on the queue and the job object are passed in.     * <p>     * For example, the STAXProcessActionFactory's handleQueueMessage checks     * for "process end" messages so that it knows when to remove a process     * from the map of active processes that it maintains.     *     * @param stafMessage the object represeting the message     * @param job         the object representing the job     */    public void handleQueueMessage(STAXSTAFMessage stafMessage, STAXJob job);}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -