ObjectName, Attribute, and AttributeList classes using wsadmin scripting

WebSphere® Application Server scripting commands use the underlying Java™ Management Extensions (JMX) classes, ObjectName, Attribute, and AttributeList, to manipulate object names, attributes and attribute lists respectively.

The ObjectName class uniquely identifies running objects. The ObjectName class consists of the following elements:

When ObjectName classes are represented by strings, they have the following pattern:

[domainName]:property=value[,property=value]*

For example, you can specify WebSphere:name="My Server",type=ApplicationServer,node=n1,* to specify an application server named My Server on node n1. (The asterisk (*) is a wildcard character, used so that you do not have to specify the entire set of key properties.) The AdminControl commands that take strings as parameters expect strings that look like this example when specifying running objects (MBeans). You can obtain the object name for a running object with the getObjectName command.

Attributes of these objects consist of a name and a value. You can extract the name and value with the getName and the getValue methods that are available in the javax.management.Attribute class. You can also extract a list of attributes.


주제 유형을 표시하는 아이콘 개념 주제



시간소인 아이콘 마지막 업데이트 날짜: July 9, 2016 6:07
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=cord&product=was-nd-mp&topic=cxml_signature
파일 이름:cxml_signature.html