| Installing Upgrading Designing Configuring Deploying Monitoring Administering Troubleshooting Reference JBI Components | |
| Close Print View | |
| Reference: Java CAPS Management Client |
|
Java CAPS Management and Monitoring APIs
To Start Using APIs to Create Applications
Connecting to the Server Through APIs
CAPSManagementClientFactory Definition
Services -- JavaCAPSManagementAPI
Performance Measurement Service
Master Data Management (MDM) Service
Sun Adapters Management Service
Target Option Behavior for the Management Client
Writing Java Code to Access APIs Using Java Code Samples
To Set Up a Database Using Enterprise Manager
To Set Up a Database Using a Scripting Utility
Using Oracle and Other Databases for Alert Persistence
To Set Up an Oracle Database for Alert Persistence
Downloading, Installing, and Setting Up A Scripting Environment
Setting Up a Scripting Environment to Invoke Java CAPS Management and Monitoring APIs
To Modify the Environment Variables in env.bat
Using a Scripting Language to Exercise the Java CAPS Management and Monitoring APIs
Exercising the Administration Service
Exercising the Configuration Service
Exercising the Deployment Service
Exercising the Installation Service
Exercising the Runtime Management Service
Exercising the JMS Management Service
Exercising the BPEL Management Service
Exercising the HTTP Administration Service
Exercising the Notification Service
JRuby Integrated into NetBeans IDE
Understanding Sun Master Index Configuration Options (Repository)
Understanding Sun Master Index Processing (Repository)
Understanding the Sun Match Engine
Understanding the Business Rules Method Palette
What's New in the Sun TCP/IP HL7 Adapter
Sun Master Data Management Suite Primer
Understanding Sun Master Index Configuration Options
Understanding the Master Index Match Engine
Understanding the Master Index Standardization Engine
United States Patient Solution Using MDM
This topic introduces you to the Java CAPS Management Client and the clients that use the API set with JBI based Java CAPS runtime and Non-JBI based Java CAPS runtime.
Scripting client — Use any JSR 223 scripting client, such as Groovy, JRuby, Jython, or JACL. See Setting Up Scripting Engines for additional information.
Note - Groovy samples are included with the Java CAPS Release 6 delivery.
CLI client — Exercise the APIs using your own Command-line Interface client that you built using predefined functioning code, preferably Java.
Other Web/GUI clients — Exercise the APIs using your custom Web/GUI client.
Examples of Typical Client Usage
try {
// Get the Management Client
ManagementClient client = ManagementClientFactory.getInstance
("localhost", 4848, "admin", "adminadmin");
// Get the Administration Service
AdministrationService administrationService =
client.getService(AdministrationService.class);
// ... Use the Administration Service ...
// Get the Configuration Service
ConfigurationService configurationService =
client.getService(ConfigurationService.class);
// ... Use the Configuration Service ...
// Get the Deployment Service
DeploymentService deploymentService =
client.getService(DeploymentService.class);
// ... Use the Deployment Service ...
// Get the Installation Service
InstallationService installationService =
client.getService(InstallationService.class);
// ... Use the Installation Service ...
// Get the Runtime Management Service
RuntimeManagementService runtimeManagementService =
client.getService(RuntimeManagementService.class);
// ... Use the Runtime Management Service ...
// Get the JMS Management Service
JmsManagementService jmsManagementService =
client.getService(JmsManagementService.class);
// ... Use the JMS Management Service ...
// Get the Alert Management Service
AlertManagementService alertManagementService =
client.getService(AlertManagementService.class);
// ... Use the Alert Management Service ...
// Get the Log Management Service
LogManagementService logManagementService =
client.getService(LogManagementService.class);
// ... Use the Log Management Service ...
} catch (ManagementRemoteException exception) {
// Format the exception and print it.
String formattedExceptionResult=
ManagementRemoteExceptionProcessor.processTaskException(exception);
System.out.println(formattedExceptionResult);
}