org.ow2.jonas.webapp.jonasadmin
Class JonasAdminJmx

java.lang.Object
  extended by org.ow2.jonas.lib.management.extensions.base.AdminJmxHelper
      extended by org.ow2.jonas.webapp.jonasadmin.JonasAdminJmx

public class JonasAdminJmx
extends AdminJmxHelper

Helper class supporting manipulation of MBeans (accessing MBeans).

Author:
Michel-Ange ANTON

Contributors: Adriana Danes


Field Summary
 
Fields inherited from class org.ow2.jonas.lib.management.extensions.base.AdminJmxHelper
AppClientModule, EJBModule, J2EEApplication, ResourceAdapterModule, s_Synchro, WebModule
 
Constructor Summary
protected JonasAdminJmx()
          Protected constructor to prevent instantiation.
 
Method Summary
static ArrayList getConnectionFactoriesList(org.apache.struts.util.MessageResources p_Resources, String domainName, String serverName)
          Return the default Connection Factories.
static ArrayList getLoggers(org.apache.struts.util.MessageResources p_Resources, WhereAreYou p_WhereAreYou, boolean p_Action)
          Return the list of all used loggers in this JOnAS server.
 
Methods inherited from class org.ow2.jonas.lib.management.extensions.base.AdminJmxHelper
extractFilename, extractValueMbeanName, findDeployedPath, findSecurityFactorySubType, getArchiveConfigObjectName, getConnectionUrl, getDatasourceDependences, getDatasourceFilesDeployable, getDatasourceFilesDeployed, getDeployed, getDepmonitorDirs, getEarFilesDeployable, getEarFilesDeployed, getFamiliesMbeansLists, getFilesDeployable, getFilesDeployed, getFirstMbean, getFirstMBeanName, getGroups, getJ2eeServerObjectName, getJ2eeServerObjectName, getJarFilesDeployable, getJarFilesDeployed, getListMbean, getListMBeanName, getMailFactoryDependences, getMailFilesDeployable, getMailFilesDeployed, getMbeansLists, getMimeMailPartFactoriesDeployed, getMimePartMailFilesDeployable, getMimePartMailFilesDeployed, getQueuesList, getRarConfigObjectName, getRarFilesDeployable, getRarFilesDeployed, getRepositoryDirs, getRoles, getSecurityDatasourceFactories, getSecurityLdapFactories, getSecurityMemoryFactories, getSessionMailFactoriesDeployed, getSessionMailFilesDeployable, getSessionMailFilesDeployed, getTomcatSecurityRealm, getTomcatSecurityRealms, getTopicsList, getTotalEJB, getTotalEJB, getTotalNbStatefulSessionBeans, getUsers, getWarFilesDeployable, getWarFilesDeployed, hasMBeanName, isAppClientModule, isDepmonitorDir, isEJBModule, isJ2EEApplication, isResourceAdapterModule, isWebModule, prepareContainersToDisplay, replace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JonasAdminJmx

protected JonasAdminJmx()
Protected constructor to prevent instantiation.

Method Detail

getConnectionFactoriesList

public static ArrayList getConnectionFactoriesList(org.apache.struts.util.MessageResources p_Resources,
                                                   String domainName,
                                                   String serverName)
Return the default Connection Factories.

Parameters:
p_Resources - The messages
Returns:
The list

getLoggers

public static ArrayList getLoggers(org.apache.struts.util.MessageResources p_Resources,
                                   WhereAreYou p_WhereAreYou,
                                   boolean p_Action)
                            throws MalformedObjectNameException
Return the list of all used loggers in this JOnAS server.

Parameters:
p_Resources - The used message resource
p_WhereAreYou - The used WhereAreYou instance
p_Action - True to get the action (to use directly in jsp) or False to get the same action but in forward (write in the file struts-config.xml)
Returns:
The list of loggers
Throws:
ManagementException
MalformedObjectNameException


Copyright © 2010 OW2 Consortium. All Rights Reserved.