Doc Set NextIndex

Solstice Enterprise Manager 4.1 Developing Java Applications Sun Microsystems

Contents

 Preface

1.  Introduction

1.1 Important Terms
1.2 Architectural Overview
1.3 Java APIs
1.4 JDMK MPA
1.5 JDMK to CMIS Event Forwarder
1.6 JMA

2.  Using the Java Management Interface API

2.1 Overview
2.1.1 Java Management Tasks
2.1.2 Java Management Task Flow
2.2 Instantiating the Platform Class
2.3 Defining Local Representation of Managed Objects
2.3.1 Instantiating the MOHandle Class
2.3.2 Instantiating MOHCollectionByRule and MOHCollectionEnum Classes
2.4 Registering Event Listeners
2.5 Handling Events
2.6 C++ Equivalents for the JMI API Classes
2.7 Sample JMI Application
2.7.1 PlatformEvent.java
2.7.2 MOHandleTest.java
2.7.3 MOHandleEvent.java
2.7.4 EmWho.java
2.7.5 CollectionEvent.java

3.  Using the Java Alarm API

3.1 Overview
3.1.1 Alarm Management Tasks
3.1.2 Alarm Management Task Flow
3.2 Instantiating the AlarmLog Class
3.3 Creating Query Objects
3.3.1 Creating FilterItem Objects
3.3.2 Creating Filter Objects
3.3.3 Creating GenericQuery Objects
3.4 Creating AlarmRecordAttributeSet Objects
3.5 Getting Alarms
3.5.1 Getting Alarm Counts
3.5.2 Getting Alarms
3.5.3 Getting Alarms in Batches
3.6 Clearing and Acknowledging Alarms
3.7 Listening for Alarm Log Events
3.8 Sample Programs
3.8.1 AlarmBatch
3.8.2 AlarmEvent
3.8.3 AlarmClear
3.8.4 AlarmDelete
3.8.5 AlarmQuery

4.  Using the Java Topology API

4.1 Overview
4.1.1 Topology Management Tasks
4.2 Differences Between the C++ and Java Topology APIs
4.3 Performing Node Operations
4.3.1 Creating Nodes
4.3.2 Loading Node Attributes
4.3.3 Changing Node Attributes
4.3.4 Destroying Nodes
4.3.5 Listening to Node Events
4.4 Performing Type Operations
4.4.1 Creating Topology Types
4.4.2 Loading Topology Types
4.4.3 Changing Topology Types
4.4.4 Destroying Topology Types
4.5 Performing Agent Operations
4.5.1 Creating Agents
4.5.2 Loading Agents
4.5.3 Changing Agents
4.5.4 Destroying Agents

5.  Configuring the JDMK Agent/Behavior Service

5.1 Overview
5.1.1 Supported Versions of JDMK
5.1.2 Prerequisites for Configuring the JDMK Agent/Behavior Service
5.2 Setting Up the JDMK MPA
5.2.1 Configuring the JDMK MPA
5.2.2 Starting and Stopping the JDMK MPA
5.3 Generating GDMO From Java Classes
5.3.1 Class Definition Conversions
5.3.2 Generation of GDMO Documents
5.3.3 Assignment of Object Identifiers
5.3.4 Mapping Between Java Constructs and GDMO
5.3.4.1 MODULE Construct
5.3.4.2 MANAGED OBJECT CLASS Construct
5.3.4.3 ATTRIBUTE Construct
5.3.4.4 ACTION Construct
5.3.4.5 NOTIFICATION Construct
5.3.5 Mapping of M-Bean Object Names
5.3.6 Mapping JDMK Java Types to ASN.1
5.3.7 Mapping Limitations
5.4 Compiling and Loading the Generated GDMO Files Into the MDR
5.5 Configuring Persistent jdmkAgent Objects
5.5.1 Starting em_jdmk_config
5.5.2 Configuration Examples
5.6 Testing Your Agent With the MIS Objects Tool
5.7 Sample Java Files
5.7.1 Converting Sample Java Classes Into GDMO
5.7.2 Listings of the Sample Java Classes

A.  Using the Java Alarm and Topology APIs Together


Sun Microsystems, Inc.
Copyright information. All rights reserved.
Doc Set  |   Next   |   Index