| Package | Description |
|---|---|
| org.glassfish.admin.amx.base | |
| org.glassfish.admin.amx.config |
Generic AMX config MBean interfaces.
|
| org.glassfish.admin.amx.logging |
| Modifier and Type | Method and Description |
|---|---|
String |
RuntimeRoot.executeREST(String command)
Execute a REST command.
|
String |
RuntimeRoot.getContextRoot(String applicationName,
String moduleName)
Return the context root of a specified module.
|
String |
RuntimeRoot.getContextRoot(String applicationName,
String moduleName)
Return the context root of a specified module.
|
List<Map<String,String>> |
RuntimeRoot.getDeploymentConfigurations(String applicationName)
Return a list of deployment descriptor maps for the specified
application.
|
AMXProxy |
Query.getGlobalSingleton(String type) |
String |
RuntimeRoot.getJVMReport(String which)
Which: all | summary | memory| class | thread log
|
Map<String,String> |
RuntimeRoot.getSubComponentsOfModule(String applicationName,
String moduleName)
Return the subcomponents (ejb/web) of a specified module.
|
Map<String,String> |
RuntimeRoot.getSubComponentsOfModule(String applicationName,
String moduleName)
Return the subcomponents (ejb/web) of a specified module.
|
String |
Tools.info(String searchString)
emit information about MBeans, loosey-goosey seach string eg type alone, pattern, etc
|
String |
Tools.infoPath(String path)
emit information about all MBeans of the specified type, or path
|
String |
Tools.infoPP(String parentPath,
boolean recursive)
emit information about all MBeans having the specified parent path (PP), recursively or not
|
String |
Tools.infoPP(String parentPath,
boolean recursive)
emit information about all MBeans having the specified parent path (PP), recursively or not
|
String |
Tools.infoType(String type)
emit information about all MBeans of the specified type, or path
|
String |
Tools.java(ObjectName objectName)
Get a compilable java interface for the specified MBean
|
AMXProxy[] |
Query.queryDescendants(ObjectName parentObjectName) |
Set<AMXProxy> |
Query.queryName(String name)
Return all
AMXProxy having the specified name. |
Set<AMXProxy> |
Query.queryPattern(ObjectName pattern)
Return all AMX whose ObjectName matches the supplied pattern, as defined by the JMX specification.
|
Set<AMXProxy> |
Query.queryProps(String props)
Return all AMX MBeans matching the specfied ObjectName properties
|
Set<AMXProxy> |
Query.queryType(String type) |
Set<AMXProxy> |
Query.queryTypeName(String type,
String name)
Return all AMX whose type and name matches.
|
Set<AMXProxy> |
Query.queryTypeName(String type,
String name)
Return all AMX whose type and name matches.
|
Set<AMXProxy> |
Query.queryTypes(Set<String> type) |
Set<AMXProxy> |
Query.queryWildAll(String[] wildKeys,
String[] wildValues)
Return all AMX MBeans whose whose ObjectName matches all property
expressions.
|
Set<AMXProxy> |
Query.queryWildAll(String[] wildKeys,
String[] wildValues)
Return all AMX MBeans whose whose ObjectName matches all property
expressions.
|
String |
Tools.validate(ObjectName objectNameOrPattern)
Validate a single MBean or MBeans specified by a pattern.
|
String |
Tools.validate(ObjectName[] mbeans)
Validate MBeans: specific ObjectNames and/or patterns.
|
| Modifier and Type | Method and Description |
|---|---|
AMXConfigProxy |
AMXConfigProxy.createChild(String childType,
Map<String,Object> params)
Deprecated.
Generic creation of an
AMXConfigProxy based on the desired XML element type, which must
be legitimate for the containing element. |
AMXConfigProxy |
AMXConfigProxy.createChild(String childType,
Map<String,Object> params)
Deprecated.
Generic creation of an
AMXConfigProxy based on the desired XML element type, which must
be legitimate for the containing element. |
AMXConfigProxy[] |
AMXConfigProxy.createChildren(Map<String,Map<String,Object>[]> childrenMaps,
Map<String,Object> attrs)
Deprecated.
Create one or more children of any type(s).
|
AMXConfigProxy[] |
AMXConfigProxy.createChildren(Map<String,Map<String,Object>[]> childrenMaps,
Map<String,Object> attrs)
Deprecated.
Create one or more children of any type(s).
|
Map<String,String> |
AMXConfigProxy.getDefaultValues(boolean useAMXAttributeName)
Deprecated.
Return a Map of default values for this MBean.
|
Map<String,String> |
AMXConfigProxy.getDefaultValues(String type,
boolean useAMXAttributeName)
Deprecated.
Return a Map of default values for the specified child type.
|
Map<String,String> |
AMXConfigProxy.getDefaultValues(String type,
boolean useAMXAttributeName)
Deprecated.
Return a Map of default values for the specified child type.
|
ObjectName |
AMXConfigProxy.removeChild(String childType)
Deprecated.
Generically remove a config by type (child must be a singleton)
|
ObjectName |
AMXConfigProxy.removeChild(String childType,
String name)
Deprecated.
Remove a config by type and name.
|
ObjectName |
AMXConfigProxy.removeChild(String childType,
String name)
Deprecated.
Remove a config by type and name.
|
String |
AttributeResolver.resolveAttribute(String attributeName)
Deprecated.
calls getAttribute(), then returns the resolved value or null
|
AttributeList |
AttributeResolver.resolveAttributes(String[] attributeNames)
Deprecated.
Calls getAttributes(), then returns all resolved values.
|
String |
AttributeResolver.resolveAttributeValue(String value)
Deprecated.
Resolve an attribute value to a literal.
|
Boolean |
AttributeResolver.resolveBoolean(String attributeName)
Deprecated.
Get the Attribute and resolve it to a Boolean or null
|
Long |
AttributeResolver.resolveLong(String attributeName)
Deprecated.
Get the Attribute and resolve it to a Long or null
|
AttributeList |
AMXConfigProxy.setAttributesTransactionally(AttributeList attrs)
Deprecated.
Direct access to the MBeanServer, calls conn.setAttributes(objectName, attrs).
|
| Modifier and Type | Method and Description |
|---|---|
String[] |
LogQuery.getDiagnosticCauses(String messageID,
String moduleName) |
String[] |
LogQuery.getDiagnosticCauses(String messageID,
String moduleName) |
String[] |
LogQuery.getDiagnosticChecks(String messageID,
String moduleName) |
String[] |
LogQuery.getDiagnosticChecks(String messageID,
String moduleName) |
String |
LogQuery.getDiagnosticURI(String messageID) |
Map<String,Integer> |
LogAnalyzer.getErrorDistribution(long timestamp,
String level)
Get the number of log entries for a particular timestamp of a particular
Level
for all modules. |
Map<String,Integer> |
LogAnalyzer.getErrorDistribution(long timestamp,
String level)
Get the number of log entries for a particular timestamp of a particular
Level
for all modules. |
String |
LogFileAccess.getLogFile(String key,
String fileName)
The entire specified log file is read, converted into a String, and returned.
|
String |
LogFileAccess.getLogFile(String key,
String fileName)
The entire specified log file is read, converted into a String, and returned.
|
String[] |
LogFileAccess.getLogFileNames(String key)
The names returned are not full paths but the simple file
names of the log files.
|
String[] |
LogAnalyzer.getLoggerNamesUnder(String loggerName) |
int |
LogRecordEmitter.getLogLevelListenerCount(Level logLevel)
Get the number of listeners for the specified log level.
|
String |
Logging.getModuleLogLevel(String moduleName)
Gets the log level of the Logger for the specified module, which may or may not
be the same as that found in the configuration.
|
List<Serializable[]> |
LogQuery.queryServerLog(String logFilename,
long startIndex,
boolean searchForward,
int maxRecords,
Long fromTime,
Long toTime,
String logLevel,
Set<String> modules,
List<Attribute> nameValuePairs,
String anySearch)
Query a server log file for records beginning at index
startIndex. |
List<Serializable[]> |
LogQuery.queryServerLog(String logFilename,
long startIndex,
boolean searchForward,
int maxRecords,
Long fromTime,
Long toTime,
String logLevel,
Set<String> modules,
List<Attribute> nameValuePairs,
String anySearch)
Query a server log file for records beginning at index
startIndex. |
List<Serializable[]> |
LogQuery.queryServerLog(String logFilename,
long startIndex,
boolean searchForward,
int maxRecords,
Long fromTime,
Long toTime,
String logLevel,
Set<String> modules,
List<Attribute> nameValuePairs,
String anySearch)
Query a server log file for records beginning at index
startIndex. |
List<Serializable[]> |
LogQuery.queryServerLog(String logFilename,
long startIndex,
boolean searchForward,
int maxRecords,
Long fromTime,
Long toTime,
String logLevel,
Set<String> modules,
List<Attribute> nameValuePairs,
String anySearch)
Query a server log file for records beginning at index
startIndex. |
List<Serializable[]> |
LogQuery.queryServerLog(String logFilename,
long startIndex,
boolean searchForward,
int maxRecords,
Long fromTime,
Long toTime,
String logLevel,
Set<String> modules,
List<Attribute> nameValuePairs,
String anySearch)
Query a server log file for records beginning at index
startIndex. |
List<Serializable[]> |
LogQuery.queryServerLog(String logFilename,
long startIndex,
boolean searchForward,
int maxRecords,
Long fromTime,
Long toTime,
String logLevel,
Set<String> modules,
List<Attribute> nameValuePairs,
String anySearch)
Query a server log file for records beginning at index
startIndex. |
List<Serializable[]> |
LogQuery.queryServerLog(String logFilename,
long startIndex,
boolean searchForward,
int maxRecords,
Long fromTime,
Long toTime,
String logLevel,
Set<String> modules,
List<Attribute> nameValuePairs,
String anySearch)
Query a server log file for records beginning at index
startIndex. |
List<Serializable[]> |
LogQuery.queryServerLog(String logFilename,
long startIndex,
boolean searchForward,
int maxRecords,
Long fromTime,
Long toTime,
String logLevel,
Set<String> modules,
List<Attribute> nameValuePairs,
String anySearch)
Query a server log file for records beginning at index
startIndex. |
List<Serializable[]> |
LogQuery.queryServerLog(String logFilename,
long startIndex,
boolean searchForward,
int maxRecords,
Long fromTime,
Long toTime,
String logLevel,
Set<String> modules,
List<Attribute> nameValuePairs,
String anySearch)
Query a server log file for records beginning at index
startIndex. |
List<Serializable[]> |
LogQuery.queryServerLog(String logFilename,
long startIndex,
boolean searchForward,
int maxRecords,
Long fromTime,
Long toTime,
String logLevel,
Set<String> modules,
List<Attribute> nameValuePairs,
String anySearch)
Query a server log file for records beginning at index
startIndex. |
void |
LogFileAccess.rotateLogFile(String key)
Rotate the log file of the specified type.
|
void |
LogAnalyzer.setErrorStatisticsIntervalMinutes(long minutes)
Set the duration of an interval.
|
void |
LogAnalyzer.setKeepErrorStatisticsForIntervals(int numIntervals)
Set the number of intervals error statistics should be maintained.
|
void |
Logging.setModuleLogLevel(String moduleName,
String level)
Sets the log level of the Logger for the specified module.
|
void |
Logging.setModuleLogLevel(String moduleName,
String level)
Sets the log level of the Logger for the specified module.
|
void |
Logging.testEmitLogMessage(String level,
String message)
This method may be used to verify that your Logging listener is working
correctly.
|
void |
Logging.testEmitLogMessage(String level,
String message)
This method may be used to verify that your Logging listener is working
correctly.
|
void |
Logging.updateLoggingAttributes(Map<String,String> properties)
Sets the value of one or more of the logging configuration properties .
|
void |
Logging.updateLoggingProperties(Map<String,String> properties)
Sets the log level of the Logger for the specified module.
|
Copyright © 2017. All rights reserved.