1 23 24 28 29 34 35 package com.sun.enterprise.admin.monitor.registry; 36 37 import javax.management.j2ee.statistics.*; 38 import com.sun.enterprise.admin.monitor.stats.*; 39 40 63 public interface MonitoringRegistry { 64 65 79 public void registerEntityBeanStats(EntityBeanStats entityBeanStats, 80 String entityBeanName, String moduleName, String applicationName, 81 MonitoringLevelListener listener) throws MonitoringRegistrationException; 82 83 92 public void unregisterEntityBeanStats(String entityBeanName, String moduleName, 93 String applicationName) throws MonitoringRegistrationException; 94 95 110 public void registerStatelessSessionBeanStats( 111 StatelessSessionBeanStats statelessSessionBeanStats, 112 String statelessSessionBeanName, String moduleName, String applicationName, 113 MonitoringLevelListener listener) throws MonitoringRegistrationException; 114 115 124 public void unregisterStatelessSessionBeanStats(String statelessSessionBeanName, 125 String moduleName, String applicationName) 126 throws MonitoringRegistrationException; 127 128 143 public void registerStatefulSessionBeanStats( 144 StatefulSessionBeanStats statefulSessionBeanStats, 145 String statefulSessionBeanName, String moduleName, String applicationName, 146 MonitoringLevelListener listener) throws MonitoringRegistrationException; 147 148 157 public void unregisterStatefulSessionBeanStats(String statefulSessionBeanName, 158 String moduleName, String applicationName) throws MonitoringRegistrationException; 159 160 175 public void registerMessageDrivenBeanStats( 176 MessageDrivenBeanStats messageDrivenBeanStats, 177 String messageDrivenBeanName, String moduleName, String applicationName, 178 MonitoringLevelListener listener) throws MonitoringRegistrationException; 179 180 189 public void unregisterMessageDrivenBeanStats(String messageDrivenBeanName, 190 String moduleName, String applicationName) 191 throws MonitoringRegistrationException; 192 193 208 public void registerEJBCacheStats(EJBCacheStats ejbCacheStats, String ejbName, 209 String moduleName, String applicationName, MonitoringLevelListener listener) 210 throws MonitoringRegistrationException; 211 212 221 public void unregisterEJBCacheStats(String ejbName, String moduleName, 222 String applicationName) 223 throws MonitoringRegistrationException; 224 225 240 public void registerEJBPoolStats(EJBPoolStats ejbPoolStats, String ejbName, 241 String moduleName, String applicationName, MonitoringLevelListener listener) 242 throws MonitoringRegistrationException; 243 244 253 public void unregisterEJBPoolStats(String ejbName, String moduleName, 254 String applicationName) throws MonitoringRegistrationException; 255 256 272 public void registerEJBMethodStats(EJBMethodStats ejbMethodStats, 273 String ejbMethodName, String ejbName, String moduleName, 274 String applicationName, MonitoringLevelListener listener) 275 throws MonitoringRegistrationException; 276 277 287 public void unregisterEJBMethodStats(String ejbMethodName, String ejbName, 288 String moduleName, String applicationName) 289 throws MonitoringRegistrationException; 290 291 302 public void registerOrbConnectionManagerStats(OrbConnectionManagerStats orbConnectionManagerStats, 303 String connectionMgrName, MonitoringLevelListener listener) throws MonitoringRegistrationException; 304 305 310 public void unregisterOrbConnectionManagerStats(String orbName) 311 throws MonitoringRegistrationException; 312 313 324 public void registerThreadPoolStats(ThreadPoolStats ThreadPoolStats, 325 String threadPoolId, MonitoringLevelListener listener) 326 throws MonitoringRegistrationException; 327 328 333 public void unregisterThreadPoolStats(String poolId) 334 throws MonitoringRegistrationException; 335 336 347 public void registerConnectorConnectionPoolStats( 348 com.sun.enterprise.admin.monitor.stats.ConnectorConnectionPoolStats connectorConnectionPoolStats, 349 String connectorConnectionPoolName, MonitoringLevelListener listener) 350 throws MonitoringRegistrationException; 351 352 357 public void unregisterConnectorConnectionPoolStats(String connectorConnectionPoolName) 358 throws MonitoringRegistrationException; 359 360 371 public void registerJDBCConnectionPoolStats( 372 com.sun.enterprise.admin.monitor.stats.JDBCConnectionPoolStats jdbcConnectionPoolStats, 373 String jdbcConnectionPoolName, MonitoringLevelListener listener) 374 throws MonitoringRegistrationException; 375 376 381 public void unregisterJDBCConnectionPoolStats(String jdbcConnectionPoolName) 382 throws MonitoringRegistrationException; 383 384 393 public void registerJTAStats( 394 com.sun.enterprise.admin.monitor.stats.JTAStats jtaStats, 395 MonitoringLevelListener listener) 396 throws MonitoringRegistrationException; 397 398 402 public void unregisterJTAStats() throws MonitoringRegistrationException; 403 404 public void registerJVMStats(JVMStats stats, 405 MonitoringLevelListener listener) throws MonitoringRegistrationException; 406 407 public void unregisterJVMStats() throws MonitoringRegistrationException; 408 409 417 public void registerHttpListenerStats(HTTPListenerStats stats, 418 String listenerName, 419 String vsId, 420 MonitoringLevelListener listener) 421 throws MonitoringRegistrationException; 422 423 430 public void unregisterHttpListenerStats(String listenerName, String vsId) 431 throws MonitoringRegistrationException; 432 433 434 450 public void registerMonitoringLevelListener(MonitoringLevelListener listener, 451 com.sun.enterprise.admin.monitor.registry.MonitoredObjectType objType); 452 453 460 public void unregisterMonitoringLevelListener(MonitoringLevelListener listener); 461 462 482 483 public void registerServletStats(com.sun.enterprise.admin.monitor.stats.ServletStats stats, 484 String j2eeAppName, 485 String webModuleName, 486 String ctxRoot, 487 String vsId, 488 String servletName, 489 MonitoringLevelListener listener) 490 throws MonitoringRegistrationException; 491 492 511 512 public void unregisterServletStats(String j2eeAppName, 513 String webModuleName, 514 String ctxRoot, 515 String vsId, 516 String servletName) 517 throws MonitoringRegistrationException; 518 519 537 public void registerWebModuleStats(WebModuleStats stats, 538 String j2eeAppName, 539 String webModuleName, 540 String ctxRoot, 541 String vsId, 542 MonitoringLevelListener listener) 543 throws MonitoringRegistrationException; 544 545 561 public void unregisterWebModuleStats(String j2eeAppName, 562 String webModuleName, 563 String ctxRoot, 564 String vsId) 565 throws MonitoringRegistrationException; 566 567 584 public WebModuleStats getWebModuleStats(String j2eeAppName, 585 String webModuleName, 586 String ctxRoot, 587 String vsId); 588 589 596 public void registerPWCHttpServiceStats( 597 com.sun.enterprise.admin.monitor.stats.PWCHttpServiceStats stats, 598 MonitoringLevelListener listener) 599 throws MonitoringRegistrationException; 600 601 605 public void unregisterPWCHttpServiceStats() throws MonitoringRegistrationException; 606 607 608 614 public void registerPWCConnectionQueueStats( 615 com.sun.enterprise.admin.monitor.stats.PWCConnectionQueueStats stats, 616 MonitoringLevelListener listener) 617 throws MonitoringRegistrationException; 618 619 623 public void unregisterPWCConnectionQueueStats() throws MonitoringRegistrationException; 624 625 626 632 public void registerPWCDnsStats( 633 com.sun.enterprise.admin.monitor.stats.PWCDnsStats stats, 634 MonitoringLevelListener listener) 635 throws MonitoringRegistrationException; 636 637 638 642 public void unregisterPWCDnsStats() throws MonitoringRegistrationException; 643 644 645 651 public void registerPWCKeepAliveStats( 652 com.sun.enterprise.admin.monitor.stats.PWCKeepAliveStats stats, 653 MonitoringLevelListener listener) 654 throws MonitoringRegistrationException; 655 656 657 661 public void unregisterPWCKeepAliveStats() throws MonitoringRegistrationException; 662 663 664 670 public void registerPWCThreadPoolStats( 671 com.sun.enterprise.admin.monitor.stats.PWCThreadPoolStats stats, 672 MonitoringLevelListener listener) 673 throws MonitoringRegistrationException; 674 675 676 680 public void unregisterPWCThreadPoolStats() throws MonitoringRegistrationException; 681 682 683 689 public void registerPWCFileCacheStats( 690 com.sun.enterprise.admin.monitor.stats.PWCFileCacheStats stats, 691 MonitoringLevelListener listener) 692 throws MonitoringRegistrationException; 693 694 695 699 public void unregisterPWCFileCacheStats() throws MonitoringRegistrationException; 700 701 702 710 public void registerPWCVirtualServerStats( 711 com.sun.enterprise.admin.monitor.stats.PWCVirtualServerStats stats, 712 String vsId, 713 MonitoringLevelListener listener) 714 throws MonitoringRegistrationException; 715 716 717 722 public void unregisterPWCVirtualServerStats(String vsId) throws MonitoringRegistrationException; 723 724 732 public void registerPWCRequestStats( 733 com.sun.enterprise.admin.monitor.stats.PWCRequestStats stats, 734 String vsId, 735 MonitoringLevelListener listener) 736 throws MonitoringRegistrationException; 737 738 739 744 public void unregisterPWCRequestStats(String vsId) throws MonitoringRegistrationException; 745 746 747 757 public void registerConnectorWorkMgmtStats( 758 com.sun.enterprise.admin.monitor.stats.ConnectorWorkMgmtStats stats, 759 String j2eeAppName, 760 String moduleName, 761 MonitoringLevelListener listener) throws MonitoringRegistrationException; 762 763 774 public void registerConnectorWorkMgmtStats( 775 com.sun.enterprise.admin.monitor.stats.ConnectorWorkMgmtStats stats, 776 String j2eeAppName, 777 String moduleName, 778 boolean isJms, 779 MonitoringLevelListener listener) throws MonitoringRegistrationException; 780 781 790 public void unregisterConnectorWorkMgmtStats( 791 String j2eeAppName, 792 String moduleName) throws MonitoringRegistrationException; 793 794 795 805 public void unregisterConnectorWorkMgmtStats( 806 String j2eeAppName, 807 String moduleName, boolean isJms) throws MonitoringRegistrationException; 808 809 816 public void registerConnectionFactoryStats( 817 com.sun.enterprise.admin.monitor.stats.ConnectionFactoryStats stats, 818 String factoryName, 819 MonitoringLevelListener listener) throws MonitoringRegistrationException; 820 821 826 public void unregisterConnectionFactoryStats(String factoryName) throws MonitoringRegistrationException; 827 828 841 public void registerConnectorConnectionPoolStats( 842 com.sun.enterprise.admin.monitor.stats.ConnectorConnectionPoolStats stats, 843 String poolName, 844 String j2eeAppName, 845 String moduleName, 846 MonitoringLevelListener listener) 847 throws MonitoringRegistrationException; 848 849 856 public void unregisterConnectorConnectionPoolStats(String poolName, 857 String j2eeAppName, 858 String moduleName) 859 throws MonitoringRegistrationException; 860 861 862 873 public void registerStatefulSessionStoreStats(StatefulSessionStoreStats stats, 874 String ejbName, 875 String moduleName, 876 String j2eeAppName, 877 MonitoringLevelListener listener) 878 throws MonitoringRegistrationException; 879 880 887 public void unregisterStatefulSessionStoreStats(String ejbName, 888 String moduleName, 889 String j2eeAppName) 890 throws MonitoringRegistrationException; 891 892 893 904 public void registerTimerStats(TimerServiceStats stats, 905 String ejbName, 906 String moduleName, 907 String j2eeAppName, 908 MonitoringLevelListener listener) 909 throws MonitoringRegistrationException; 910 911 918 public void unregisterTimerStats(String ejbName, 919 String moduleName, 920 String j2eeAppName) 921 throws MonitoringRegistrationException; 922 923 937 public void registerWSAggregateStatsForWeb(Stats stats, 938 String endpointName, String moduleName, String ctxRoot, 939 String j2eeAppName, String vs, MonitoringLevelListener listener) 940 throws MonitoringRegistrationException; 941 942 952 public void unregisterWSAggregateStatsForWeb(String endpointName, 953 String moduleName, String ctxRoot, String j2eeAppName, 954 String vs) 955 throws MonitoringRegistrationException; 956 957 969 public void registerWSAggregateStatsForEjb(Stats stats, 970 String endpointName, String moduleName, String j2eeAppName, 971 MonitoringLevelListener listener) 972 throws MonitoringRegistrationException; 973 974 982 public void unregisterWSAggregateStatsForEjb(String endpointName, 983 String moduleName, String j2eeAppName) 984 throws MonitoringRegistrationException; 985 } 986 987 | Popular Tags |