Documentation Home
> Java Dynamic Management Kit 4.1 Tutorial
Java Dynamic Management Kit 4.1 Tutorial
Book Information
Preface
Part I Instrumentation through MBeans
Chapter 1 Standard MBeans
Exposing the MBean Interface
Attributes
Operations
Implementing the MBean
Running the Standard MBean Example
Chapter 2 Dynamic MBeans
Exposing the Management Interface
The DynamicMBean Interface
The MBean Descriptor Classes
Implementing a Dynamic MBean
Dynamic Programming Issues
The 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
Part II Agent Applications
Chapter 3 The MBean Server in a Minimal Agent
MBean Server Classes
The MBeanServer Interface
The MBean Server Implementation and Factory
The Minimal Agent
Referencing MBeans
Object Names
Domains
Key Properties
Usage
The ObjectInstance of an MBean
A Minimalist Agent
Running the Minimal Agent Example
Chapter 4 The HTML Protocol Adaptor
The Agent View
The MBean List
The MBean Server Delegate
The MBean View
The Header and Description
The Table of Attributes
The Operations
Agent Administration
Instantiating and Managing MBeans
Filtering MBeans
Chapter 5 The Base Agent
The 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
Part III Notification Mechanisms
Chapter 6 Agent-Side Notifications
MBean Server Delegate Notifications
The NotificationBroadcaster Interface
The NotificationListener Interface
Adding a Listener Through the MBean Server
Attribute Change Notifications
The NotificationBroadcasterSupport Class
The Attribute Change Listener
Adding a Listener Directly to an MBean
Running the Agent Notification Example
Chapter 7 Notification Forwarding
Registering Manager-Side Listeners
The Agent-Side Broadcaster
The Manager-Side Listener
Adding the Listener Through the Connector
Push Mode
Pull Mode
Periodic Pulling
On-Demand Forwarding
Agent-Side Buffering
Buffering Specifics
Buffering Generalities
Running the Notification Forwarding Example
Part IV Agent Services
Chapter 8 The M-Let Class Loader
The M-Let Loader (JDK 1.1)
Loading MBeans from a URL
Shortcut for Loading MBeans
Running the M-Let Agent Example
M-Let Loading from a Manager (JDK1.1)
Asking the Agent to Load Classes
Running the M-Let Manager Example
The M-Let Loader (Java 2)
Loading MBeans from a URL
Shortcut for Loading MBeans
Loading MBeans Directly
Running the M-Let Agent Example
M-Let Loading from a Manager (Java 2)
Asking the Agent to Load Classes
Running the M-Let Manager Example
Chapter 9 The 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
The RelationTypeSupport Class
The RelationSupport Class
Running the Relation Service Example
Chapter 10 Cascading Agents
The CascadingAgent MBean
The Mirror MBeans in the Master Agent
The Class of a Mirror MBean
Cascading Issues
Dynamic Mirroring
MBean Filtering
Naming in Cascading Agents
Running the Cascading Example
Chapter 11 The Discovery Service
Active Discovery
The Discovery Client
Performing a Discovery Operation
Unicast Response Mode
Multicast Response Mode
Passive Discovery
The Discovery Responder
Discovery Monitor
Discovery Responder Notifications
Running the Discovery Example
Part V SNMP Interoperability
Chapter 12 Creating an SNMP Agent
MIB Development Process
Generating MIB MBeans
Implementing the MIB
Compiling the MBeans and Agents
The SNMP Protocol Adaptor
Launching the SNMP Adaptor
Creating MIB MBeans
Binding the MIB MBeans
Accessing a MIB MBean
Managing the SNMP Adaptor
Running the SNMP Agent Example
Sending Traps
Specifying the Trap Destination
Using an ACL Trap Group
Specifying the Hostname Directly
Traps in the Agent Example
Stand-Alone SNMP Agents
Running the Stand-Alone Agent Example
Chapter 13 Developing an SNMP Manager
The Synchronous Manager Example
SNMP Trap Handler
Running the SyncManager Example
The Asynchronous Manager Example
The Response Handler
Running the AsyncManager Example
The Inform Request Example
Sending an Inform Request
Receiving Inform Requests
Running the Inform Request Example
Chapter 14 Security Mechanisms in the SNMP Toolkit
Access Control Lists (ACL)
ACL File Format
Format of the acl Group
Format of the trap Group
Enabling Access Control
Custom Access Control
Message-Level Security
Implementing the SnmpPduFactory Interface
Using a Custom PDU Factory
Running the Secure Agent Example
SNMP Manager Security
Chapter 15 Implementing an SNMP Proxy
The Proxy Roles
The Master Agent
The Subagent
The Manager Application
The SNMP Proxy Implementation
Running the SNMP Proxy Example
© 2010, Oracle Corporation and/or its affiliates