Java EE 5 SDK

com.sun.appserv.management.config
Interface JMSAvailabilityConfig

All Superinterfaces:
AMX, AMXConfig, AMXMBeanLogging, ConfigElement, NotificationBroadcaster, NotificationEmitter, PropertiesAccess

public interface JMSAvailabilityConfig
extends ConfigElement, PropertiesAccess

Represents the <jms-availability> element.

Since:
AppServer 9.0
See Also:
AvailabilityServiceConfig

Field Summary
static String J2EE_TYPE
          The j2eeType as returned by AMX.getJ2EEType().
 
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.config.PropertiesAccess
PROPERTY_PREFIX
 
Method Summary
 boolean getAvailabilityEnabled()
          This boolean flag controls whether the MQ cluster associated with the application server cluster is HA enabled or not.
 String getMQStorePoolName()
          This is the jndi-name for the JDBC Connection Pool used by the MQ broker cluster for use in saving persistent JMS messages and other broker cluster configuration information.
 void setAvailabilityEnabled(boolean value)
           
 void setMQStorePoolName(String name)
           
 
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.PropertiesAccess
createProperty, existsProperty, getProperties, getPropertyNames, getPropertyValue, removeProperty, setPropertyValue
 

Field Detail

J2EE_TYPE

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

See Also:
Constant Field Values
Method Detail

getAvailabilityEnabled

boolean getAvailabilityEnabled()
This boolean flag controls whether the MQ cluster associated with the application server cluster is HA enabled or not. If this attribute is "false", then the MQ cluster pointed to by the jms-service element is considered non-HA. JMS Messages are not persisted to a highly available store. If this attribute is "true" the MQ cluster pointed to by the jms-service element is a HA cluster and the MQ cluster uses the database pointed to by mq-store-pool-name to save persistent JMS messages and other broker cluster configuration information. Individual applications will not be able to control or override MQ cluster availability levels. They inherit the availability attribute defined in this element. If this attribute is missing, availability is turned off by default [i.e. the MQ cluster associated with the AS cluster would behave as a non-HA cluster]


setAvailabilityEnabled

void setAvailabilityEnabled(boolean value)
See Also:
getAvailabilityEnabled()

getMQStorePoolName

String getMQStorePoolName()
This is the jndi-name for the JDBC Connection Pool used by the MQ broker cluster for use in saving persistent JMS messages and other broker cluster configuration information. It will default to value of store-pool-name under availability-service (ultimately "jdbc/hastore").


setMQStorePoolName

void setMQStorePoolName(String name)
See Also:
getMQStorePoolName()

Java EE 5 SDK

Submit a bug or feature

Copyright 2006 Sun Microsystems, Inc. All rights reserved.