Java EE 5 SDK

com.sun.appserv.management.config
Interface JMSServiceConfig

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

public interface JMSServiceConfig
extends ConfigElement, Container, PropertiesAccess

Configuration for the <jms-service> element.


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.base.Container
ATTR_CONTAINEE_J2EE_TYPES
 
Fields inherited from interface com.sun.appserv.management.config.PropertiesAccess
PROPERTY_PREFIX
 
Method Summary
 JMSHostConfig createJMSHostConfig(String name, Map<String,String> optional)
          Creates a new jms-host element.
 String getAddressListBehavior()
           
 String getAddressListIterations()
           
 String getDefaultJMSHost()
           
 String getInitTimeoutInSeconds()
           
 Map<String,JMSHostConfig> getJMSHostConfigMap()
          Calls Container.getContaineeMap( XTypes.JMS_HOST_CONFIG ).
 String getMQScheme()
           
 String getMQService()
           
 String getReconnectAttempts()
           
 boolean getReconnectEnabled()
           
 String getReconnectIntervalInSeconds()
           
 String getStartArgs()
           
 String getType()
           
 void removeJMSHostConfig(String name)
          Removes a jms-host element.
 void setAddressListBehavior(String value)
           
 void setAddressListIterations(String value)
           
 void setDefaultJMSHost(String value)
           
 void setInitTimeoutInSeconds(String value)
           
 void setMQScheme(String value)
           
 void setMQService(String value)
           
 void setReconnectAttempts(String value)
           
 void setReconnectEnabled(boolean value)
           
 void setReconnectIntervalInSeconds(String value)
           
 void setStartArgs(String value)
           
 void setType(String value)
           
 
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
 
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

getAddressListBehavior

String getAddressListBehavior()

setAddressListBehavior

void setAddressListBehavior(String value)

getAddressListIterations

String getAddressListIterations()

setAddressListIterations

void setAddressListIterations(String value)

getDefaultJMSHost

String getDefaultJMSHost()

setDefaultJMSHost

void setDefaultJMSHost(String value)

getInitTimeoutInSeconds

String getInitTimeoutInSeconds()

setInitTimeoutInSeconds

void setInitTimeoutInSeconds(String value)

getMQScheme

String getMQScheme()

setMQScheme

void setMQScheme(String value)

getMQService

String getMQService()

setMQService

void setMQService(String value)

getReconnectAttempts

String getReconnectAttempts()

setReconnectAttempts

void setReconnectAttempts(String value)

getReconnectEnabled

boolean getReconnectEnabled()

setReconnectEnabled

void setReconnectEnabled(boolean value)

getReconnectIntervalInSeconds

String getReconnectIntervalInSeconds()

setReconnectIntervalInSeconds

void setReconnectIntervalInSeconds(String value)

getStartArgs

String getStartArgs()

setStartArgs

void setStartArgs(String value)

getType

String getType()

setType

void setType(String value)

getJMSHostConfigMap

Map<String,JMSHostConfig> getJMSHostConfigMap()
Calls Container.getContaineeMap( XTypes.JMS_HOST_CONFIG ).

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

createJMSHostConfig

JMSHostConfig createJMSHostConfig(String name,
                                  Map<String,String> optional)
Creates a new jms-host element.

Parameters:
name - The name (id) of the jms-host.
optional - A map of optional params keyed on the attribute keys defined here. (eg:- HOST_KEY).
Returns:
A proxy to the JMSHostConfig MBean.
See Also:
JMSHostConfigKeys

removeJMSHostConfig

void removeJMSHostConfig(String name)
Removes a jms-host element.

Parameters:
name - The name (id) of the jms-host.

Java EE 5 SDK

Submit a bug or feature

Copyright 2006 Sun Microsystems, Inc. All rights reserved.