FileDocCategorySizeDatePackage
ConfigConfig.javaAPI DocGlassfish v2 API6541Fri May 04 22:30:32 BST 2007com.sun.appserv.management.config

ConfigConfig

public interface ConfigConfig implements com.sun.appserv.management.base.Container, PropertiesAccess, SystemPropertiesAccess, NamedConfigElement
Configuration for the <config> element.

Fields Summary
public static final String
J2EE_TYPE
The j2eeType as returned by {@link com.sun.appserv.management.base.AMX#getJ2EEType}.
Constructors Summary
Methods Summary
public ConnectorServiceConfigcreateConnectorServiceConfig()
Create the ConnectorServiceConfig if it doesn't already exist.

public DiagnosticServiceConfigcreateDiagnosticServiceConfig()
Create the DiagnosticServiceConfig.

since
AppServer 9.0

public ThreadPoolConfigcreateThreadPoolConfig(java.lang.String name, java.util.Map optional)
Create a new <thread-pool>

param
name name of the <thread-pool> (thread-pool-id)
param
optional Map of optional attributes and properties whose keys are defined here. (eg:- MIN_THREAD_POOL_SIZE_KEY)
return
A proxy to the ThreadPoolConfig MBean.
see
ThreadPoolConfigKeys

public AdminServiceConfiggetAdminServiceConfig()
Return the AdminServiceConfig.

public AvailabilityServiceConfiggetAvailabilityServiceConfig()
Return the AvailabilityServiceConfig.

public ConnectorServiceConfiggetConnectorServiceConfig()
Return the ConnectorServiceConfig.

public DiagnosticServiceConfiggetDiagnosticServiceConfig()
Return the DiagnosticServiceConfig. May be null.

since
AppServer 9.0

public booleangetDynamicReconfigurationEnabled()
When set to "true" then any changes to the system (e.g. applications deployed, resources created) will be automatically applied to the affected servers without a restart being required. When set to "false" such changes will only be picked up by the affected servers when each server restarts.

since
AppServer 9.0

public EJBContainerConfiggetEJBContainerConfig()
Return the EJBContainerConfig.

public GroupManagementServiceConfiggetGroupManagementServiceConfig()
Return the Group Management Service configuration.

since
AppServer 9.0

public HTTPServiceConfiggetHTTPServiceConfig()
Return the HTTPServiceConfig.

public IIOPServiceConfiggetIIOPServiceConfig()
Return the IIOPServiceConfig.

public JMSServiceConfiggetJMSServiceConfig()
Return the JMSServiceConfig.

public JavaConfiggetJavaConfig()
Return the JavaConfig.

public LogServiceConfiggetLogServiceConfig()
Return the LogServiceConfig.

public MDBContainerConfiggetMDBContainerConfig()
Return the MDBContainerConfig.

public ManagementRulesConfiggetManagementRulesConfig()

return
ManagementRulesConfig (may be null );

public MonitoringServiceConfiggetMonitoringServiceConfig()
Return the MonitoringServiceConfig.

public SecurityServiceConfiggetSecurityServiceConfig()
Return the SecurityServiceConfig.

public java.util.MapgetThreadPoolConfigMap()
Calls Container.getContaineeMap( XTypes.THREAD_POOL_CONFIG ).

return
Map of ThreadPoolConfig proxies, keyed by name.
see
com.sun.appserv.management.base.Container#getContaineeMap

public TransactionServiceConfiggetTransactionServiceConfig()
Return the TransactionServiceConfig.

public WebContainerConfiggetWebContainerConfig()
Return the WebContainerConfig.

public voidremoveConnectorServiceConfig()

public voidremoveDiagnosticServiceConfig()
Remove the DiagnosticServiceConfig.

since
AppServer 9.0

public voidremoveThreadPoolConfig(java.lang.String name)
Removes a thread-pool element.

param
name name of the <thread-pool> (thread-pool-id)

public voidsetDynamicReconfigurationEnabled(boolean enabled)

see
#getDynamicReconfigurationEnabled
since
AppServer 9.0