GestoreRisorseJMXGovWay.java

  1. /*
  2.  * GovWay - A customizable API Gateway
  3.  * https://govway.org
  4.  *
  5.  * Copyright (c) 2005-2025 Link.it srl (https://link.it).
  6.  *
  7.  * This program is free software: you can redistribute it and/or modify
  8.  * it under the terms of the GNU General Public License version 3, as published by
  9.  * the Free Software Foundation.
  10.  *
  11.  * This program is distributed in the hope that it will be useful,
  12.  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  13.  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  14.  * GNU General Public License for more details.
  15.  *
  16.  * You should have received a copy of the GNU General Public License
  17.  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  18.  *
  19.  */


  20. package org.openspcoop2.pdd.core.jmx;

  21. import java.util.Properties;

  22. import org.slf4j.Logger;
  23. import org.openspcoop2.pdd.core.CostantiPdD;
  24. import org.openspcoop2.utils.jmx.RisorseJMXException;


  25. /**
  26.  * Gestore risorse JMX utilizzate da OpenSPCoop
  27.  *  
  28.  * @author Poli Andrea (apoli@link.it)
  29.  * @author $Author$
  30.  * @version $Rev$, $Date$
  31.  */
  32. public class GestoreRisorseJMXGovWay extends org.openspcoop2.utils.jmx.GestoreRisorseJMX {

  33.     public GestoreRisorseJMXGovWay() throws RisorseJMXException {
  34.         super();
  35.     }


  36.     public GestoreRisorseJMXGovWay(Logger logger) throws RisorseJMXException {
  37.         super(logger);
  38.     }


  39.     public GestoreRisorseJMXGovWay(String jndiNameMBeanServer,
  40.             Properties jndiContext, Logger logger, Logger loggerConsole)
  41.             throws RisorseJMXException {
  42.         super(jndiNameMBeanServer, jndiContext, logger, loggerConsole);
  43.     }
  44.     public GestoreRisorseJMXGovWay(String jndiNameMBeanServer,
  45.             Properties jndiContext, Logger logger) throws RisorseJMXException {
  46.         super(jndiNameMBeanServer, jndiContext, logger);
  47.     }
  48.     public GestoreRisorseJMXGovWay(String jndiNameMBeanServer, Properties jndiContext)
  49.             throws RisorseJMXException {
  50.         super(jndiNameMBeanServer, jndiContext);
  51.     }
  52.    
  53.    
  54.     public GestoreRisorseJMXGovWay(String tipoApplicationServer, String factory, String serverUrl, String username,  String password) throws RisorseJMXException{
  55.         super(tipoApplicationServer,factory,serverUrl,username,password);
  56.     }
  57.     public GestoreRisorseJMXGovWay(String tipoApplicationServer, String factory, String serverUrl, String username,  String password,
  58.             Logger logger) throws RisorseJMXException{
  59.         super(tipoApplicationServer,factory,serverUrl,username,password,logger);
  60.     }
  61.     public GestoreRisorseJMXGovWay(String tipoApplicationServer, String factory, String serverUrl, String username,  String password,
  62.             Logger logger,Logger loggerConsole) throws RisorseJMXException{
  63.         super(tipoApplicationServer,factory,serverUrl,username,password,logger,loggerConsole);
  64.     }


  65.     /**
  66.      * Registrazione del MBean per la ConfigurazionePdD
  67.      *
  68.      * @throws RisorseJMXException
  69.      */
  70.     public void registerMBeanConfigurazionePdD()throws RisorseJMXException{
  71.         try{
  72.             this.registerMBean(org.openspcoop2.pdd.core.jmx.ConfigurazionePdD.class, CostantiPdD.JMX_CONFIGURAZIONE_PDD);
  73.         }catch(Exception e){
  74.             String msg = "Riscontrato errore durante l'inizializzazione della risorsa JMX ConfigurazionePdD: "+e.getMessage();
  75.             this.logError(msg,e);
  76.             throw new RisorseJMXException(msg,e);
  77.         }  
  78.        
  79.     }
  80.    
  81.    
  82.     /**
  83.      * Registrazione del MBean per l'accesso al registro dei servizi
  84.      *
  85.      * @throws RisorseJMXException
  86.      */
  87.     public void registerMBeanAccessoRegistroServizi()throws RisorseJMXException{
  88.         try{
  89.             this.registerMBean(org.openspcoop2.pdd.core.jmx.AccessoRegistroServizi.class, CostantiPdD.JMX_REGISTRO_SERVIZI);
  90.         }catch(Exception e){
  91.             String msg = "Riscontrato errore durante l'inizializzazione della risorsa JMX AccessoRegistroServizi: "+e.getMessage();
  92.             this.logError(msg,e);
  93.             throw new RisorseJMXException(msg,e);
  94.         }  
  95.        
  96.     }
  97.    
  98.     /**
  99.      * Registrazione del MBean per il monitoraggio
  100.      *
  101.      * @throws RisorseJMXException
  102.      */
  103.     public void registerMBeanMonitoraggioRisorse()throws RisorseJMXException{
  104.         try{
  105.             this.registerMBean(org.openspcoop2.pdd.core.jmx.MonitoraggioRisorse.class, CostantiPdD.JMX_MONITORAGGIO_RISORSE);
  106.         }catch(Exception e){
  107.             String msg = "Riscontrato errore durante l'inizializzazione della risorsa JMX MonitoraggioRisorse: "+e.getMessage();
  108.             this.logError(msg,e);
  109.             throw new RisorseJMXException(msg,e);
  110.         }  
  111.        
  112.     }
  113.    
  114.     /**
  115.      * Registrazione del MBean per l'autorizzazione
  116.      *
  117.      * @throws RisorseJMXException
  118.      */
  119.     public void registerMBeanAutorizzazione()throws RisorseJMXException{
  120.         try{
  121.             this.registerMBean(org.openspcoop2.pdd.core.jmx.EngineAutorizzazione.class, CostantiPdD.JMX_AUTORIZZAZIONE);
  122.         }catch(Exception e){
  123.             String msg = "Riscontrato errore durante l'inizializzazione della risorsa JMX Autorizzazione: "+e.getMessage();
  124.             this.logError(msg,e);
  125.             throw new RisorseJMXException(msg,e);
  126.         }  
  127.        
  128.     }
  129.    
  130.     /**
  131.      * Registrazione del MBean per l'autenticazione
  132.      *
  133.      * @throws RisorseJMXException
  134.      */
  135.     public void registerMBeanAutenticazione()throws RisorseJMXException{
  136.         try{
  137.             this.registerMBean(org.openspcoop2.pdd.core.jmx.EngineAutenticazione.class, CostantiPdD.JMX_AUTENTICAZIONE);
  138.         }catch(Exception e){
  139.             String msg = "Riscontrato errore durante l'inizializzazione della risorsa JMX Autenticazione: "+e.getMessage();
  140.             this.logError(msg,e);
  141.             throw new RisorseJMXException(msg,e);
  142.         }  
  143.        
  144.     }
  145.    
  146.     /**
  147.      * Registrazione del MBean per la gestione dei token
  148.      *
  149.      * @throws RisorseJMXException
  150.      */
  151.     public void registerMBeanGestioneToken()throws RisorseJMXException{
  152.         try{
  153.             this.registerMBean(org.openspcoop2.pdd.core.jmx.EngineGestioneToken.class, CostantiPdD.JMX_TOKEN);
  154.         }catch(Exception e){
  155.             String msg = "Riscontrato errore durante l'inizializzazione della risorsa JMX Token: "+e.getMessage();
  156.             this.logError(msg,e);
  157.             throw new RisorseJMXException(msg,e);
  158.         }  
  159.        
  160.     }
  161.    
  162.     /**
  163.      * Registrazione del MBean per la gestione dell'Attribute Authority
  164.      *
  165.      * @throws RisorseJMXException
  166.      */
  167.     public void registerMBeanAttributeAuthority()throws RisorseJMXException{
  168.         try{
  169.             this.registerMBean(org.openspcoop2.pdd.core.jmx.EngineAttributeAuthority.class, CostantiPdD.JMX_ATTRIBUTE_AUTHORITY);
  170.         }catch(Exception e){
  171.             String msg = "Riscontrato errore durante l'inizializzazione della risorsa JMX AttributeAuthority: "+e.getMessage();
  172.             this.logError(msg,e);
  173.             throw new RisorseJMXException(msg,e);
  174.         }  
  175.        
  176.     }
  177.    
  178.     /**
  179.      * Registrazione del MBean per il salvataggio delle risposte in cache
  180.      *
  181.      * @throws RisorseJMXException
  182.      */
  183.     public void registerMBeanResponseCaching()throws RisorseJMXException{
  184.         try{
  185.             this.registerMBean(org.openspcoop2.pdd.core.jmx.EngineResponseCaching.class, CostantiPdD.JMX_RESPONSE_CACHING);
  186.         }catch(Exception e){
  187.             String msg = "Riscontrato errore durante l'inizializzazione della risorsa JMX Response Caching: "+e.getMessage();
  188.             this.logError(msg,e);
  189.             throw new RisorseJMXException(msg,e);
  190.         }  
  191.        
  192.     }
  193.    
  194.     /**
  195.      * Registrazione del MBean per il salvataggio dei keystore
  196.      *
  197.      * @throws RisorseJMXException
  198.      */
  199.     public void registerMBeanKeystoreCaching()throws RisorseJMXException{
  200.         try{
  201.             this.registerMBean(org.openspcoop2.pdd.core.jmx.EngineKeystoreCaching.class, CostantiPdD.JMX_KEYSTORE_CACHING);
  202.         }catch(Exception e){
  203.             String msg = "Riscontrato errore durante l'inizializzazione della risorsa JMX Keystore Caching: "+e.getMessage();
  204.             this.logError(msg,e);
  205.             throw new RisorseJMXException(msg,e);
  206.         }  
  207.        
  208.     }
  209.    
  210.     /**
  211.      * Registrazione del MBean per la consegna dei contenuti applicativi
  212.      *
  213.      * @throws RisorseJMXException
  214.      */
  215.     public void registerMBeanConsegnaApplicativi()throws RisorseJMXException{
  216.         try{
  217.             this.registerMBean(org.openspcoop2.pdd.core.jmx.GestoreConsegnaApplicativi.class, CostantiPdD.JMX_LOAD_BALANCER);
  218.         }catch(Exception e){
  219.             String msg = "Riscontrato errore durante l'inizializzazione della risorsa JMX Gestore Consegna Applicativi: "+e.getMessage();
  220.             this.logError(msg,e);
  221.             throw new RisorseJMXException(msg,e);
  222.         }  
  223.        
  224.     }
  225.    
  226.     /**
  227.      * Registrazione del MBean per la gestione delle richieste
  228.      *
  229.      * @throws RisorseJMXException
  230.      */
  231.     public void registerMBeanGestioneRichieste()throws RisorseJMXException{
  232.         try{
  233.             this.registerMBean(org.openspcoop2.pdd.core.jmx.GestoreRichieste.class, CostantiPdD.JMX_GESTORE_RICHIESTE);
  234.         }catch(Exception e){
  235.             String msg = "Riscontrato errore durante l'inizializzazione della risorsa JMX Gestore Richieste: "+e.getMessage();
  236.             this.logError(msg,e);
  237.             throw new RisorseJMXException(msg,e);
  238.         }  
  239.        
  240.     }
  241.    
  242.     /**
  243.      * Registrazione del MBean per il repository dei Messaggi
  244.      *
  245.      * @throws RisorseJMXException
  246.      */
  247.     public void registerMBeanRepositoryMessaggi()throws RisorseJMXException{
  248.         try{
  249.             this.registerMBean(org.openspcoop2.pdd.core.jmx.RepositoryMessaggi.class, CostantiPdD.JMX_REPOSITORY_MESSAGGI);
  250.         }catch(Exception e){
  251.             String msg = "Riscontrato errore durante l'inizializzazione della risorsa JMX RepositoryMessaggi: "+e.getMessage();
  252.             this.logError(msg,e);
  253.             throw new RisorseJMXException(msg,e);
  254.         }  
  255.        
  256.     }
  257.    

  258.     /**
  259.      * Registrazione del MBean per lo stato dei servizi PdD
  260.      *
  261.      * @throws RisorseJMXException
  262.      */
  263.     public void registerMBeanStatoServiziPdD()throws RisorseJMXException{
  264.         try{
  265.             this.registerMBean(org.openspcoop2.pdd.core.jmx.StatoServiziJMXResource.class, CostantiPdD.JMX_STATO_SERVIZI_PDD);
  266.         }catch(Exception e){
  267.             String msg = "Riscontrato errore durante l'inizializzazione della risorsa JMX StatoServiziPdD: "+e.getMessage();
  268.             this.logError(msg,e);
  269.             throw new RisorseJMXException(msg,e);
  270.         }  
  271.        
  272.     }
  273.    
  274.    
  275.     /**
  276.      * Registrazione del MBean per le informazioni statistiche
  277.      *
  278.      * @throws RisorseJMXException
  279.      */
  280.     public void registerMBeanStatistichePdD()throws RisorseJMXException{
  281.         try{
  282.             this.registerMBean(org.openspcoop2.pdd.core.jmx.StatisticsJMXResource.class, CostantiPdD.JMX_INFORMAZIONI_STATISTICHE_PDD);
  283.         }catch(Exception e){
  284.             String msg = "Riscontrato errore durante l'inizializzazione della risorsa JMX StatistichePdD: "+e.getMessage();
  285.             this.logError(msg,e);
  286.             throw new RisorseJMXException(msg,e);
  287.         }  
  288.        
  289.     }
  290.    
  291.    
  292.    
  293.     /**
  294.      * Registrazione del MBean per lo stato dei servizi PdD
  295.      *
  296.      * @throws RisorseJMXException
  297.      */
  298.     public void registerMBeanSystemPropertiesPdD()throws RisorseJMXException{
  299.         try{
  300.             this.registerMBean(org.openspcoop2.pdd.core.jmx.SysPropsJMXResource.class, CostantiPdD.JMX_SYSTEM_PROPERTIES_PDD);
  301.         }catch(Exception e){
  302.             String msg = "Riscontrato errore durante l'inizializzazione della risorsa JMX SystemPropertiesPdD: "+e.getMessage();
  303.             this.logError(msg,e);
  304.             throw new RisorseJMXException(msg,e);
  305.         }  
  306.        
  307.     }
  308.    
  309.    
  310.     /**
  311.      * Registrazione del MBean per la configurazione di sistema della PdD
  312.      *
  313.      * @throws RisorseJMXException
  314.      */
  315.     public void registerMBeanConfigurazioneSistema()throws RisorseJMXException{
  316.         try{
  317.             this.registerMBean(org.openspcoop2.pdd.core.jmx.ConfigurazioneSistema.class, CostantiPdD.JMX_CONFIGURAZIONE_SISTEMA);
  318.         }catch(Exception e){
  319.             String msg = "Riscontrato errore durante l'inizializzazione della risorsa JMX ConfigurazioneSistema: "+e.getMessage();
  320.             this.logError(msg,e);
  321.             throw new RisorseJMXException(msg,e);
  322.         }  
  323.        
  324.     }
  325.    
  326.    
  327.     /**
  328.      * Registrazione del MBean per il Controllo del Traffico della PdD
  329.      *
  330.      * @throws RisorseJMXException
  331.      */
  332.     public void registerMBeanControlloTraffico()throws RisorseJMXException{
  333.         try{
  334.             this.registerMBean(org.openspcoop2.pdd.core.jmx.ControlloTraffico.class, CostantiPdD.JMX_CONTROLLO_TRAFFICO);
  335.         }catch(Exception e){
  336.             String msg = "Riscontrato errore durante l'inizializzazione della risorsa JMX ControlloTraffico: "+e.getMessage();
  337.             this.logError(msg,e);
  338.             throw new RisorseJMXException(msg,e);
  339.         }  
  340.        
  341.     }
  342.    

  343.    
  344.     public Object getAttributeMBeanConfigurazionePdD(String nomeAttributo)throws RisorseJMXException{
  345.         return this.getAttribute(CostantiPdD.JMX_CONFIGURAZIONE_PDD, nomeAttributo);
  346.     }
  347.     public Object getAttributeMBeanAccessoRegistroServizi(String nomeAttributo)throws RisorseJMXException{
  348.         return this.getAttribute(CostantiPdD.JMX_REGISTRO_SERVIZI, nomeAttributo);
  349.     }
  350.     public Object getAttributeMBeanAutorizzazione(String nomeAttributo)throws RisorseJMXException{
  351.         return this.getAttribute(CostantiPdD.JMX_AUTORIZZAZIONE, nomeAttributo);
  352.     }
  353.     public Object getAttributeMBeanAutenticazione(String nomeAttributo)throws RisorseJMXException{
  354.         return this.getAttribute(CostantiPdD.JMX_AUTENTICAZIONE, nomeAttributo);
  355.     }
  356.     public Object getAttributeMBeanGestioneToken(String nomeAttributo)throws RisorseJMXException{
  357.         return this.getAttribute(CostantiPdD.JMX_TOKEN, nomeAttributo);
  358.     }
  359.     public Object getAttributeMBeanAttributeAuthority(String nomeAttributo)throws RisorseJMXException{
  360.         return this.getAttribute(CostantiPdD.JMX_ATTRIBUTE_AUTHORITY, nomeAttributo);
  361.     }
  362.     public Object getAttributeMBeanResponseCaching(String nomeAttributo)throws RisorseJMXException{
  363.         return this.getAttribute(CostantiPdD.JMX_RESPONSE_CACHING, nomeAttributo);
  364.     }
  365.     public Object getAttributeMBeanMonitoraggioRisorse(String nomeAttributo)throws RisorseJMXException{
  366.         return this.getAttribute(CostantiPdD.JMX_MONITORAGGIO_RISORSE, nomeAttributo);
  367.     }
  368.     public Object getAttributeMBeanRepositoryMessaggi(String nomeAttributo)throws RisorseJMXException{
  369.         return this.getAttribute(CostantiPdD.JMX_REPOSITORY_MESSAGGI, nomeAttributo);
  370.     }
  371.     public Object getAttributeMBeanStatoServiziPdD(String nomeAttributo)throws RisorseJMXException{
  372.         return this.getAttribute(CostantiPdD.JMX_STATO_SERVIZI_PDD, nomeAttributo);
  373.     }
  374.     public Object getAttributeMBeanStatistichePdD(String nomeAttributo)throws RisorseJMXException{
  375.         return this.getAttribute(CostantiPdD.JMX_INFORMAZIONI_STATISTICHE_PDD, nomeAttributo);
  376.     }
  377.     public Object getAttributeMBeanSystemPropertiesPdD(String nomeAttributo)throws RisorseJMXException{
  378.         return this.getAttribute(CostantiPdD.JMX_SYSTEM_PROPERTIES_PDD, nomeAttributo);
  379.     }
  380.     public Object getAttributeMBeanConfigurazioneSistema(String nomeAttributo)throws RisorseJMXException{
  381.         return this.getAttribute(CostantiPdD.JMX_CONFIGURAZIONE_SISTEMA, nomeAttributo);
  382.     }
  383.     public Object getAttributeMBeanControlloTraffico(String nomeAttributo)throws RisorseJMXException{
  384.         return this.getAttribute(CostantiPdD.JMX_CONTROLLO_TRAFFICO, nomeAttributo);
  385.     }

  386.    
  387.    
  388.    
  389.    
  390.     public Object invokeMethodMBeanConfigurazionePdD(String nomeMetodo,Object[]params,String[]signature)throws RisorseJMXException{
  391.         return invoke(CostantiPdD.JMX_CONFIGURAZIONE_PDD, nomeMetodo, params, signature);
  392.     }
  393.     public Object invokeMethodMBeanConfigurazionePdD(String nomeMetodo)throws RisorseJMXException{
  394.         return invoke(CostantiPdD.JMX_CONFIGURAZIONE_PDD, nomeMetodo, null, null);
  395.     }
  396.    
  397.     public Object invokeMethodMBeanAccessoRegistroServizi(String nomeMetodo,Object[]params,String[]signature)throws RisorseJMXException{
  398.         return invoke(CostantiPdD.JMX_REGISTRO_SERVIZI, nomeMetodo, params, signature);
  399.     }
  400.     public Object invokeMethodMBeanAccessoRegistroServizi(String nomeMetodo)throws RisorseJMXException{
  401.         return invoke(CostantiPdD.JMX_REGISTRO_SERVIZI, nomeMetodo, null, null);
  402.     }
  403.    
  404.     public Object invokeMethodMBeanAutorizzazione(String nomeMetodo,Object[]params,String[]signature)throws RisorseJMXException{
  405.         return invoke(CostantiPdD.JMX_AUTORIZZAZIONE, nomeMetodo, params, signature);
  406.     }
  407.     public Object invokeMethodMBeanAutorizzazione(String nomeMetodo)throws RisorseJMXException{
  408.         return invoke(CostantiPdD.JMX_AUTORIZZAZIONE, nomeMetodo, null, null);
  409.     }
  410.    
  411.     public Object invokeMethodMBeanAutenticazione(String nomeMetodo,Object[]params,String[]signature)throws RisorseJMXException{
  412.         return invoke(CostantiPdD.JMX_AUTENTICAZIONE, nomeMetodo, params, signature);
  413.     }
  414.     public Object invokeMethodMBeanAutenticazione(String nomeMetodo)throws RisorseJMXException{
  415.         return invoke(CostantiPdD.JMX_AUTENTICAZIONE, nomeMetodo, null, null);
  416.     }
  417.    
  418.     public Object invokeMethodMBeanGestioneToken(String nomeMetodo,Object[]params,String[]signature)throws RisorseJMXException{
  419.         return invoke(CostantiPdD.JMX_TOKEN, nomeMetodo, params, signature);
  420.     }
  421.     public Object invokeMethodMBeanGestioneToken(String nomeMetodo)throws RisorseJMXException{
  422.         return invoke(CostantiPdD.JMX_TOKEN, nomeMetodo, null, null);
  423.     }
  424.    
  425.     public Object invokeMethodMBeanAttributeAuthority(String nomeMetodo,Object[]params,String[]signature)throws RisorseJMXException{
  426.         return invoke(CostantiPdD.JMX_ATTRIBUTE_AUTHORITY, nomeMetodo, params, signature);
  427.     }
  428.     public Object invokeMethodMBeanAttributeAuthority(String nomeMetodo)throws RisorseJMXException{
  429.         return invoke(CostantiPdD.JMX_ATTRIBUTE_AUTHORITY, nomeMetodo, null, null);
  430.     }
  431.    
  432.     public Object invokeMethodMBeanResponseCaching(String nomeMetodo,Object[]params,String[]signature)throws RisorseJMXException{
  433.         return invoke(CostantiPdD.JMX_RESPONSE_CACHING, nomeMetodo, params, signature);
  434.     }
  435.     public Object invokeMethodMBeanResponseCaching(String nomeMetodo)throws RisorseJMXException{
  436.         return invoke(CostantiPdD.JMX_RESPONSE_CACHING, nomeMetodo, null, null);
  437.     }
  438.    
  439.     public Object invokeMethodMBeanMonitoraggioRisorse(String nomeMetodo,Object[]params,String[]signature)throws RisorseJMXException{
  440.         return invoke(CostantiPdD.JMX_MONITORAGGIO_RISORSE, nomeMetodo, params, signature);
  441.     }
  442.     public Object invokeMethodMBeanMonitoraggioRisorse(String nomeMetodo)throws RisorseJMXException{
  443.         return invoke(CostantiPdD.JMX_MONITORAGGIO_RISORSE, nomeMetodo, null, null);
  444.     }
  445.    
  446.     public Object invokeMethodMBeanRepositoryMessaggi(String nomeMetodo,Object[]params,String[]signature)throws RisorseJMXException{
  447.         return invoke(CostantiPdD.JMX_REPOSITORY_MESSAGGI, nomeMetodo, params, signature);
  448.     }
  449.     public Object invokeMethodMBeanRepositoryMessaggi(String nomeMetodo)throws RisorseJMXException{
  450.         return invoke(CostantiPdD.JMX_REPOSITORY_MESSAGGI, nomeMetodo, null, null);
  451.     }
  452.    
  453.     public Object invokeMethodMBeanStatoServiziPdD(String nomeMetodo,Object[]params,String[]signature)throws RisorseJMXException{
  454.         return invoke(CostantiPdD.JMX_STATO_SERVIZI_PDD, nomeMetodo, params, signature);
  455.     }
  456.     public Object invokeMethodMBeanStatoServiziPdD(String nomeMetodo)throws RisorseJMXException{
  457.         return invoke(CostantiPdD.JMX_STATO_SERVIZI_PDD, nomeMetodo, null, null);
  458.     }
  459.    
  460.     public Object invokeMethodMBeanStatistichePdD(String nomeMetodo,Object[]params,String[]signature)throws RisorseJMXException{
  461.         return invoke(CostantiPdD.JMX_INFORMAZIONI_STATISTICHE_PDD, nomeMetodo, params, signature);
  462.     }
  463.     public Object invokeMethodMBeanStatistichePdD(String nomeMetodo)throws RisorseJMXException{
  464.         return invoke(CostantiPdD.JMX_INFORMAZIONI_STATISTICHE_PDD, nomeMetodo, null, null);
  465.     }
  466.    
  467.     public Object invokeMethodMBeanSystemPropertiesPdD(String nomeMetodo,Object[]params,String[]signature)throws RisorseJMXException{
  468.         return invoke(CostantiPdD.JMX_SYSTEM_PROPERTIES_PDD, nomeMetodo, params, signature);
  469.     }
  470.     public Object invokeMethodMBeanSystemPropertiesPdD(String nomeMetodo)throws RisorseJMXException{
  471.         return invoke(CostantiPdD.JMX_SYSTEM_PROPERTIES_PDD, nomeMetodo, null, null);
  472.     }
  473.    
  474.     public Object invokeMethodMBeanConfigurazioneSistema(String nomeMetodo,Object[]params,String[]signature)throws RisorseJMXException{
  475.         return invoke(CostantiPdD.JMX_CONFIGURAZIONE_SISTEMA, nomeMetodo, params, signature);
  476.     }
  477.     public Object invokeMethodMBeanConfigurazioneSistema(String nomeMetodo)throws RisorseJMXException{
  478.         return invoke(CostantiPdD.JMX_CONFIGURAZIONE_SISTEMA, nomeMetodo, null, null);
  479.     }
  480.    
  481.     public Object invokeMethodMBeanControlloTraffico(String nomeMetodo,Object[]params,String[]signature)throws RisorseJMXException{
  482.         return invoke(CostantiPdD.JMX_CONTROLLO_TRAFFICO, nomeMetodo, params, signature);
  483.     }
  484.     public Object invokeMethodMBeanControlloTraffico(String nomeMetodo)throws RisorseJMXException{
  485.         return invoke(CostantiPdD.JMX_CONTROLLO_TRAFFICO, nomeMetodo, null, null);
  486.     }

  487. }