Adding Jrun Service Security; Loading Mbeans Through Mlets - Adobe 38000382 - Macromedia JRun - Mac Manual

Jrun sdk guide
Table of Contents

Advertisement

Loading MBeans through MLETs

JRun uses Java Management Extensions (JMX) to drive its service-based architecture.
Additionally, JRun lets you use MLETs (abbreviation for management applets) to
dynamically load JMX MBeans across a network using a remote URL. You define
MLETs to JRun in the SERVER-INF/jrun.mlets file, which contain one or more MLET
tags that define JMX MBeans, their locations, and attributes.
When the JRun server starts, it loads the JMX MBean. While MBeans loaded through
MLETs are not JRun services, you can access the MBeans through a JMX management
tool, such as the JMX HTML Adapter, which is defined through the HTMLAgent
service in the jrun.xml file.
The following example shows an MLET tag in the jrun.mlets file:
...
<!--
-->
<!-- Example MLet -->
<MLET
CODE="jrun.samples.services.SampleMletService"
ARCHIVE="jrunsamples.jar"
CODEBASE="./lib/"
NAME=":mbean=SampleMletService"
>
</MLET>
For more information on the JMX HTMLAgent service, see JRun Administrator's Guide.
For more information on JMX, see the Sun website.
92
Chapter 8 JRun Services
This file is used to add third-party JMX MBeans
to the JRun server. If you have an existing JMX
library or component that you wish to load into
JRun, add your existing MLET entries to this file.
Your MBeans can be loaded across the network; if
this is the desired behavior, be sure to include
the CODEBASE attribute in your MLet entry.
Your MBeans will be loaded and added to the JRun
MBeanServer immediately after all JRun services
are loaded, initialized, and started.
<attribute name="string">Hello World</attribute>
<attribute name="woStringValue">foobar</attribute>

Advertisement

Table of Contents
loading

This manual is also suitable for:

Macromedia jrun 4

Table of Contents