Result.addFailureMessage("Failed to send to: " + badEmails) Result.addSuccessMessage("Successfully sent to: " + goodEmails) tSummary("Target addresses were: " + uniqueEmails) SenderResult result = new SenderResult() List goodEmails = new ArrayList(uniqueEmails) sendAlertNotificationEmails(alert, uniqueEmails) List emails = AlertSender.unfence(emailAddressString, String.class, ",") Ĭollection badEmails = LookupUtil.getAlertManager() The next lines pull in the email address to receive the notification from the notification configuration and the mail server to send the notification and the sender's email account from the global configuration. Plug-ins can define a single repository,which is then used for provisioning, entitlements, and updates for JBoss ON-managed resources. This stores and retrieves content (files) being managed for drift detection and remediation.Ĭontains metadata for a a repository or a group of repositories.ĭefines a content repository. Processes drift operations and configuration. Each bundle server plug-in knows about and can process a single bundle type. This type of plug-in performs tasks that the core server needs to process and manage bundles of specific bundle types, such as Ant recipes or file-based bundles. This type of plug-in only interacts with the plug-in container for the container to start and stop the plug-in and to initialize and shutdown the plug-in libraries.ĭefines an alert notification method, or the way that an alert is sent.ĭefines and processes a type of bundle. Document Information"Ĭatch-all type for any custom plug-ins. Native System Information Access"Ĭollapse section "7. Native System Information Access"Ĭollapse section "6.4. Agent Advanced Management Plug-in System (AMPS) Reference"Ĭollapse section "6.3. Agent Advanced Management Plug-in System (AMPS) Reference"Ĭollapse section "6. Agent Advanced Management Plug-in System (AMPS) ReferenceĮxpand section "6. Purging and Re-deploying an Agent Plug-inĦ. Removing and Re-deploying Agent Plug-ins"ĥ.6.2. Removing and Re-deploying Agent Plug-ins"Ĭollapse section "5.6. Removing and Re-deploying Agent Plug-insĮxpand section "5.6. Deploying Agent Plug-ins"Ĭollapse section "5.5. Writing Agent Plug-ins Using a TemplateĮxpand section "5.5. Writing Agent Plug-ins: Procedures"Ĭollapse section "5. Extended Example: Asynchronous Availability ChecksĮxpand section "5. Extended Example: Provisioning and Content Deployments (Bundles)Ĥ.8. Injected Dependency: Hibernate with JVM and JBoss ASĤ.7. Embedded Dependency: JVM MBeanServer and JBoss ASĤ.5.3. Simple Dependency: JBoss AS and JMX Plug-insĤ.5.2. Examples: Embedded and Injected Plug-in Dependencies"Ĥ.5.1. Examples: Embedded and Injected Plug-in Dependencies"Ĭollapse section "4.5. Examples: Embedded and Injected Plug-in DependenciesĮxpand section "4.5. Looking at the Plug-in Components (HttpComponent.java and HttpServiceComponent.java)Ĥ.5. Looking at the Discovery Components (HttpDiscover圜omponent.java and HttpServiceDiscover圜omponent.java)Ĥ.4.3. Looking at the Plug-in Descriptor (rhq-plugin.xml)Ĥ.4.2. Extended Example: HTTP Metrics"Ĭollapse section "4.4. Extended Example: Content Types for ResourcesĮxpand section "4.4. Plug-in Dependencies: Defining Relationships Between Plug-insĤ.3. The Breakdown of Agent Plug-in Configuration"Ĥ.2.4. The Breakdown of Agent Plug-in Configuration"Ĭollapse section "4.2. The Breakdown of Agent Plug-in ConfigurationĮxpand section "4.2. About the Advanced Management Plug-in System (AMPS) for Agent Plug-insĤ.2. Writing Agent Plug-ins: Background"Ĭollapse section "4. Setting Plug-in Configuration PropertiesĮxpand section "4. Removing and Re-deploying Server-Side Plug-ins"ģ.9. Removing and Re-deploying Server-Side Plug-ins"Ĭollapse section "3.7. Removing and Re-deploying Server-Side Plug-insĮxpand section "3.7. Deploying Server-Side Plug-ins"Ĭollapse section "3.4. Writing Server-Side Plug-ins: Procedures"Įxpand section "3.4. Writing Server-Side Plug-ins: Procedures"Ĭollapse section "3. Writing Server-Side Plug-ins: ProceduresĮxpand section "3. Breakdown of a Real Alert Sender Plug-inģ. Anatomy of Alert Sender Server-Side Plug-ins"Ģ.3.2. Anatomy of Alert Sender Server-Side Plug-ins"Ĭollapse section "2.3. Anatomy of Alert Sender Server-Side Plug-insĮxpand section "2.3. The Breakdown of Server-Side Plug-in Configuration"Ģ.3. The Breakdown of Server-Side Plug-in Configuration"Ĭollapse section "2.2. The Breakdown of Server-Side Plug-in ConfigurationĮxpand section "2.2. Writing Server-Side Plug-ins: Background"Ģ.2. Writing Server-Side Plug-ins: Background"Ĭollapse section "2. Writing Server-Side Plug-ins: BackgroundĮxpand section "2. Basic Components of Plug-ins in JBoss ON"Ģ. Basic Components of Plug-ins in JBoss ON"Ĭollapse section "1.2. Basic Components of Plug-ins in JBoss ONĮxpand section "1.2. An Overview of JBoss ON Plug-ins"Ĭollapse section "1.