Java EE 5 SDK

com.sun.appserv.management.config
Interface ConfigConfig

All Superinterfaces:
AMX, AMXConfig, AMXMBeanLogging, ConfigElement, Container, NamedConfigElement, NotificationBroadcaster, NotificationEmitter, PropertiesAccess, SystemPropertiesAccess

public interface ConfigConfig
extends PropertiesAccess, SystemPropertiesAccess, NamedConfigElement, Container

Configuration for the <config> element.


Field Summary
static String J2EE_TYPE
          The j2eeType as returned by AMX.getJ2EEType().
 
Fields inherited from interface com.sun.appserv.management.config.PropertiesAccess
PROPERTY_PREFIX
 
Fields inherited from interface com.sun.appserv.management.config.SystemPropertiesAccess
SYSTEM_PROPERTY_PREFIX
 
Fields inherited from interface com.sun.appserv.management.config.AMXConfig
CONFIG_CREATED_NOTIFICATION_TYPE, CONFIG_OBJECT_NAME_KEY, CONFIG_REMOVED_NOTIFICATION_TYPE
 
Fields inherited from interface com.sun.appserv.management.base.AMX
FULL_TYPE_DELIM, GROUP_CONFIGURATION, GROUP_JSR77, GROUP_MONITORING, GROUP_OTHER, GROUP_UTILITY, J2EE_TYPE_KEY, JMX_DOMAIN, NAME_KEY, NO_NAME, NOTIFICATION_PREFIX, NULL_NAME
 
Fields inherited from interface com.sun.appserv.management.base.Container
ATTR_CONTAINEE_J2EE_TYPES
 
