Oracle Fusion Middleware extensions for Logging and Diagnostic
11g Release 1 (11.1.1.6)

E22565-06

oracle.apps.fnd.appltest.diagfwk.engine.impl.mbean
Interface ExecutorMBeanDiscoverer

All Known Implementing Classes:
ExecutorMBeanDiscovererImpl

public interface ExecutorMBeanDiscoverer

Interface for performing a discovery process for diagnostic executor mbean instances currently available for executing diagnostic tests that require applications context.

Since:
release specific (what release of product did this appear in)
Version:
$Header: atgpf/appltest/applications/Diagnostics/Engine/src/oracle/apps/fnd/appltest/diagfwk/engine/impl/mbean/ExecutorMBeanDiscoverer.java /main/2 2008/12/03 10:33:22 viramac Exp $
Author:
ppradhan

Method Summary
 java.util.Map<java.lang.String,java.util.List<javax.management.ObjectName>> getAvailableExecutorMBeans(java.lang.String pWebAppName)
          Returns the object names of the discovered MBeans for the given web app
 java.util.List<java.lang.String> getWebApplicationsAvailableForTest()
          Returns the list of Web Applications that are available on which Diagnostic Tests that execute Applications code can be run.
 boolean isExecutorMBeanAvailable(java.lang.String pWebAppName)
          Checks whether there is at least one mbean instance currently available in order to execute any tests for the given web application that requires the application context.
 void refreshAvailableMBeans()
          Starts a discovery process that queries the Domain runtime mbean server to determine the instances of all diagnostics executor mbeans that are currently available to execute diagnostic tests that require application context.
 

Method Detail

refreshAvailableMBeans

void refreshAvailableMBeans()
Starts a discovery process that queries the Domain runtime mbean server to determine the instances of all diagnostics executor mbeans that are currently available to execute diagnostic tests that require application context.

If multiple domains are configured in the domain registry the refresh action will also query the additional domains to get list of mbeans instances from such domains.

Throws:
DiagfwkException - if error occurs during mbean discovery

getAvailableExecutorMBeans

java.util.Map<java.lang.String,java.util.List<javax.management.ObjectName>> getAvailableExecutorMBeans(java.lang.String pWebAppName)
Returns the object names of the discovered MBeans for the given web app

Parameters:
pWebAppName - name of the web application for which to get the list of available executor mbeans
Returns:
a Map with the domain runtime mbean server URL as key and list of executor mbean object names available on that server as value in order to invoke tests that require application context for the given web application name.
Throws:
DiagfwkException - if error occurs during mbean discovery

isExecutorMBeanAvailable

boolean isExecutorMBeanAvailable(java.lang.String pWebAppName)
Checks whether there is at least one mbean instance currently available in order to execute any tests for the given web application that requires the application context.

Parameters:
pWebAppName - name of the web application
Returns:
true if there is at least one mbean instance currently available in order to execute any tests for the given web application that requires the application context. Returns false otherwise.
Throws:
DiagfwkException - if error occurs during mbean discovery

getWebApplicationsAvailableForTest

java.util.List<java.lang.String> getWebApplicationsAvailableForTest()
Returns the list of Web Applications that are available on which Diagnostic Tests that execute Applications code can be run. This would typically be the list of web applications that are running on the current server.

Returns:
list of web application names that are running on the server
Throws:
DiagfwkException - if error occurs during mbean discovery

Oracle Fusion Middleware extensions for Logging and Diagnostic
11g Release 1 (11.1.1.6)

E22565-06

Copyright © 2012 Oracle. All Rights Reserved.