Java EE 5 SDK

com.sun.appserv.management.config
Interface ServerConfig

All Superinterfaces:
AMX, AMXConfig, AMXMBeanLogging, ConfigElement, Container, NamedConfigElement, NotificationBroadcaster, NotificationEmitter, PropertiesAccess, SystemPropertiesAccess, TemplateResolver
All Known Subinterfaces:
ClusteredServerConfig, StandaloneServerConfig

public interface ServerConfig
extends PropertiesAccess, SystemPropertiesAccess, NamedConfigElement, TemplateResolver, Container

Base interface for server configuration for the <server> element. Does not provide ability to access resource or application-ref; see StandaloneServerConfig and ClusteredServerConfig.


Field Summary
 
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
 Map<String,DeployedItemRefConfig> getDeployedItemRefConfigMap()
          Calls Container.getContaineeMap( XTypes.DEPLOYED_ITEM_REF_CONFIG ).
 String getLBWeight()
          EE only Return the load balancer weight for this server.
 String getReferencedConfigName()
          Get the name of the config element referenced by this server.
 String getReferencedNodeAgentName()
          Get the name of the node-agent element referenced by this server.
 Map<String,ResourceRefConfig> getResourceRefConfigMap()
          Calls Container.getContaineeMap( XTypes.RESOURCE_REF_CONFIG ).
 void setLBWeight(String weight)
          EE only Set the load balancer weight for this server to the specified value.
 
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.config.TemplateResolver
isTemplateString, resolveTemplateString
 
Methods inherited from interface com.sun.appserv.management.base.Container
getByNameContaineeSet, getContainee, getContainee, getContaineeJ2EETypes, getContaineeMap, getContaineeSet, getContaineeSet, getContaineeSet, getMultiContaineeMap
 

Method Detail

getReferencedConfigName

String getReferencedConfigName()
Get the name of the config element referenced by this server.


getReferencedNodeAgentName

String getReferencedNodeAgentName()
Get the name of the node-agent element referenced by this server.


getDeployedItemRefConfigMap

Map<String,DeployedItemRefConfig> getDeployedItemRefConfigMap()
Calls Container.getContaineeMap( XTypes.DEPLOYED_ITEM_REF_CONFIG ).

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

getResourceRefConfigMap

Map<String,ResourceRefConfig> getResourceRefConfigMap()
Calls Container.getContaineeMap( XTypes.RESOURCE_REF_CONFIG ).

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

getLBWeight

String getLBWeight()
EE only Return the load balancer weight for this server. This is used by both IIOP and HTTP load balancer. Default value is 1.

Since:
AppServer 9.0

setLBWeight

void setLBWeight(String weight)
EE only Set the load balancer weight for this server to the specified value.

Since:
AppServer 9.0

Java EE 5 SDK

Submit a bug or feature

Copyright 2006 Sun Microsystems, Inc. All rights reserved.