Method Summary
 ConnectorServiceConfig createConnectorServiceConfig()
          Create the ConnectorServiceConfig if it doesn't already exist.
 DiagnosticServiceConfig createDiagnosticServiceConfig()
          Create the DiagnosticServiceConfig.
 ThreadPoolConfig createThreadPoolConfig(String name, Map<String,String> optional)
          Create a new <thread-pool>
 AdminServiceConfig getAdminServiceConfig()
          Return the AdminServiceConfig.
 AvailabilityServiceConfig getAvailabilityServiceConfig()
          Return the AvailabilityServiceConfig.
 ConnectorServiceConfig getConnectorServiceConfig()
          Return the ConnectorServiceConfig.
 DiagnosticServiceConfig getDiagnosticServiceConfig()
          Return the DiagnosticServiceConfig.
 boolean getDynamicReconfigurationEnabled()
          When set to "true" then any changes to the system (e.g.
 EJBContainerConfig getEJBContainerConfig()
          Return the EJBContainerConfig.
 GroupManagementServiceConfig getGroupManagementServiceConfig()
          Return the Group Management Service configuration.
 HTTPServiceConfig getHTTPServiceConfig()
          Return the HTTPServiceConfig.
 IIOPServiceConfig getIIOPServiceConfig()
          Return the IIOPServiceConfig.
 JavaConfig getJavaConfig()
          Return the JavaConfig.
 JMSServiceConfig getJMSServiceConfig()
          Return the JMSServiceConfig.
 LogServiceConfig getLogServiceConfig()
          Return the LogServiceConfig.
 ManagementRulesConfig getManagementRulesConfig()
           
 MDBContainerConfig getMDBContainerConfig()
          Return the MDBContainerConfig.
 MonitoringServiceConfig getMonitoringServiceConfig()
          Return the MonitoringServiceConfig.
 SecurityServiceConfig getSecurityServiceConfig()
          Return the SecurityServiceConfig.
 Map<String,ThreadPoolConfig> getThreadPoolConfigMap()
          Calls Container.getContaineeMap( XTypes.THREAD_POOL_CONFIG ).
 TransactionServiceConfig getTransactionServiceConfig()
          Return the TransactionServiceConfig.
 WebContainerConfig getWebContainerConfig()
          Return the WebContainerConfig.
 void removeConnectorServiceConfig()
           
 void removeDiagnosticServiceConfig()
          Remove the DiagnosticServiceConfig.
 void removeThreadPoolConfig(String name)
          Removes a thread-pool element.
 void setDynamicReconfigurationEnabled(boolean enabled)
           
 
Methods inherited from interface com.sun.appserv.management.config.PropertiesAccess
createProperty, existsProperty, getProperties, getPropertyNames, getPropertyValue, removeProperty, setPropertyValue
 
Methods inherited from interface com.sun.appserv.management.config.SystemPropertiesAccess
createSystemProperty, existsSystemProperty, getSystemProperties, getSystemPropertyNames, getSystemPropertyValue, removeSystemProperty, setSystemPropertyValue
 
Methods inherited from interface com.sun.appserv.management.base.AMX
getContainer, getDomainRoot, getFullType, getGroup, getJ2EEType, getName, isDAS
 
Methods inherited from interface javax.management.NotificationEmitter
removeNotificationListener
 
Methods inherited from interface javax.management.NotificationBroadcaster
addNotificationListener, getNotificationInfo, removeNotificationListener
 
Methods inherited from interface com.sun.appserv.management.base.AMXMBeanLogging
getMBeanLoggerName, getMBeanLogLevel, setMBeanLogLevel
 
Methods inherited from interface com.sun.appserv.management.base.Container
getByNameContaineeSet, getContainee, getContainee, getContaineeJ2EETypes, getContaineeMap, getContaineeSet, getContaineeSet, getContaineeSet, getMultiContaineeMap
 

Field Detail

J2EE_TYPE

static final String J2EE_TYPE
The j2eeType as returned by AMX.getJ2EEType().

See Also:
Constant Field Values
Method Detail

getThreadPoolConfigMap

Map<String,ThreadPoolConfig> getThreadPoolConfigMap()
Calls Container.getContaineeMap( XTypes.THREAD_POOL_CONFIG ).

Returns:
Map of ThreadPoolConfig proxies, keyed by name.
See Also:
Container.getContaineeMap(java.lang.String)

getIIOPServiceConfig

IIOPServiceConfig getIIOPServiceConfig()
Return the IIOPServiceConfig.


getHTTPServiceConfig

HTTPServiceConfig getHTTPServiceConfig()
Return the HTTPServiceConfig.


getSecurityServiceConfig

SecurityServiceConfig getSecurityServiceConfig()
Return the SecurityServiceConfig.


getMonitoringServiceConfig

MonitoringServiceConfig getMonitoringServiceConfig()
Return the MonitoringServiceConfig.


getAdminServiceConfig

AdminServiceConfig getAdminServiceConfig()
Return the AdminServiceConfig.


createThreadPoolConfig

ThreadPoolConfig createThreadPoolConfig(String name,
                                        Map<String,String> optional)
Create a new <thread-pool>

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

removeThreadPoolConfig

void removeThreadPoolConfig(String name)
Removes a thread-pool element.

Parameters:
name - name of the <thread-pool> (thread-pool-id)

getWebContainerConfig

WebContainerConfig getWebContainerConfig()
Return the WebContainerConfig.


getEJBContainerConfig

EJBContainerConfig getEJBContainerConfig()
Return the EJBContainerConfig.


getMDBContainerConfig

MDBContainerConfig getMDBContainerConfig()
Return the MDBContainerConfig.


getJavaConfig

JavaConfig getJavaConfig()
Return the JavaConfig.


getJMSServiceConfig

JMSServiceConfig getJMSServiceConfig()
Return the JMSServiceConfig.


getLogServiceConfig

LogServiceConfig getLogServiceConfig()
Return the LogServiceConfig.


getTransactionServiceConfig

TransactionServiceConfig getTransactionServiceConfig()
Return the TransactionServiceConfig.


getAvailabilityServiceConfig

AvailabilityServiceConfig getAvailabilityServiceConfig()
Return the AvailabilityServiceConfig.


getConnectorServiceConfig

ConnectorServiceConfig getConnectorServiceConfig()
Return the ConnectorServiceConfig.


createConnectorServiceConfig

ConnectorServiceConfig createConnectorServiceConfig()
Create the ConnectorServiceConfig if it doesn't already exist.


removeConnectorServiceConfig

void removeConnectorServiceConfig()

getDiagnosticServiceConfig

DiagnosticServiceConfig getDiagnosticServiceConfig()
Return the DiagnosticServiceConfig. May be null.

Since:
AppServer 9.0

createDiagnosticServiceConfig

DiagnosticServiceConfig createDiagnosticServiceConfig()
Create the DiagnosticServiceConfig.

Since:
AppServer 9.0

removeDiagnosticServiceConfig

void removeDiagnosticServiceConfig()
Remove the DiagnosticServiceConfig.

Since:
AppServer 9.0

getGroupManagementServiceConfig

GroupManagementServiceConfig getGroupManagementServiceConfig()
Return the Group Management Service configuration.

Since:
AppServer 9.0

getDynamicReconfigurationEnabled

boolean getDynamicReconfigurationEnabled()
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

setDynamicReconfigurationEnabled

void setDynamicReconfigurationEnabled(boolean enabled)
Since:
AppServer 9.0
See Also:
getDynamicReconfigurationEnabled()

getManagementRulesConfig

ManagementRulesConfig getManagementRulesConfig()
Returns:
ManagementRulesConfig (may be null );

Java EE 5 SDK

Submit a bug or feature

Copyright 2006 Sun Microsystems, Inc. All rights reserved.