Documentation Home
> Java Dynamic Management Kit 5.0 Tutorial
Java Dynamic Management Kit 5.0 Tutorial
Book Information
Preface
Part I Instrumentation Using MBeans
Chapter 1 Standard MBeans
Exposing the MBean Interface
Attributes
Operations
Implementing an MBean
Running the Standard MBean Example
Chapter 2 Dynamic MBeans
Exposing the Management Interface
DynamicMBean Interface
MBean Metadata Classes
Implementing a Dynamic MBean
Dynamic Programming Issues
getMBeanInfo Method
Generic Attribute Getters and Setters
Bulk Getters and Setters
Generic Operation Invoker
Running the Dynamic MBean Example
Comparison With the SimpleStandard Example
Dynamic MBean Execution Time
Chapter 3 Model MBeans
RequiredModelMBean Class
Model MBean Metadata
Target Object(s)
Creating a Model MBean
Running the Model MBean Example
Chapter 4 Open MBeans
Open MBean Data Types
Supported Data Types
Type Descriptor Classes
Open Data Instances
CompositeData and TabularData Instances
CompositeDataSupport Class
TabularDataSupport Class
Open MBean Metadata Classes
Running the Open MBean Examples
Open MBean Example 1
Open MBean Example 2
Part II Agent Applications
Chapter 5 MBean Server in a Minimal Agent
MBean Server Classes
MBeanServer Interface
MBean Server Implementation and Factory
Minimal Agent
Referencing MBeans
Object Names
Domains
Key Properties
Usage
ObjectInstance of an MBean
Minimalist Agent
Running the Minimal Agent Example
Chapter 6 HTML Protocol Adaptor
Agent View
MBean List
MBean Server Delegate
MBean View
Header and Description
Table of Attributes
List of Operations
Agent Administration
Instantiating and Managing MBeans
Filtering MBeans
Chapter 7 MBean Interceptors
Overview of MBean Interceptors
Specifying the Behavior of an MBean Interceptor
Changing the Default Interceptor
Running the MBean Interceptor Example
Chapter 8 Base Agent
Agent Application
Creating an MBean (Method 1)
Creating an MBean (Method 2)
Creating an MBean (Method 3)
Managing MBeans
Filtering MBeans
Running the Base Agent Example
Setting Trace Messages
Agent Output
Chapter 9 Notification Mechanism
Overview
MBean Server Delegate Notifications
NotificationBroadcaster Interface
NotificationListener Interface
Adding a Listener Through the MBean Server
Attribute Change Notifications
NotificationBroadcasterSupport Class
Attribute Change Listener
Adding a Listener Directly to an MBean
Running the Agent Notification Example
Part III Remote Management Applications
Chapter 10 Protocol Connectors
Connector Servers
Instantiating an RMI Connector Server
Connector States
Connector Clients
Multihome Interfaces
RemoteMBeanServer Interface
Establishing a Connection
Managing MBeans Remotely
Creating and Unregistering MBeans in the Agent
Accessing MBean Attributes and Operations
Creating and Accessing Dynamic MBeans
Running the SimpleClients Example
Heartbeat Mechanism
Configuring the Heartbeat
Receiving Heartbeat Notifications
Running the Heartbeat Example
Chapter 11 MBean Proxies
Proxy Mechanism
Local and Remote Proxies
Proxy Interface
Standard MBean Proxies
Generating Proxies for Standard MBeans
Using Standard MBean Proxies
Running the Standard Proxy Example
Generic Proxies
Running the Generic Proxy Example
Proxies for Java DMK Components
Proxy Packages
Compiling the Proxy Classes
Chapter 12 Notification Forwarding
Registering Manager-Side Listeners
Agent-Side Broadcaster
Manager-Side Listener
Adding a Listener Through the Connector
Push Mode
Pull Mode
Periodic Forwarding
On-Demand Forwarding
Agent-Side Buffering
Buffering Specifics
Buffering Generalities
Running the Notification Forwarding Example
Chapter 13 Access Control and Security
Password-Based Authentication
Running the Example With Authentication
Context Checking
Filter Mechanism
Context Implementation
Running the Example With Context Checking
HTTPS Connector
Part IV Agent Services
Chapter 14 M-Let Class Loader
M-Let Loader
Loading MBeans from a URL
Shortcut for Loading MBeans
Loading MBeans Directly
Running the M-Let Agent Example
M-Let Loading From a Manager
Asking the Agent to Load Classes
Running the M-Let Manager Example
Secure Class Loading
Code Signing
Chapter 15 Relation Service
Defining Relations
Defining Role Information
Defining Relation Types
Creating Relations
Operations of the Relation Service
Query Operations
Accessing Roles
Maintaining Consistency
Relation Service Notifications
Objects Representing Relations
RelationTypeSupport Class
RelationSupport Class
Running the Relation Service Example
Chapter 16 Cascading Agents
CascadingAgent MBean
Mirror MBeans in the Master Agent
Class of a Mirror MBean
Cascading Issues
Dynamic Mirroring
MBean Filtering
Naming in Cascading Agents
Running the Cascading Example
Chapter 17 Discovery Service
Active Discovery
Discovery Client
Performing a Discovery Operation
Unicast Response Mode
Multicast Response Mode
Passive Discovery
Discovery Responder
Discovery Monitor
Discovery Responder Notifications
Running the Discovery Example
Part V SNMP Interoperability
Chapter 18 Creating an SNMP Agent
MIB Development Process
Generating MIB MBeans
Implementing the MIB
Compiling the MBeans and Agents
SNMP Protocol Adaptor
Starting the SNMP Adaptor
Creating MIB MBeans
Binding the MIB MBeans
MIB Scoping
Accessing a MIB MBean
Managing the SNMP Adaptors
Configuring SNMPv3 Security for Agents
Sending Traps
Specifying the Trap Destination
Using an InetAddressAcl Trap Group
Specifying the Hostname Directly
Traps in the Agent and AgentV3 Examples
Standalone SNMP Agents
Running the Standalone Agent Example
Multiple Agents
Running the SNMPv3 MultipleAgentV3 Example
Chapter 19 Developing an SNMP Manager
Synchronous Managers
Synchronous SNMPv1 and SNMPv2 Managers
Configuring SNMPv3 Security for Managers
Synchronous SNMPv3 Managers
SNMP Trap Handler
Synchronous Managers Accessing Several Agents
Asynchronous Managers
Response Handler
Inform Requests
Sending an Inform Request (SNMPv2)
Sending an Inform Request (SNMPv3)
Receiving Inform Requests
Chapter 20 Security Mechanisms in the SNMP Toolkit
IP-Based Access Control Lists
InetAddressAcl File Format
Format of the acl Group
Format of the Trap Group
Format of the Inform Group
Enabling InetAddressAcl
Custom Access Control
SNMPv3 User-Based Access Control
Enabling User-Based Access Control
SNMPv3 User-Based Security Model
SNMPv3 Engines
Generating SNMPv3 Engine IDs
SNMPv3 USM Configuration
Adding Users to the Security Files
Enabling Privacy in SNMPv3 Agents
Enabling Privacy in SNMPv3 Managers
Creating Users for SNMPv3 USM MIBs
Legacy Security
Decoding and Encoding SNMP Packets
SnmpPduFactory Interface
Implementing a New SnmpPduFactory Class
Chapter 21 SNMP Master Agent
SNMP Master Agent and the SNMPv3 Proxy Forwarder
Overview of the SNMP Master Agent
SnmpV3AdaptorServer
SnmpProxy
SnmpUsmProxy
SnmpTrapForwarder
Routing Overlapping MIBs
Shadowing Overlapping MIBs
Delegation and Precedence of Overlapping MIBs
MIB Scoping in Master Agents
Trap Forwarding
Configuration of Trap Targets
Proxy Forwarding and Notification Originators
Proxy Forwarding
Notification Originators
Protocol Translation
SNMP Proxy Translation
SNMP USM Proxy Translation
Atomicity and Error Handling
SNMP Master Agent Examples
Proxy Creation in SNMPv1 and SNMPv2 Master Agents
Proxy Creation in SNMPv3 Master Agents
MIB Overlapping in Master Agents
Running the SNMP Master Agent Examples
Index
A
B
C
D
E
G
H
I
J
L
M
N
O
P
R
S
T
U
W
© 2010, Oracle Corporation and/or its affiliates