Appendix I. Automated WebSphere Administration Examples

WebSphereJmxExample.java

 1 import java.util.Date; 2 import java.util.Properties; 3 import java.util.Set; 4 5 import javax.management.InstanceNotFoundException; 6 import javax.management.MBeanException; 7 import javax.management.MalformedObjectNameException; 8 import javax.management.Notification; 9 import javax.management.NotificationListener; 10 import javax.management.ObjectName; 11 import javax.management.ReflectionException; 12 13 import com.ibm.websphere.management.AdminClient; 14 import com.ibm.websphere.management.AdminClientFactory; 15 import com.ibm.websphere.management.exception.ConnectorException; 16 17 public class WebSphereJmxExample implements NotificationListener { 18 private ...

Get IBM WebSphere® Application Server for Distributed Platforms and z/OS®: An Administrator’s Guide now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.