FileDocCategorySizeDatePackage
IDomainMBean.javaAPI DocGlassfish v2 API4231Mon May 14 16:10:52 BST 2007com.sun.enterprise.admin.mbeanapi

IDomainMBean

public interface IDomainMBean

Fields Summary
Constructors Summary
Methods Summary
public voidaddClusteringSupportUsingProfile(java.lang.String profile)
Adds a cluster management support for this domain. Implementation should make sure that the support does not already exist. Necessary changes are made to the configuration of the domain. These changes include but are not limited to:
  • Provision of Pluggable Feature Factory that supports clusters
  • Provision of appropriate MBeanServer Builder
  • Provision of a template configuration
The behavior of the existing domain should remain unchanged as far as the deployed application, resources, any other user customizations and configuration are concerned. It should only add a cluster support. Some change in the DAS's (domain's runtime incarnation) is permissible.

param
profile a String representing the profile from which the default (template) config is taken. This config must not be null. It should exist in the /lib/install/templates location as a folder and must have a domain.xml template. By default, clients should use "cluster".
throws
ConfigException in case the profile folder did not exist, or did not have a valid domain.xml with proper <config> element named "default-config"

public java.lang.StringgetConfigDir()

public javax.management.AttributeListgetDefaultAttributeValues(java.lang.String mbeanTypeName, java.lang.String[] attrNames)

public javax.management.AttributeListgetDefaultCustomProperties(java.lang.String mbeanTypeName, javax.management.AttributeList attributeList)

public java.lang.StringgetName()
Returns the name of this domain.

return
domain name