Java EE 5 SDK

com.sun.appserv.management.config
Interface WebServiceEndpointConfig

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

public interface WebServiceEndpointConfig
extends NamedConfigElement, Container

Config AMX MBean for Web Service Endpoint's config

Since:
AppServer 9.0

Field Summary
static String J2EE_TYPE
           
 
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
 RegistryLocationConfig createRegistryLocationConfig(String jndiName)
           
 TransformationRuleConfig createTransformationRuleConfig(String name, String ruleFileLocation, boolean enabled, String applyTo, Map<String,String> reserved)
          Creates a transformation rule for this web service.
 boolean getJBIEnabled()
          visibility of this endoint as a service in JBI
 String getMaxHistorySize()
          Gets the web service' max history size.
 String getMonitoringLevel()
          Get the web service' monitoring level can be OFF, LOW or HIGH.
 String getName()
          Get the web service name.
 Map<String,RegistryLocationConfig> getRegistryLocationConfigMap()
           
 List<TransformationRuleConfig> getTransformationRuleConfigList()
          Get the transformation rules (in the same order as in domain.xml) defined for this end point.
 Map<String,TransformationRuleConfig> getTransformationRuleConfigMap()
          Get the transformation rules (not in any specific order) defined for this end point.
 void removeRegistryLocationConfig(String jndiName)
           
 void removeTransformationRuleConfig(String name)
          Removes the specified transformation rule for this end point.
 void setJBIEnabled(boolean enabled)
          visibility of this endoint as a service in JBI
 void setMaxHistorySize(String maxSize)
          Sets the web service' max history size.
 void setMonitoringLevel(String level)
          Sets the web service' monitoring level can be OFF, LOW or HIGH.
 
Methods inherited from interface com.sun.appserv.management.base.AMX
getContainer, getDomainRoot, getFullType, getGroup, getJ2EEType, 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
See Also:
Constant Field Values
Method Detail

getName

String getName()
Get the web service name.

Specified by:
getName in interface AMX
Returns:
the "name" property value as found inside the ObjectName
See Also:
AMX.NAME_KEY

getJBIEnabled

boolean getJBIEnabled()
visibility of this endoint as a service in JBI


setJBIEnabled

void setJBIEnabled(boolean enabled)
visibility of this endoint as a service in JBI


getMonitoringLevel

String getMonitoringLevel()
Get the web service' monitoring level can be OFF, LOW or HIGH.

See Also:
ModuleMonitoringLevelValues

setMonitoringLevel

void setMonitoringLevel(String level)
Sets the web service' monitoring level can be OFF, LOW or HIGH.

See Also:
ModuleMonitoringLevelValues

getMaxHistorySize

String getMaxHistorySize()
Gets the web service' max history size. Number of statistics stored in memory.


setMaxHistorySize

void setMaxHistorySize(String maxSize)
Sets the web service' max history size. Number of statistics stored in memory.

Parameters:
maxSize - max size of stored statistics in memory

getRegistryLocationConfigMap

Map<String,RegistryLocationConfig> getRegistryLocationConfigMap()
Since:
Appserver 9.0

createRegistryLocationConfig

RegistryLocationConfig createRegistryLocationConfig(String jndiName)
Since:
Appserver 9.0

removeRegistryLocationConfig

void removeRegistryLocationConfig(String jndiName)
Since:
Appserver 9.0

getTransformationRuleConfigMap

Map<String,TransformationRuleConfig> getTransformationRuleConfigMap()
Get the transformation rules (not in any specific order) defined for this end point.

Returns:
Map of transformation rules added to web service.

getTransformationRuleConfigList

List<TransformationRuleConfig> getTransformationRuleConfigList()
Get the transformation rules (in the same order as in domain.xml) defined for this end point.

Returns:
Map of transformation rules added to web service.

removeTransformationRuleConfig

void removeTransformationRuleConfig(String name)
Removes the specified transformation rule for this end point.

Parameters:
name - Name of the transformation rule

createTransformationRuleConfig

TransformationRuleConfig createTransformationRuleConfig(String name,
                                                        String ruleFileLocation,
                                                        boolean enabled,
                                                        String applyTo,
                                                        Map<String,String> reserved)
Creates a transformation rule for this web service.

Parameters:
name - this transformation rule's name
ruleFileLocation - File path location of this transformation rule
applyTo - Operation(s) for which this transformation rule is applied. Possible values are "request", "response" or "both"
enabled - If true transformation rule is applied
Returns:
TransformationRule new transformation rule with the specified parameters

Java EE 5 SDK

Submit a bug or feature

Copyright 2006 Sun Microsystems, Inc. All rights reserved.