Home
Cloud
Big Data
CI
Install
Samples
Java
Ubuntu
Maven
Archive
WAS
|
AdminControl
wsadmin>print AdminControl.help() The AdminControl object enables the manipulation of MBeans running in a WebSphere server process. The number and type of MBeans available to the scripting client depends on the server to which the client is connected.
completeObjectName wsadmin>print AdminControl.help('completeObjectName') Method: completeObjectName Arguments: object name, template Description: Returns a String version of an object name that matches the "template." For example, the template might be "type=Server,*" If there are several MBeans that match the template, the first match is returned. wsadmin>print AdminControl.completeObjectName('type=Server,*') WebSphere:name=server1,process=server1,platform=proxy,node=node1,j2eeType=J2EEServer,version=8.5.0.2,type=Server,mbeanIdentifier=cells/nhilaptopNode01Cell/nodes/node1/servers/server1/server.xml#Server_1183121908656,cell=nhilaptopNode01Cell,spec=1.0,processType=UnManagedProcess
getAttribute_jmx wsadmin>print AdminControl.help('getAttribute_jmx') Method: getAttribute_jmx Arguments: object name (type ObjectName), attribute (String) Description: Returns value of "attribute" for the MBean described by "object name."
getAttribute wsadmin>print AdminControl.help('getAttribute') Method: getAttribute Arguments: object name, attribute Description: Returns value of "attribute" for the MBean described by "object name."
getAttributes_jmx Given ObjectName and array of attribute names, returns AttributeList.
getAttributes Given String version of ObjectName and attribute names, returns String of name value pairs. Given String version of ObjectName, returns String of all name value pairs.
getCell Returns the cell name of the connected server
getConfigId Given String version of ObjectName, return a configuration ID for the corresponding configuration object, if any
getDefaultDomain Returns "WebSphere"
getDomainName Returns "WebSphere"
getHost Returns String representation of connected host
getMBeanCount Returns number of registered beans
getMBeanInfo_jmx Given ObjectName, returns MBeanInfo structure for MBean
getNode Returns the node name of the connected server
getObjectInstance Given String version of ObjectName, returns ObjectInstance object that match.
getPort Returns String representation of port in use
getType Returns String representation of connection type in use
help Shows help information
invoke_jmx Given ObjectName, name of method, array of parameters and signature, invokes method on MBean specified
invoke Invokes a method on the specified MBean
isRegistered_jmx Returns true if supplied ObjectName is registered
isRegistered Returns true if supplied String version of ObjectName is registered
makeObjectName Returns an ObjectName built with the given string
queryNames_jmx Given ObjectName and QueryExp, retrieves set of ObjectNames that match.
queryNames Given String version of ObjectName, retrieves String of ObjectNames that match
queryMBeans Given String version of ObjectName, returns a set of ObjectInstances object that match
reconnect Reconnects with server
setAttribute_jmx Given ObjectName and Attribute object, sets attribute for MBean specified
setAttribute Given String version of ObjectName, attribute name and attribute value, sets attribute for MBean specified
setAttributes_jmx Given ObjectName and AttributeList object, sets attributes for the MBean specified
setAttributes Given String version of ObjectName, attribute name and value pairs, sets attributes for the MBean specified
startServer Given the name of a server, starts that server
stopServer Given the name of a server, stops that server
testConnection Tests the connection to a DataSource object
trace Sets the wsadmin trace specification
© 2010-2022
mti
tek