Package com.sun.enterprise.admin.monitor

Examples of com.sun.enterprise.admin.monitor.MonitorListCommand


        Name name = new Name(dottedName);
        String        instanceName = name.getNamePart(0).toString();
       
        // 1. create MonitorCommand
        CommandMapper cm = CommandMapper.getInstance(instanceName);
        MonitorListCommand command  = cm.mapListCommand(dottedName)//throws InvalidDottedNameException
        // 2. create correspondent MonitoringEvent
        MonitoringEvent event = new MonitoringEvent(instanceName, dottedName, MonitoringEvent.LIST_MONITORABLE, command);
        // 3. send/receive event to instance
        AdminEventResult result = AdminEventMulticaster.multicastEvent(event);
        // 4. analyse the result
View Full Code Here

TOP

Related Classes of com.sun.enterprise.admin.monitor.MonitorListCommand

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.