Java EE 5 SDK

com.sun.appserv.management.base
Interface DottedNames

All Superinterfaces:
AMX, AMXMBeanLogging, NotificationBroadcaster, NotificationEmitter
All Known Subinterfaces:
ConfigDottedNames, MonitoringDottedNames

public interface DottedNames
extends AMX

Programmatic access to dotted-names corresponding to asadmin CLI functionality.

Note that the set of dotted names is periodically refreshed; to force an update use refresh().

See Also:
DottedNames, AllDottedNames, ConfigDottedNames, MonitoringDottedNames

Field Summary
 
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
 
Method Summary
 Object dottedNameGet(String name)
          Return a value for a dotted-name.
 Object[] dottedNameGet(String[] names)
          Return an array of values corresponding to each dotted-name.
 Object[] dottedNameList(String[] names)
          List all valid prefixes for dotted names
 Object[] dottedNameSet(String[] nameValuePairs)
          Set values for dotted names; each entry must be of the form: dotted-name=value
 void refresh()
          Force a refresh of the list of dotted names.
 
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
 

Method Detail

dottedNameGet

Object[] dottedNameGet(String[] names)
Return an array of values corresponding to each dotted-name. Each slot in the array will contain either an Attribute or an Exception.


dottedNameGet

Object dottedNameGet(String name)
Return a value for a dotted-name. If a name does not exist, then null is returned.

Parameters:
name -

dottedNameList

Object[] dottedNameList(String[] names)
List all valid prefixes for dotted names

Parameters:
names -

dottedNameSet

Object[] dottedNameSet(String[] nameValuePairs)
Set values for dotted names; each entry must be of the form:
            dotted-name=value
        

Parameters:
nameValuePairs -

refresh

void refresh()
Force a refresh of the list of dotted names.


Java EE 5 SDK

Submit a bug or feature

Copyright 2006 Sun Microsystems, Inc. All rights reserved.