exported-jndi-context Configuration Object Configuring JMX
12.3.3 How to Programmatically Configure an Oracle CEP Component Using JMX APIs
This section describes how to write Java code using the JMX API http:java.sun.comjavasetechnologiescoremntr-mgmtjavamana gement to access Oracle CEP MBeans. To programmatically configure an Oracle CEP component using JMX APIs: 1. Acquire a connection to the Oracle CEP JMX server. For details see Section 12.3.1, How to Programmatically Connect to the Oracle CEP JMX Server From a Non-Oracle CEP Client . 2. Write the http:java.sun.comjavasetechnologiescoremntr-mgmtjavama nagement Java code to configure the component using the appropriate MBean. Consider the following JMX programming hints. Example 12–4 shows how to use the connection to start getting information about the domain and its deployed applications by querying MBeans. First the code shows how to get all MBeans whose type is Domain; there should only be one. Then, using the DomainMBean, the sample shows how to retrieve a list of all the deployed applications in the domain using ApplicationMBean: Example 12–4 Querying MBeans Set domainObjectNames = connection.queryMBeans ObjectName.getInstance ManagementConstants.DOMAIN_NAME + : + ManagementConstants.TYPE_PROPERTY + = + DomainMBean.MBEAN_TYPE + , , null ; ObjectName domainName = ObjectInstance domainObjectNames.iterator.next.getObjectName; System.out.printlnDomain Name: + domainName.getKeyPropertyManagementConstants.NAME_ PROPERTY; ObjectName [] applicationNames = ObjectName[] connection.getAttributedomainName, ApplicationMBeans; ObjectName selectedApplicationObjectName = null ; for ObjectName applicationName : applicationNames { String name = applicationName.getKeyPropertyManagementConstants.NAME_PROPERTY; String status = String connection.getAttributeapplicationName, State; System.out.printlnApplication: + name + Status: + status; selectedApplicationObjectName = applicationName ; } 12.3.4 How to Programmatically Monitor the Throughput and Latency of an Oracle CEP Component Using JMX APIs This section describes how to write Java code using the JMX API http:java.sun.comjavasetechnologiescoremntr-mgmtjavamana gement to access Oracle CEP MBeans and dynamically monitor the throughput and latency of an Oracle CEP component. To dynamically configure an Oracle CEP component using JMX APIs: 1. Acquire a connection to the Oracle CEP JMX server.Parts
» Oracle Fusion Middleware Online Documentation Library
» Understanding Oracle CEP Servers and Domains
» User Action: Start Oracle CEP Server
» User Action: Stop Oracle CEP Server
» Oracle CEP Server Configuration Files
» Configuring an Oracle CEP Server by Manually Editing the config.xml File
» Configuration History Management Understanding Oracle CEP Server Configuration
» How to Configure the Oracle CEP Server bootclasspath
» Configuration Wizard Oracle CEP Visualizer
» wlevs.Admin Command-Line Utility
» Creating Oracle CEP Servers and Domains Updating Oracle CEP Servers and Domains
» Managing Oracle CEP Applications, Servers, and Domains
» Next Steps Oracle Fusion Middleware Online Documentation Library
» Creating an Oracle CEP Standalone-Server Domain
» Updating an Oracle CEP Standalone-Server Domain
» Deploying an Application to an Oracle CEP Standalone-Server Domain
» Oracle Coherence Clustering Oracle CEP Native Clustering
» Singleton Server Deployment Group
» Domain Deployment Group Groups
» Scalability and Multi-Server Domains Next Steps
» How to Create an Oracle CEP Multi-Server Domain With Default Groups Using Oracle Coherence
» How to Create an Oracle CEP Multi-Server Domain With Custom Groups Using Oracle Coherence
» The tangosol-coherence-override.xml File
» Updating an Oracle CEP Multi-Server Domain Using Oracle Coherence
» Yes No Oracle Fusion Middleware Online Documentation Library
» Securing the Messages Sent Between Servers in a Multi-Server Domain
» Using the Multi-Server Domain APIs to Manage Group Membership Changes
» Starting and Stopping an Oracle CEP Server in a Multi-Server Domain
» Creating an Oracle CEP Multi-Server Domain Using Oracle CEP Native Clustering
» Updating an Oracle CEP Multi-Server Domain Using Oracle CEP Native Clustering
» Yes Oracle Fusion Middleware Online Documentation Library
» No Oracle Fusion Middleware Online Documentation Library
» Oracle CEP Server Stops Application After Deployment
» Network IO Providers Overview of Network IO in Oracle CEP
» How to Configure Network IO Server
» How to Configure Network IO Client
» Java SE Security Security Providers
» SSL Overview of Security in Oracle CEP
» FIPS Overview of Security in Oracle CEP
» Enabling and Disabling Security
» Security Utilities Overview of Security in Oracle CEP
» Specifying User Credentials When Using the Command-Line Utilities
» Configuring Java SE Security for Oracle CEP Server
» Configuring Authentication Using the LDAP Provider and Authorization Using the DBMS Provider
» Configuring Both Authentication and Authorization Using the DBMS Provider
» Configuring Password Strength Oracle Fusion Middleware Online Documentation Library
» How to Configure SSL Manually
» How to Create a Key-Store Manually
» How to Configure SSL in a Multi-Server Domain for Oracle CEP Visualizer
» Configuring FIPS for Oracle CEP Server
» Configuring HTTPS-Only Connections for Oracle CEP Server
» Configuring Jetty Security Configuring Security for Oracle CEP Server Services
» Configuring JMX Security Configuring JDBC Security
» Configuring HTTP Publish-Subscribe Server Channel Security
» Configuring the Oracle CEP Security Auditor
» Disabling Security Oracle Fusion Middleware Online Documentation Library
» Servlets Overview of Jetty Support in Oracle Complex Event Processing
» Network IO Integration Overview of Jetty Support in Oracle Complex Event Processing
» jetty Configuration Object Configuring a Jetty Server Instance
» netio Configuration Object Configuring a Jetty Server Instance
» work-manager Configuration Object Configuring a Jetty Server Instance
» jetty-web-app Configuration Object Configuring a Jetty Server Instance
» Developing Servlets for Jetty
» Web Application Deployment Configuring a Jetty Server Instance
» Example Jetty Configuration Oracle Fusion Middleware Online Documentation Library
» Understanding JMX Configuration Overview of JMX Support in Oracle CEP
» Accessing the Oracle CEP JMX Server
» Oracle CEP Configuration MBeans
» Oracle CEP Runtime MBeans Oracle CEP MBean Hierarchy
» jmx Configuration Object rmi Configuration Object
» jndi-context Configuration Object Configuring JMX
» exported-jndi-context Configuration Object Configuring JMX
» How to Programmatically Connect to the Oracle CEP JMX Server From a Non-Oracle CEP Client
» How to Programmatically Connect to the Oracle CEP JMX Server From an Oracle CEP Client
» How to Programmatically Configure an Oracle CEP Component Using JMX APIs
» Databases Supported by the Oracle JDBC Driver
» Databases Supported by the Type 4 JDBC Driver for SQL Server from DataDirect
» Default Data Source Configuration
» Custom Data Source Configuration
» Getting the Native JDBC Connection
» Configuring Access to a Database Using the Oracle JDBC Driver
» Configuring Access to a Database Using the Type 4 JDBC Drivers from Data Direct
» How to Access a Database Driver Using an Application Library Built With bundler.sh
» How to Access a Database Driver Using bootclasspath
» How the HTTP Pub-Sub Server Works
» HTTP Pub-Sub Server Support in Oracle CEP
» Creating a New HTTP Publish-Subscribe Server
» Configuring an Existing HTTP Publish-Subscribe Server
» Example HTTP Publish-Subscribe Server Configuration
» Log Files Log Message Format
» OSGi Framework Logger Overview of Logging and Debugging Configuration
» logging-service Configuring the Oracle CEP Logging Service
» log-file Configuring the Oracle CEP Logging Service
» log-stdout Configuring the Oracle CEP Logging Service
Show more